Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009155/0.0009155, allocations: 102.3 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001127/0.001127, allocations: 192.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.7 MB / 246.4 MB, free: 11.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2252/0.2252, allocations: 46.18 MB / 344.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003003/0.0003003, allocations: 8 kB / 418.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1489, allocations: 63.57 MB / 482.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002575/0.1515, allocations: 1.709 MB / 484.1 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.1533, allocations: 1.006 MB / 485.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.1534, allocations: 3.938 kB / 485.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003193/0.1537, allocations: 47.77 kB / 485.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.1541, allocations: 79.61 kB / 485.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.1544, allocations: 95.77 kB / 485.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000281/0.1547, allocations: 175.4 kB / 485.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.1549, allocations: 25.67 kB / 485.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.155, allocations: 71.69 kB / 485.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.1552, allocations: 71.62 kB / 485.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.1552, allocations: 4 kB / 485.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.1553, allocations: 35.98 kB / 485.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.53e-05/0.1554, allocations: 31.84 kB / 485.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.707e-05/0.1555, allocations: 53.62 kB / 485.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.1558, allocations: 136 kB / 485.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.1558, allocations: 0 / 485.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.1558, allocations: 0 / 485.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.1558, allocations: 0 / 485.9 MB, free: 0.9727 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001181/0.157, allocations: 0.5547 MB / 486.5 MB, free: 368 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.1571, allocations: 8.031 kB / 486.5 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.109e-05/0.1571, allocations: 19.81 kB / 486.5 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.1575, allocations: 247.7 kB / 486.8 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.1576, allocations: 8 kB / 486.8 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.1576, allocations: 4 kB / 486.8 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005147/0.1581, allocations: 168 kB / 486.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.1582, allocations: 4 kB / 486.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.1582, allocations: 7.984 kB / 487 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.1582, allocations: 0 / 487 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004697/0.1587, allocations: 139.8 kB / 487.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008417/0.1595, allocations: 0.5438 MB / 487.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007034/0.1602, allocations: 186.5 kB / 487.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/0.1605, allocations: 84.8 kB / 487.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.1605, allocations: 4 kB / 487.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000416/0.161, allocations: 147.3 kB / 488 MB, free: 14.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 3.095e-06/0.161, allocations: 0 / 488 MB, free: 14.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008792/0.1619, allocations: 297.2 kB / 488.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.1619, allocations: 55.41 kB / 488.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.1622, allocations: 236.1 kB / 488.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.1623, allocations: 29.7 kB / 488.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.1624, allocations: 128.3 kB / 488.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.1624, allocations: 35.69 kB / 488.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.119e-05/0.1625, allocations: 4 kB / 488.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1626, allocations: 334.8 kB / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.1629, allocations: 75.88 kB / 489.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.1632, allocations: 116.2 kB / 489.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.1635, allocations: 117.6 kB / 489.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1635, allocations: 4 kB / 489.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006543/0.1642, allocations: 279 kB / 489.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.013e-05/0.1642, allocations: 33.64 kB / 489.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.1642, allocations: 0 / 489.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.1643, allocations: 11.89 kB / 489.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.1645, allocations: 47.95 kB / 489.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.1645, allocations: 3.984 kB / 489.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.1647, allocations: 35.89 kB / 489.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.1647, allocations: 15.98 kB / 489.9 MB, free: 12.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001992/0.1649, allocations: 130.3 kB / 490 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.165, allocations: 15.81 kB / 490 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.95e-05/0.1651, allocations: 21.39 kB / 490 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.1651, allocations: 7.953 kB / 490 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.1651, allocations: 4 kB / 490 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.1651, allocations: 0 / 490 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.1654, allocations: 229.6 kB / 490.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1654, allocations: 0 / 490.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.1656, allocations: 31.97 kB / 490.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1656, allocations: 0 / 490.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.1656, allocations: 4 kB / 490.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1656, allocations: 0 / 490.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.1657, allocations: 7.953 kB / 490.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008872/0.1665, allocations: 340.5 kB / 490.6 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.195e-05/0.1667, allocations: 108.9 kB / 490.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.1667, allocations: 0 / 490.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.1669, allocations: 31.97 kB / 490.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.95e-05/0.1669, allocations: 11.97 kB / 490.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.167, allocations: 11.95 kB / 490.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001799/0.1672, allocations: 169.8 kB / 491 MB, free: 11.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1672, allocations: 4 kB / 491 MB, free: 11.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.1675, allocations: 39.98 kB / 491 MB, free: 11.51 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001154/0.1686, allocations: 415.8 kB / 491.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006587/0.1693, allocations: 239.2 kB / 491.7 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1693, allocations: 0 / 491.7 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000256/0.1696, allocations: 92.19 kB / 491.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.1699, allocations: 44.78 kB / 491.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007583/0.1707, allocations: 340.5 kB / 492.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.1711, allocations: 0.7399 MB / 492.9 MB, free: 9.742 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.795e-05/0.1712, allocations: 21.53 kB / 492.9 MB, free: 9.723 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.916e-05/0.1713, allocations: 23.44 kB / 492.9 MB, free: 9.699 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1713, allocations: 0 / 492.9 MB, free: 9.699 MB / 366.1 MB Notification: Performance of Templates: time 0.005986/0.1773, allocations: 2.491 MB / 495.4 MB, free: 7.227 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches