Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",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.001097/0.001097, 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.001061/0.001061, 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.334/1.334, allocations: 222.9 MB / 242.3 MB, free: 15.19 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.2361/0.2361, allocations: 44.18 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 64.16 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1554, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.004163/0.1596, allocations: 1.635 MB / 471 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1609, allocations: 427.1 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.524e-05/0.1609, allocations: 0 / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007475/0.1617, allocations: 455.1 kB / 471.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004994/0.1622, allocations: 251.4 kB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.1627, allocations: 131.1 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002656/0.163, allocations: 163.7 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.1632, allocations: 23.92 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.1633, allocations: 103.8 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003199/0.1637, allocations: 215.6 kB / 472.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.1637, allocations: 4 kB / 472.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.1639, allocations: 51.97 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.164, allocations: 79.69 kB / 472.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.1642, allocations: 103 kB / 473 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004408/0.1646, allocations: 275.1 kB / 473.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.1647, allocations: 4 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1647, allocations: 4 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.1647, allocations: 0 / 473.2 MB, free: 10.36 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001026/0.1657, allocations: 0.6414 MB / 473.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.1658, allocations: 8.031 kB / 473.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.103e-05/0.1658, allocations: 30.75 kB / 473.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.72e-05/0.1659, allocations: 40.47 kB / 473.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.1664, allocations: 300.1 kB / 474.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.1664, allocations: 4.375 kB / 474.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.1664, allocations: 4.375 kB / 474.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.1666, allocations: 65.55 kB / 474.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1666, allocations: 0 / 474.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1667, allocations: 8 kB / 474.3 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1667, allocations: 0 / 474.3 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.1668, allocations: 27.97 kB / 474.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006325/0.1675, allocations: 396.7 kB / 474.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.1676, allocations: 54.5 kB / 474.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.119e-05/0.1677, allocations: 12.86 kB / 474.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.1678, allocations: 4.078 kB / 474.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.1678, allocations: 34.56 kB / 474.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.1678, allocations: 0 / 474.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001321/0.1691, allocations: 296.2 kB / 475.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.1692, allocations: 63.33 kB / 475.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.1705, allocations: 0.8612 MB / 476.1 MB, free: 7.328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.1706, allocations: 29.7 kB / 476.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.1709, allocations: 228 kB / 476.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.1709, allocations: 31.56 kB / 476.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.246e-05/0.171, allocations: 21.7 kB / 476.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.1712, allocations: 366.7 kB / 476.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.1714, allocations: 19.98 kB / 476.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.1715, allocations: 32.03 kB / 476.8 MB, free: 6.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.1718, allocations: 56.84 kB / 476.8 MB, free: 6.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1718, allocations: 4 kB / 476.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004207/0.1723, allocations: 137.1 kB / 477 MB, free: 6.387 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1723, allocations: 4 kB / 477 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.1723, allocations: 4 kB / 477 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.1723, allocations: 0 / 477 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.1725, allocations: 27.91 kB / 477 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1725, allocations: 0 / 477 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.1726, allocations: 11.98 kB / 477 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.1727, allocations: 8 kB / 477 MB, free: 6.332 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 (8): * Single equations (assignments): 8 * 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.0002729/0.1729, allocations: 213.8 kB / 477.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.198e-05/0.173, allocations: 35.53 kB / 477.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004627/0.1735, allocations: 161.3 kB / 477.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.1735, allocations: 3.938 kB / 477.4 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1736, allocations: 0 / 477.4 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1736, allocations: 4 kB / 477.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009225/0.1745, allocations: 0.5031 MB / 477.9 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1745, allocations: 0 / 477.9 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.1746, allocations: 19.98 kB / 477.9 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1747, allocations: 0 / 477.9 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.1747, allocations: 4 kB / 477.9 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1747, allocations: 4.031 kB / 478 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1747, allocations: 0 / 478 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00049/0.1752, allocations: 240.1 kB / 478.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.1753, allocations: 112.5 kB / 478.3 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/0.1754, allocations: 0 / 478.3 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.1756, allocations: 11.98 kB / 478.3 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.1757, allocations: 11.94 kB / 478.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.1757, allocations: 7.984 kB / 478.3 MB, free: 4.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009608/0.1766, allocations: 0.6472 MB / 479 MB, free: 4.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1767, allocations: 0 / 479 MB, free: 4.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005016/0.1772, allocations: 32 kB / 479 MB, free: 4.223 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00238/0.1796, allocations: 1.131 MB / 480.1 MB, free: 3.254 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003865/0.18, allocations: 71.94 kB / 480.2 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.18, allocations: 0 / 480.2 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.1802, allocations: 39.92 kB / 480.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006574/0.1809, allocations: 25.95 kB / 480.3 MB, free: 3.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004263/0.1851, allocations: 3.334 MB / 483.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/0.1856, allocations: 0.826 MB / 484.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.564e-05/0.1857, allocations: 16.73 kB / 484.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.1859, allocations: 107.4 kB / 484.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1859, allocations: 0 / 484.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.2093, allocations: 6.143 MB / 490.7 MB, free: 8.656 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.774/7.983, allocations: 2.656 kB / 490.7 MB, free: 8.656 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_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_CombiTable2Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches