Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.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.001278/0.001278, allocations: 121.3 kB / 19.18 MB, free: 3.852 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.001471/0.001471, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.562/1.562, allocations: 230.3 MB / 255.2 MB, free: 15.18 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.2402/0.2402, allocations: 46.93 MB / 358.2 MB, free: 10.41 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.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88") [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.002273/0.002273, allocations: 83.88 kB / 0.4926 GB, free: 7.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1445, allocations: 66 MB / 0.5571 GB, free: 5.422 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003856/0.1484, allocations: 2.29 MB / 0.5593 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002372/0.1508, allocations: 1.326 MB / 0.5606 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.1509, allocations: 7.938 kB / 0.5606 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003996/0.1513, allocations: 127.3 kB / 0.5607 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005124/0.1518, allocations: 246.9 kB / 0.561 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.1521, allocations: 187.5 kB / 0.5611 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005392/0.1527, allocations: 458.6 kB / 0.5616 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.1528, allocations: 49.06 kB / 0.5616 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003907/0.1532, allocations: 307 kB / 0.5619 GB, free: 432 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.1534, allocations: 171.1 kB / 0.5621 GB, free: 260 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.304e-05/0.1535, allocations: 20 kB / 0.5621 GB, free: 240 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.1536, allocations: 63.98 kB / 0.5622 GB, free: 176 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.1538, allocations: 139.5 kB / 0.5623 GB, free: 36 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.154, allocations: 190.6 kB / 0.5625 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005614/0.1545, allocations: 445.6 kB / 0.5629 GB, free: 15.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1545, allocations: 0 / 0.5629 GB, free: 15.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1545, allocations: 0 / 0.5629 GB, free: 15.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1546, allocations: 4 kB / 0.5629 GB, free: 15.4 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.00119/0.1557, allocations: 0.8319 MB / 0.5637 GB, free: 14.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1558, allocations: 12.03 kB / 0.5637 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.1559, allocations: 68.52 kB / 0.5638 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005807/0.1565, allocations: 421 kB / 0.5642 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.1565, allocations: 12.38 kB / 0.5642 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/0.1565, allocations: 16.33 kB / 0.5642 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.1569, allocations: 201.2 kB / 0.5644 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.157, allocations: 8 kB / 0.5644 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.157, allocations: 4 kB / 0.5644 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.157, allocations: 4 kB / 0.5644 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002423/0.1572, allocations: 95.8 kB / 0.5645 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009619/0.1582, allocations: 0.8016 MB / 0.5653 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006571/0.1588, allocations: 250.4 kB / 0.5655 GB, free: 12.49 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.159, allocations: 79.52 kB / 0.5656 GB, free: 12.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.1591, allocations: 8 kB / 0.5656 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003766/0.1594, allocations: 204.4 kB / 0.5658 GB, free: 12.17 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.352e-06/0.1594, allocations: 0 / 0.5658 GB, free: 12.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.002566/0.162, allocations: 1.14 MB / 0.5669 GB, free: 11.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.1621, allocations: 132.5 kB / 0.5671 GB, free: 10.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009176/0.163, allocations: 0.793 MB / 0.5678 GB, free: 10.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.151e-05/0.1631, allocations: 41.69 kB / 0.5679 GB, free: 10.01 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.1633, allocations: 237 kB / 0.5681 GB, free: 9.773 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.1634, allocations: 142.8 kB / 0.5682 GB, free: 9.633 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.1636, allocations: 86.08 kB / 0.5683 GB, free: 9.539 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002237/0.1638, allocations: 378.7 kB / 0.5687 GB, free: 9.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.164, allocations: 112.8 kB / 0.5688 GB, free: 9.051 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/0.1643, allocations: 187.2 kB / 0.569 GB, free: 8.844 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005511/0.1649, allocations: 323 kB / 0.5693 GB, free: 8.504 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1649, allocations: 0 / 0.5693 GB, free: 8.504 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008041/0.1657, allocations: 437.3 kB / 0.5697 GB, free: 8.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.1657, allocations: 7.984 kB / 0.5697 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.1657, allocations: 0 / 0.5697 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1657, allocations: 4 kB / 0.5697 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.166, allocations: 91.84 kB / 0.5698 GB, free: 7.969 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.166, allocations: 7.984 kB / 0.5698 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.1662, allocations: 16 kB / 0.5698 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.1662, allocations: 16.12 kB / 0.5698 GB, free: 7.93 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002875/0.1665, allocations: 239.8 kB / 0.5701 GB, free: 7.684 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.1666, allocations: 75.52 kB / 0.5701 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.1668, allocations: 85.08 kB / 0.5702 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.1668, allocations: 4 kB / 0.5702 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.1668, allocations: 0 / 0.5702 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.1668, allocations: 7.984 kB / 0.5702 GB, free: 7.508 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.1686, allocations: 1.307 MB / 0.5715 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.1686, allocations: 8.031 kB / 0.5715 GB, free: 6.109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.1687, allocations: 59.91 kB / 0.5716 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.1687, allocations: 8 kB / 0.5716 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.111e-05/0.1688, allocations: 15.98 kB / 0.5716 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.1688, allocations: 4 kB / 0.5716 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.1688, allocations: 7.938 kB / 0.5716 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.1698, allocations: 0.7976 MB / 0.5724 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.17, allocations: 172.6 kB / 0.5725 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.805e-05/0.17, allocations: 15.98 kB / 0.5726 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.1703, allocations: 19.98 kB / 0.5726 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/0.1704, allocations: 39.84 kB / 0.5726 GB, free: 4.914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/0.1704, allocations: 23.98 kB / 0.5726 GB, free: 4.891 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006603/0.1711, allocations: 0.5889 MB / 0.5732 GB, free: 4.309 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1711, allocations: 0 / 0.5732 GB, free: 4.309 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005163/0.1716, allocations: 83.94 kB / 0.5733 GB, free: 4.227 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001955/0.1736, allocations: 0.531 MB / 0.5738 GB, free: 3.879 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006352/0.1742, allocations: 299.8 kB / 0.5741 GB, free: 3.586 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1742, allocations: 0 / 0.5741 GB, free: 3.586 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.1745, allocations: 143.7 kB / 0.5742 GB, free: 3.445 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009168/0.1754, allocations: 117.8 kB / 0.5743 GB, free: 3.336 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.1771, allocations: 1.137 MB / 0.5755 GB, free: 2.133 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/0.1776, allocations: 0.8851 MB / 0.5763 GB, free: 1.227 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.1778, allocations: 59.41 kB / 0.5764 GB, free: 1.168 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1778, allocations: 0 / 0.5764 GB, free: 1.168 MB / 430.1 MB Notification: Performance of Templates: time 0.01024/0.188, allocations: 6.512 MB / 0.5827 GB, free: 10.67 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.67420824499277]