Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001734/0.001734, allocations: 128.4 kB / 17.79 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002046/0.002046, allocations: 210.5 kB / 20.75 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.598/1.598, allocations: 230.5 MB / 254 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2595/0.2595, allocations: 46.91 MB / 357 MB, free: 10.23 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002713/0.002713, allocations: 79.88 kB / 0.491 GB, free: 7.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.151, allocations: 66.05 MB / 0.5555 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.005196/0.1562, allocations: 1.852 MB / 0.5573 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002112/0.1583, allocations: 1.063 MB / 0.5583 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.1585, allocations: 0 / 0.5583 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003763/0.1588, allocations: 63.72 kB / 0.5584 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005403/0.1594, allocations: 119.3 kB / 0.5585 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007297/0.1601, allocations: 213.7 kB / 0.5587 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004642/0.1606, allocations: 203.4 kB / 0.5589 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.1607, allocations: 17.55 kB / 0.5589 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.1609, allocations: 87.67 kB / 0.559 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.1612, allocations: 107.6 kB / 0.5591 GB, free: 1.832 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.1612, allocations: 12 kB / 0.5591 GB, free: 1.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.1613, allocations: 51.92 kB / 0.5592 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.1614, allocations: 43.83 kB / 0.5592 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.1616, allocations: 75.58 kB / 0.5593 GB, free: 1.652 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003897/0.162, allocations: 191.1 kB / 0.5595 GB, free: 1.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.162, allocations: 3.938 kB / 0.5595 GB, free: 1.461 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.162, allocations: 0 / 0.5595 GB, free: 1.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.162, allocations: 0 / 0.5595 GB, free: 1.461 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001376/0.1633, allocations: 0.5953 MB / 0.5601 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.1634, allocations: 8.031 kB / 0.5601 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.76e-05/0.1635, allocations: 34.73 kB / 0.5601 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.631e-05/0.1635, allocations: 20.84 kB / 0.5601 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.1639, allocations: 241.6 kB / 0.5603 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.1639, allocations: 8.375 kB / 0.5604 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.1639, allocations: 12.36 kB / 0.5604 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005791/0.1645, allocations: 157.5 kB / 0.5605 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1645, allocations: 0 / 0.5605 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.1646, allocations: 3.938 kB / 0.5605 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1646, allocations: 0 / 0.5605 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007725/0.1653, allocations: 171.8 kB / 0.5607 GB, free: 108 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009631/0.1663, allocations: 432.5 kB / 0.5611 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008431/0.1671, allocations: 194.3 kB / 0.5613 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003942/0.1675, allocations: 88.77 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.1676, allocations: 0 / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006251/0.1682, allocations: 171.2 kB / 0.5615 GB, free: 15.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.1682, allocations: 0 / 0.5615 GB, free: 15.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.004016/0.1722, allocations: 0.843 MB / 0.5624 GB, free: 14.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.1723, allocations: 51.41 kB / 0.5624 GB, free: 14.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003155/0.1726, allocations: 268.9 kB / 0.5627 GB, free: 13.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.1726, allocations: 25.7 kB / 0.5627 GB, free: 13.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.1727, allocations: 128.3 kB / 0.5628 GB, free: 13.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.861e-05/0.1728, allocations: 43.67 kB / 0.5628 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.379e-05/0.1729, allocations: 33.7 kB / 0.5629 GB, free: 13.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.173, allocations: 326.8 kB / 0.5632 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007817/0.1738, allocations: 175.8 kB / 0.5634 GB, free: 13.24 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007911/0.1746, allocations: 179.8 kB / 0.5635 GB, free: 13.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.1761, allocations: 377.9 kB / 0.5639 GB, free: 12.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1761, allocations: 0 / 0.5639 GB, free: 12.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001684/0.1778, allocations: 472.4 kB / 0.5643 GB, free: 12.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.117e-05/0.1778, allocations: 69.27 kB / 0.5644 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1778, allocations: 0 / 0.5644 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.1779, allocations: 112 / 0.5644 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.1783, allocations: 72.41 kB / 0.5645 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1783, allocations: 0 / 0.5645 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004192/0.1788, allocations: 67.84 kB / 0.5645 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.1788, allocations: 8 kB / 0.5645 GB, free: 11.98 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: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.000159/0.1789, allocations: 141.8 kB / 0.5647 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.515e-05/0.179, allocations: 15.91 kB / 0.5647 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/0.1806, allocations: 427 kB / 0.5651 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.1806, allocations: 0 / 0.5651 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1806, allocations: 4 kB / 0.5651 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.1806, allocations: 3.938 kB / 0.5651 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.1826, allocations: 0.7284 MB / 0.5658 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1826, allocations: 0 / 0.5658 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003922/0.183, allocations: 75.89 kB / 0.5659 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.183, allocations: 0 / 0.5659 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.183, allocations: 7.938 kB / 0.5659 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.183, allocations: 0 / 0.5659 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.183, allocations: 0 / 0.5659 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.1846, allocations: 491 kB / 0.5664 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.724e-05/0.1847, allocations: 96.95 kB / 0.5665 GB, free: 9.902 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.1847, allocations: 7.938 kB / 0.5665 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004234/0.1852, allocations: 67.89 kB / 0.5665 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.1853, allocations: 43.95 kB / 0.5666 GB, free: 9.785 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.1853, allocations: 7.984 kB / 0.5666 GB, free: 9.777 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001931/0.1855, allocations: 188.5 kB / 0.5668 GB, free: 9.594 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1855, allocations: 0 / 0.5668 GB, free: 9.594 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003102/0.1858, allocations: 47.92 kB / 0.5668 GB, free: 9.547 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003412/0.1892, allocations: 1.326 MB / 0.5681 GB, free: 8.336 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.1909, allocations: 474.4 kB / 0.5686 GB, free: 7.848 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1909, allocations: 0 / 0.5686 GB, free: 7.848 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007825/0.1917, allocations: 183.5 kB / 0.5687 GB, free: 7.672 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.1921, allocations: 35.89 kB / 0.5688 GB, free: 7.637 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006652/0.1987, allocations: 2.904 MB / 0.5716 GB, free: 4.637 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.1991, allocations: 0.728 MB / 0.5723 GB, free: 3.883 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001371/0.1993, allocations: 33.39 kB / 0.5723 GB, free: 3.852 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.1994, allocations: 51.42 kB / 0.5724 GB, free: 3.801 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1994, allocations: 0 / 0.5724 GB, free: 3.801 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.2283, allocations: 5.853 MB / 0.5781 GB, free: 14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/8.211, allocations: 16.69 kB / 0.5781 GB, free: 13.98 MB / 446.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00279441 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv failed! Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv failed! Error: Could not read variable trapezoid1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv. Warning: Get data of variable trapezoid1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv failed! Error: Could not read variable trapezoid2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv. Warning: Get data of variable trapezoid2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,t_new.y[1],d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:time,der(d_t_new.u),der(t_new.u1[1]),der(t_new.u2[1]),d_t_new.u,d_t_new.y [Calling sys.exit(0), Time elapsed: 11.686035608057864]