Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.001509/0.001509, allocations: 115.7 kB / 19.17 MB, free: 3.871 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.001667/0.001667, allocations: 205 kB / 22.12 MB, free: 0.9219 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.482/1.482, allocations: 230.3 MB / 255.2 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2533/0.2533, allocations: 46.92 MB / 358.2 MB, free: 10.46 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-beta.om/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: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 82.22 kB / 0.4925 GB, free: 26.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1503, allocations: 66 MB / 0.557 GB, free: 8.496 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003503/0.1538, allocations: 1.867 MB / 0.5588 GB, free: 6.613 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.1556, allocations: 1.024 MB / 0.5598 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.395e-05/0.1557, allocations: 0 / 0.5598 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.156, allocations: 63.72 kB / 0.5599 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003616/0.1563, allocations: 123.4 kB / 0.56 GB, free: 5.398 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.1568, allocations: 163.3 kB / 0.5601 GB, free: 5.242 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002999/0.1571, allocations: 199.4 kB / 0.5603 GB, free: 5.047 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1572, allocations: 21.48 kB / 0.5604 GB, free: 5.023 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.1573, allocations: 91.67 kB / 0.5604 GB, free: 4.934 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.1575, allocations: 99.64 kB / 0.5605 GB, free: 4.836 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.1575, allocations: 12 kB / 0.5605 GB, free: 4.824 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.784e-05/0.1576, allocations: 43.97 kB / 0.5606 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.1577, allocations: 47.83 kB / 0.5606 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.236e-05/0.1578, allocations: 63.59 kB / 0.5607 GB, free: 4.672 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.1581, allocations: 187.2 kB / 0.5609 GB, free: 4.488 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1581, allocations: 0 / 0.5609 GB, free: 4.488 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1581, allocations: 0 / 0.5609 GB, free: 4.488 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1581, allocations: 3.938 kB / 0.5609 GB, free: 4.484 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.001192/0.1593, allocations: 0.5797 MB / 0.5614 GB, free: 3.844 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1593, allocations: 12.03 kB / 0.5615 GB, free: 3.832 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/0.1594, allocations: 20.8 kB / 0.5615 GB, free: 3.812 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.1597, allocations: 233 kB / 0.5617 GB, free: 3.547 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.1597, allocations: 12.36 kB / 0.5617 GB, free: 3.535 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.1597, allocations: 8.375 kB / 0.5617 GB, free: 3.527 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000536/0.1603, allocations: 145.8 kB / 0.5619 GB, free: 3.379 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1603, allocations: 0 / 0.5619 GB, free: 3.379 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.1603, allocations: 4 kB / 0.5619 GB, free: 3.375 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.1603, allocations: 0 / 0.5619 GB, free: 3.375 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007547/0.1611, allocations: 163.7 kB / 0.562 GB, free: 3.215 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005427/0.1616, allocations: 364.6 kB / 0.5624 GB, free: 2.809 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008199/0.1624, allocations: 198.3 kB / 0.5626 GB, free: 2.605 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000394/0.1628, allocations: 88.77 kB / 0.5626 GB, free: 2.516 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.1629, allocations: 3.984 kB / 0.5626 GB, free: 2.512 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006/0.1635, allocations: 167.1 kB / 0.5628 GB, free: 2.336 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.1635, allocations: 0 / 0.5628 GB, free: 2.336 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003887/0.1673, allocations: 0.8167 MB / 0.5636 GB, free: 1.512 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.1674, allocations: 59.5 kB / 0.5637 GB, free: 1.441 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.1677, allocations: 243.2 kB / 0.5639 GB, free: 1.195 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.1677, allocations: 33.7 kB / 0.5639 GB, free: 1.156 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1678, allocations: 132 kB / 0.564 GB, free: 1.023 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.59e-05/0.1679, allocations: 39.69 kB / 0.5641 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-05/0.168, allocations: 33.7 kB / 0.5641 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.1681, allocations: 334.8 kB / 0.5644 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007505/0.1689, allocations: 167.8 kB / 0.5646 GB, free: 456 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007298/0.1696, allocations: 167.8 kB / 0.5648 GB, free: 288 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.171, allocations: 361.8 kB / 0.5651 GB, free: 15.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.171, allocations: 0 / 0.5651 GB, free: 15.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001618/0.1726, allocations: 460.5 kB / 0.5655 GB, free: 15.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.161e-05/0.1727, allocations: 65.53 kB / 0.5656 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.1727, allocations: 3.984 kB / 0.5656 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.1727, allocations: 4 kB / 0.5656 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004418/0.1732, allocations: 67.91 kB / 0.5657 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1732, allocations: 0 / 0.5657 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004149/0.1736, allocations: 67.84 kB / 0.5657 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.1736, allocations: 7.984 kB / 0.5657 GB, free: 15.22 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.0001599/0.1738, allocations: 134.4 kB / 0.5659 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.1738, allocations: 23.86 kB / 0.5659 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.1755, allocations: 410.5 kB / 0.5663 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1755, allocations: 0 / 0.5663 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1755, allocations: 0 / 0.5663 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.1755, allocations: 7.922 kB / 0.5663 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.1774, allocations: 0.709 MB / 0.567 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1774, allocations: 7.938 kB / 0.567 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/0.1778, allocations: 59.91 kB / 0.5671 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.1778, allocations: 8 kB / 0.5671 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.1778, allocations: 7.938 kB / 0.5671 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1778, allocations: 0 / 0.5671 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1778, allocations: 0 / 0.5671 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.1793, allocations: 475 kB / 0.5675 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.17e-05/0.1794, allocations: 97.02 kB / 0.5676 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.1795, allocations: 7.938 kB / 0.5676 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004207/0.1799, allocations: 67.89 kB / 0.5677 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.18, allocations: 47.88 kB / 0.5677 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.18, allocations: 4 kB / 0.5677 GB, free: 13.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002007/0.1802, allocations: 192.6 kB / 0.5679 GB, free: 12.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1802, allocations: 0 / 0.5679 GB, free: 12.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003135/0.1806, allocations: 43.94 kB / 0.568 GB, free: 12.84 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.001579/0.1821, allocations: 395.3 kB / 0.5683 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001658/0.1838, allocations: 469.2 kB / 0.5688 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1838, allocations: 0 / 0.5688 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007474/0.1845, allocations: 171.7 kB / 0.5689 GB, free: 11.94 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.1849, allocations: 47.38 kB / 0.569 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.186, allocations: 380.2 kB / 0.5694 GB, free: 11.49 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.1864, allocations: 0.7279 MB / 0.5701 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.1865, allocations: 19.44 kB / 0.5701 GB, free: 10.72 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1865, allocations: 0 / 0.5701 GB, free: 10.72 MB / 430.1 MB Notification: Performance of Templates: time 0.005863/0.1923, allocations: 3.215 MB / 0.5732 GB, free: 7.508 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y,d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:d_t_new.y,t_new.y,time,trapezoid1.y,trapezoid2.y [Calling sys.exit(0), Time elapsed: 7.726010313999723]