Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001067, allocations: 104.1 kB / 17.64 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 192 kB / 18.55 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2374/0.2374, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 64.7 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1366, allocations: 60.82 MB / 469.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003226/0.1399, allocations: 1.583 MB / 470.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007864/0.1407, allocations: 431.1 kB / 471.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.492e-05/0.1408, allocations: 0 / 471.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005669/0.1413, allocations: 451.1 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003608/0.1417, allocations: 251.5 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003968/0.1421, allocations: 166.8 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.1424, allocations: 151.8 kB / 472.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1425, allocations: 19.92 kB / 472.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.1426, allocations: 107.7 kB / 472.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.1428, allocations: 211.6 kB / 472.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.1428, allocations: 0 / 472.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.353e-05/0.1429, allocations: 27.98 kB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.143, allocations: 83.69 kB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.529e-05/0.1431, allocations: 95 kB / 472.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.1434, allocations: 243.3 kB / 473.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1434, allocations: 0 / 473.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1434, allocations: 0 / 473.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.1434, allocations: 0 / 473.1 MB, free: 10.51 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007337/0.1442, allocations: 0.6413 MB / 473.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.1442, allocations: 12.03 kB / 473.8 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.691e-05/0.1443, allocations: 34.75 kB / 473.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.661e-05/0.1443, allocations: 36.47 kB / 473.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.1446, allocations: 300.1 kB / 474.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.732e-06/0.1446, allocations: 384 / 474.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.1446, allocations: 4.375 kB / 474.1 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.1448, allocations: 49.61 kB / 474.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1448, allocations: 4 kB / 474.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.1448, allocations: 4 kB / 474.2 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1448, allocations: 4 kB / 474.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.1e-05/0.1449, allocations: 27.91 kB / 474.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.1454, allocations: 392.7 kB / 474.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.778e-05/0.1455, allocations: 30.58 kB / 474.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.915e-05/0.1456, allocations: 20.91 kB / 474.7 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.1456, allocations: 0 / 474.7 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.1456, allocations: 30.56 kB / 474.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 2.395e-06/0.1456, allocations: 0 / 474.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002689/0.1459, allocations: 105.1 kB / 474.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.146, allocations: 51.41 kB / 474.9 MB, free: 8.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008285/0.1468, allocations: 0.8653 MB / 475.7 MB, free: 7.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.1468, allocations: 29.83 kB / 475.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.147, allocations: 224 kB / 476 MB, free: 7.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.147, allocations: 11.94 kB / 476 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.1471, allocations: 9.719 kB / 476 MB, free: 7.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1472, allocations: 362.7 kB / 476.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.499e-05/0.1473, allocations: 11.98 kB / 476.4 MB, free: 7.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.507e-05/0.1473, allocations: 8 kB / 476.4 MB, free: 7.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.997e-05/0.1474, allocations: 36.83 kB / 476.4 MB, free: 7.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1474, allocations: 0 / 476.4 MB, free: 7.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000162/0.1476, allocations: 93.12 kB / 476.5 MB, free: 6.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.1476, allocations: 11.94 kB / 476.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1476, allocations: 0 / 476.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1477, allocations: 0 / 476.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.462e-05/0.1477, allocations: 7.984 kB / 476.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.1478, allocations: 4 kB / 476.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.597e-05/0.1478, allocations: 8.031 kB / 476.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1478, allocations: 0 / 476.5 MB, free: 6.875 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001848/0.148, allocations: 213.7 kB / 476.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/0.1481, allocations: 39.44 kB / 476.8 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/0.1483, allocations: 120.5 kB / 476.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1483, allocations: 0 / 476.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1483, allocations: 0 / 476.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1483, allocations: 32 / 476.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.1485, allocations: 293.5 kB / 477.2 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1486, allocations: 0 / 477.2 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.1486, allocations: 7.984 kB / 477.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1486, allocations: 0 / 477.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.1486, allocations: 0 / 477.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1486, allocations: 0 / 477.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1486, allocations: 0 / 477.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.1488, allocations: 194.9 kB / 477.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.651e-05/0.1489, allocations: 112.6 kB / 477.5 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.1489, allocations: 0 / 477.5 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.268e-05/0.149, allocations: 4 kB / 477.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.1491, allocations: 3.984 kB / 477.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.1491, allocations: 0 / 477.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000628/0.1497, allocations: 0.6511 MB / 478.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1497, allocations: 0 / 478.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00024/0.1499, allocations: 23.94 kB / 478.2 MB, free: 5.129 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001151/0.1511, allocations: 0.9696 MB / 479.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.1513, allocations: 31.86 kB / 479.2 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1513, allocations: 0 / 479.2 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.447e-05/0.1513, allocations: 11.98 kB / 479.2 MB, free: 4.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.1517, allocations: 22.3 kB / 479.2 MB, free: 4.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/0.1548, allocations: 3.189 MB / 482.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.1552, allocations: 0.8181 MB / 483.2 MB, free: 76 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.944e-05/0.1552, allocations: 11.98 kB / 483.2 MB, free: 64 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.1554, allocations: 111.5 kB / 483.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1554, allocations: 0 / 483.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.1845, allocations: 5.615 MB / 488.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.488/7.672, allocations: 10.97 kB / 488.9 MB, free: 10.41 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches