Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test19",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.001355/0.001355, allocations: 101.1 kB / 16.26 MB, free: 5.93 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.001065/0.001065, allocations: 190.9 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.228/0.228, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002659/0.002659, allocations: 65.38 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1442, allocations: 57.8 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test19): time 0.003818/0.148, allocations: 1.834 MB / 442.5 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.1492, allocations: 0.6279 MB / 443.1 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.087e-05/0.1493, allocations: 4 kB / 443.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004195/0.1497, allocations: 251.2 kB / 443.3 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.1501, allocations: 203.3 kB / 443.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007477/0.1508, allocations: 428.4 kB / 444 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.1511, allocations: 247.4 kB / 444.2 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.1512, allocations: 52.3 kB / 444.2 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.204e-05/0.1513, allocations: 115.6 kB / 444.4 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.1515, allocations: 187.4 kB / 444.5 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.1515, allocations: 8 kB / 444.6 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.492e-05/0.1516, allocations: 47.97 kB / 444.6 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.299e-05/0.1517, allocations: 83.62 kB / 444.7 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.942e-05/0.1518, allocations: 95.17 kB / 444.8 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.152, allocations: 271 kB / 445 MB, free: 2.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.152, allocations: 0 / 445 MB, free: 2.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.152, allocations: 4 kB / 445 MB, free: 2.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1521, allocations: 0 / 445 MB, free: 2.371 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000564/0.1526, allocations: 0.6106 MB / 445.7 MB, free: 1.711 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1527, allocations: 19.89 kB / 445.7 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.882e-05/0.1527, allocations: 34.75 kB / 445.7 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.1528, allocations: 36.47 kB / 445.7 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.153, allocations: 314.2 kB / 446 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.153, allocations: 4.375 kB / 446.1 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.1531, allocations: 8.359 kB / 446.1 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.1532, allocations: 85.55 kB / 446.1 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1532, allocations: 0 / 446.1 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1533, allocations: 0 / 446.1 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1533, allocations: 4 kB / 446.1 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.1534, allocations: 51.97 kB / 446.2 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.1539, allocations: 444.4 kB / 446.6 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.767e-05/0.154, allocations: 58.5 kB / 446.7 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.41e-05/0.154, allocations: 32.97 kB / 446.7 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.1541, allocations: 3.984 kB / 446.7 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.295e-05/0.1541, allocations: 38.56 kB / 446.8 MB, free: 488 kB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.1541, allocations: 0 / 446.8 MB, free: 488 kB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002719/0.1544, allocations: 125.2 kB / 446.9 MB, free: 356 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.1544, allocations: 55.34 kB / 446.9 MB, free: 288 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004918/0.1549, allocations: 0.5448 MB / 447.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.1549, allocations: 29.7 kB / 447.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.1551, allocations: 196.1 kB / 447.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.1551, allocations: 27.59 kB / 447.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.1552, allocations: 21.7 kB / 447.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1553, allocations: 346.8 kB / 448.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.758e-05/0.1554, allocations: 15.98 kB / 448.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.123e-05/0.1554, allocations: 23.92 kB / 448.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.1555, allocations: 53.22 kB / 448.2 MB, free: 15 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1556, allocations: 0 / 448.2 MB, free: 15 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002004/0.1558, allocations: 113.2 kB / 448.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1558, allocations: 4 kB / 448.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1558, allocations: 0 / 448.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1558, allocations: 3.938 kB / 448.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.777e-05/0.1559, allocations: 19.92 kB / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1559, allocations: 0 / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.96e-05/0.156, allocations: 4 kB / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.156, allocations: 4 kB / 448.3 MB, free: 14.85 MB / 334.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 (6): * Single equations (assignments): 6 * 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.0001552/0.1562, allocations: 173.7 kB / 448.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.625e-05/0.1562, allocations: 35.53 kB / 448.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/0.1565, allocations: 120.9 kB / 448.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.912e-06/0.1565, allocations: 7.938 kB / 448.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1565, allocations: 3.938 kB / 448.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1565, allocations: 0 / 448.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.1568, allocations: 281.5 kB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1568, allocations: 7.938 kB / 448.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-05/0.1569, allocations: 11.98 kB / 449 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1569, allocations: 0 / 449 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.1569, allocations: 4 kB / 449 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1569, allocations: 3.938 kB / 449 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1569, allocations: 0 / 449 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.1571, allocations: 203.1 kB / 449.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-05/0.1572, allocations: 124.6 kB / 449.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.1573, allocations: 0 / 449.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.704e-05/0.1573, allocations: 8.125 kB / 449.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.1574, allocations: 4 kB / 449.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.1574, allocations: 4 kB / 449.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004016/0.1578, allocations: 415.1 kB / 449.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1578, allocations: 3.938 kB / 449.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.1581, allocations: 35.91 kB / 449.7 MB, free: 13.34 MB / 334.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 (6): * Single equations (assignments): 6 * 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.001713/0.1598, allocations: 1.23 MB / 451 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000177/0.16, allocations: 51.92 kB / 451 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.16, allocations: 0 / 451 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.501e-05/0.1601, allocations: 31.98 kB / 451.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005299/0.1606, allocations: 76.22 kB / 451.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.1637, allocations: 2.732 MB / 453.9 MB, free: 9.195 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.164, allocations: 0.7941 MB / 454.7 MB, free: 8.375 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.1642, allocations: 37.48 kB / 454.7 MB, free: 8.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.1643, allocations: 107.4 kB / 454.8 MB, free: 8.234 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1643, allocations: 0 / 454.8 MB, free: 8.234 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02543/0.1897, allocations: 6.306 MB / 461.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.526/7.716, allocations: 7.922 kB / 461.1 MB, free: 1.875 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches