Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 124.5 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2608/0.2608, allocations: 46.93 MB / 357.1 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 63.91 kB / 0.4909 GB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1603, allocations: 66 MB / 0.5554 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003914/0.1642, allocations: 1.936 MB / 0.5573 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.1664, allocations: 1.099 MB / 0.5583 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.1665, allocations: 3.938 kB / 0.5584 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006353/0.1671, allocations: 267.2 kB / 0.5586 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005861/0.1677, allocations: 267.1 kB / 0.5589 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.1692, allocations: 0.6372 MB / 0.5595 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004752/0.1697, allocations: 319.1 kB / 0.5598 GB, free: 1.336 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.1699, allocations: 40.73 kB / 0.5598 GB, free: 1.297 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.1701, allocations: 147.4 kB / 0.56 GB, free: 1.152 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003455/0.1704, allocations: 223.2 kB / 0.5602 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.1704, allocations: 12 kB / 0.5602 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.1706, allocations: 47.98 kB / 0.5602 GB, free: 0.875 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.1707, allocations: 95.61 kB / 0.5603 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.1709, allocations: 123 kB / 0.5604 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004545/0.1713, allocations: 322.3 kB / 0.5608 GB, free: 352 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1713, allocations: 0 / 0.5608 GB, free: 352 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1713, allocations: 0 / 0.5608 GB, free: 352 kB / 414.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.1713, allocations: 0 / 0.5608 GB, free: 352 kB / 414.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.0009331/0.1723, allocations: 0.6763 MB / 0.5614 GB, free: 15.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1723, allocations: 12.03 kB / 0.5614 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.802e-05/0.1724, allocations: 34.75 kB / 0.5615 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.234e-05/0.1724, allocations: 52.59 kB / 0.5615 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.1729, allocations: 334.5 kB / 0.5618 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1729, allocations: 4.375 kB / 0.5618 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.1729, allocations: 8.312 kB / 0.5618 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.1731, allocations: 97.58 kB / 0.5619 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1731, allocations: 0 / 0.5619 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.1731, allocations: 8 kB / 0.5619 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1732, allocations: 7.938 kB / 0.5619 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.1733, allocations: 67.95 kB / 0.562 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006959/0.174, allocations: 476.4 kB / 0.5625 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.1742, allocations: 70.55 kB / 0.5625 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.673e-05/0.1743, allocations: 32.95 kB / 0.5626 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.1743, allocations: 11.98 kB / 0.5626 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.1743, allocations: 34.5 kB / 0.5626 GB, free: 14.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.1743, allocations: 0 / 0.5626 GB, free: 14.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.000441/0.1748, allocations: 157.4 kB / 0.5628 GB, free: 14.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.1748, allocations: 55.34 kB / 0.5628 GB, free: 14.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007438/0.1756, allocations: 0.5957 MB / 0.5634 GB, free: 13.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.1756, allocations: 29.7 kB / 0.5634 GB, free: 13.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.1758, allocations: 216.1 kB / 0.5636 GB, free: 13.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.1758, allocations: 23.8 kB / 0.5637 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.1758, allocations: 21.7 kB / 0.5637 GB, free: 13.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.176, allocations: 350.8 kB / 0.564 GB, free: 12.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.405e-05/0.1761, allocations: 27.92 kB / 0.564 GB, free: 12.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.327e-05/0.1762, allocations: 28.34 kB / 0.5641 GB, free: 12.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.1763, allocations: 76.77 kB / 0.5641 GB, free: 12.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1763, allocations: 4 kB / 0.5641 GB, free: 12.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002296/0.1765, allocations: 129.4 kB / 0.5643 GB, free: 12.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1766, allocations: 4 kB / 0.5643 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1766, allocations: 0 / 0.5643 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.1766, allocations: 7.938 kB / 0.5643 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.1767, allocations: 11.98 kB / 0.5643 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1767, allocations: 0 / 0.5643 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.478e-05/0.1768, allocations: 4 kB / 0.5643 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.1768, allocations: 4 kB / 0.5643 GB, free: 12.48 MB / 430.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.0001731/0.1769, allocations: 179.9 kB / 0.5645 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.177, allocations: 43.72 kB / 0.5645 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000335/0.1774, allocations: 157.2 kB / 0.5647 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.1774, allocations: 7.938 kB / 0.5647 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1774, allocations: 0 / 0.5647 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1774, allocations: 0 / 0.5647 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.1777, allocations: 297.5 kB / 0.5649 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1777, allocations: 0 / 0.5649 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.177e-05/0.1778, allocations: 19.98 kB / 0.565 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1778, allocations: 0 / 0.565 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.1778, allocations: 4 kB / 0.565 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1778, allocations: 3.938 kB / 0.565 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1778, allocations: 3.938 kB / 0.565 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.1781, allocations: 231.4 kB / 0.5652 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.1782, allocations: 124.7 kB / 0.5653 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.1782, allocations: 3.984 kB / 0.5653 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.863e-05/0.1783, allocations: 11.94 kB / 0.5653 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.1784, allocations: 3.984 kB / 0.5653 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.1784, allocations: 4 kB / 0.5653 GB, free: 11.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004973/0.1789, allocations: 450.8 kB / 0.5658 GB, free: 10.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1789, allocations: 0 / 0.5658 GB, free: 10.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003148/0.1792, allocations: 47.81 kB / 0.5658 GB, free: 10.82 MB / 430.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.002893/0.1821, allocations: 1.257 MB / 0.567 GB, free: 9.801 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002449/0.1823, allocations: 59.95 kB / 0.5671 GB, free: 9.742 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1823, allocations: 0 / 0.5671 GB, free: 9.742 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.19e-05/0.1824, allocations: 39.91 kB / 0.5671 GB, free: 9.703 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005819/0.183, allocations: 76.25 kB / 0.5672 GB, free: 9.637 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003985/0.187, allocations: 2.977 MB / 0.5701 GB, free: 6.578 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005207/0.1875, allocations: 0.8061 MB / 0.5709 GB, free: 5.746 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001448/0.1876, allocations: 57.88 kB / 0.571 GB, free: 5.691 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.1878, allocations: 115.4 kB / 0.5711 GB, free: 5.578 MB / 430.1 MB Notification: Performance of SimCode: time 1.914e-06/0.1878, allocations: 0 / 0.5711 GB, free: 5.578 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03376/0.2216, allocations: 7.015 MB / 0.5779 GB, free: 14.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.235/8.457, allocations: 16.31 kB / 0.5779 GB, free: 14.57 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00119952 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable clock1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.csv failed! Error: Could not read variable combiTable2DT.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.csv. Warning: Get data of variable combiTable2DT.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.683893555993563]