Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001786/0.001787, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002015/0.002015, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.595/1.595, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2646/0.2646, allocations: 46.13 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 86.41 kB / 417.7 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1516, allocations: 62.44 MB / 480.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003458/0.1551, allocations: 1.832 MB / 482 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.157, allocations: 1.099 MB / 483 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.637e-05/0.1571, allocations: 7.938 kB / 483.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005357/0.1577, allocations: 303.3 kB / 483.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000468/0.1582, allocations: 263.2 kB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.1584, allocations: 107.6 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003108/0.1587, allocations: 259.4 kB / 484 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.331e-05/0.1588, allocations: 13.67 kB / 484 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.159, allocations: 135.5 kB / 484.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.1592, allocations: 187.5 kB / 484.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.1593, allocations: 8 kB / 484.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.1594, allocations: 51.97 kB / 484.4 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.1596, allocations: 135.5 kB / 484.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.1597, allocations: 154.8 kB / 484.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.1601, allocations: 367 kB / 485 MB, free: 336 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1601, allocations: 4 kB / 485 MB, free: 332 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1601, allocations: 0 / 485 MB, free: 332 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1602, allocations: 0 / 485 MB, free: 332 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009598/0.1611, allocations: 0.7384 MB / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1612, allocations: 16.02 kB / 485.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.848e-05/0.1613, allocations: 48.28 kB / 485.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005585/0.1618, allocations: 451.8 kB / 486.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.1619, allocations: 8.375 kB / 486.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.1619, allocations: 8.125 kB / 486.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.1621, allocations: 87.36 kB / 486.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.1621, allocations: 0 / 486.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.1621, allocations: 0 / 486.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1621, allocations: 3.938 kB / 486.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1623, allocations: 27.98 kB / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.1627, allocations: 382.4 kB / 486.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.163, allocations: 105.2 kB / 486.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.1631, allocations: 41.64 kB / 486.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.1631, allocations: 15.98 kB / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002712/0.1634, allocations: 105 kB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1634, allocations: 0 / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005118/0.1639, allocations: 200.9 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.164, allocations: 81.11 kB / 487.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.1652, allocations: 1.058 MB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.858e-05/0.1652, allocations: 29.7 kB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.1654, allocations: 232.1 kB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.1655, allocations: 27.64 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-05/0.1655, allocations: 29.7 kB / 488.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003216/0.1659, allocations: 370.8 kB / 489 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.601e-05/0.166, allocations: 27.92 kB / 489 MB, free: 12.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.1661, allocations: 63.41 kB / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.1663, allocations: 91.86 kB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1663, allocations: 0 / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003156/0.1666, allocations: 176.9 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1666, allocations: 4 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.1667, allocations: 0 / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1667, allocations: 7.938 kB / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.1668, allocations: 19.98 kB / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1668, allocations: 4 kB / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.758e-05/0.1669, allocations: 11.84 kB / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.1669, allocations: 8 kB / 489.4 MB, free: 11.61 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002366/0.1672, allocations: 225.6 kB / 489.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.5e-05/0.1673, allocations: 51.34 kB / 489.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.286e-05/0.1674, allocations: 64.14 kB / 489.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1674, allocations: 4 kB / 489.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1674, allocations: 0 / 489.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1674, allocations: 0 / 489.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003404/0.1677, allocations: 345.4 kB / 490.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1677, allocations: 3.984 kB / 490.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.681e-05/0.1678, allocations: 8 kB / 490.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1678, allocations: 0 / 490.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.1678, allocations: 8 kB / 490.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1678, allocations: 4 kB / 490.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1678, allocations: 0 / 490.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.1682, allocations: 213.2 kB / 490.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.1683, allocations: 140.4 kB / 490.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.1684, allocations: 0 / 490.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.725e-05/0.1684, allocations: 8 kB / 490.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.1685, allocations: 11.98 kB / 490.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.1685, allocations: 4 kB / 490.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009386/0.1695, allocations: 0.7839 MB / 491.3 MB, free: 9.656 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1695, allocations: 4 kB / 491.3 MB, free: 9.652 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.1698, allocations: 43.98 kB / 491.3 MB, free: 9.609 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001541/0.1713, allocations: 407.1 kB / 491.7 MB, free: 9.344 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002823/0.1716, allocations: 92.09 kB / 491.8 MB, free: 9.254 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1716, allocations: 0 / 491.8 MB, free: 9.254 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.1718, allocations: 48.03 kB / 491.9 MB, free: 9.207 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.1723, allocations: 69.53 kB / 491.9 MB, free: 9.145 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.1738, allocations: 0.8862 MB / 492.8 MB, free: 8.227 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008579/0.1747, allocations: 0.8427 MB / 493.7 MB, free: 7.359 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001355/0.1748, allocations: 58.95 kB / 493.7 MB, free: 7.305 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.622e-05/0.1749, allocations: 35.42 kB / 493.7 MB, free: 7.27 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1749, allocations: 0 / 493.7 MB, free: 7.27 MB / 366.1 MB Notification: Performance of Templates: time 0.00877/0.1837, allocations: 3.772 MB / 497.5 MB, free: 3.512 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches