Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001182/0.001182, allocations: 104.9 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00126/0.00126, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2327/0.2327, allocations: 46.1 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 79.88 kB / 416.9 MB, free: 7.574 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1543, allocations: 62.44 MB / 479.3 MB, free: 9.082 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003696/0.1581, allocations: 1.785 MB / 481.1 MB, free: 7.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0026/0.1607, allocations: 1.6 MB / 482.7 MB, free: 5.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.1609, allocations: 4 kB / 482.7 MB, free: 5.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.1612, allocations: 35.83 kB / 482.7 MB, free: 5.629 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.1616, allocations: 75.75 kB / 482.8 MB, free: 5.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.1619, allocations: 67.81 kB / 482.9 MB, free: 5.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.1621, allocations: 103.8 kB / 483 MB, free: 5.387 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1622, allocations: 7.938 kB / 483 MB, free: 5.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.1623, allocations: 51.72 kB / 483 MB, free: 5.328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.1625, allocations: 35.83 kB / 483.1 MB, free: 5.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.1625, allocations: 4 kB / 483.1 MB, free: 5.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.1627, allocations: 99.94 kB / 483.2 MB, free: 5.191 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.779e-05/0.1628, allocations: 19.86 kB / 483.2 MB, free: 5.172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.809e-05/0.1629, allocations: 39.78 kB / 483.2 MB, free: 5.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.1632, allocations: 159.8 kB / 483.4 MB, free: 4.977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1632, allocations: 4 kB / 483.4 MB, free: 4.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1632, allocations: 4 kB / 483.4 MB, free: 4.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1632, allocations: 0 / 483.4 MB, free: 4.969 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006082/0.1638, allocations: 419.1 kB / 483.8 MB, free: 4.512 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1639, allocations: 12.88 kB / 483.8 MB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.572e-05/0.1639, allocations: 16.73 kB / 483.8 MB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.1642, allocations: 208.7 kB / 484 MB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1643, allocations: 7.938 kB / 484 MB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.1643, allocations: 7.984 kB / 484 MB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.1645, allocations: 63.39 kB / 484.1 MB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1645, allocations: 0 / 484.1 MB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.1645, allocations: 4 kB / 484.1 MB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1645, allocations: 0 / 484.1 MB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.469e-05/0.1646, allocations: 19.92 kB / 484.1 MB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.165, allocations: 300.8 kB / 484.4 MB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.1652, allocations: 50.67 kB / 484.5 MB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.207e-05/0.1653, allocations: 32.78 kB / 484.5 MB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.1653, allocations: 0 / 484.5 MB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000255/0.1656, allocations: 67.33 kB / 484.6 MB, free: 3.613 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.297e-05/0.1656, allocations: 0 / 484.6 MB, free: 3.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006009/0.1662, allocations: 173.2 kB / 484.7 MB, free: 3.438 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/0.1664, allocations: 85.05 kB / 484.8 MB, free: 3.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.1666, allocations: 165.7 kB / 485 MB, free: 3.168 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.1666, allocations: 29.7 kB / 485 MB, free: 3.133 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.1667, allocations: 96.05 kB / 485.1 MB, free: 3.035 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.1667, allocations: 27.64 kB / 485.1 MB, free: 3.008 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.1668, allocations: 29.72 kB / 485.2 MB, free: 2.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1669, allocations: 322.8 kB / 485.5 MB, free: 2.648 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.211e-05/0.167, allocations: 23.98 kB / 485.5 MB, free: 2.625 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.246e-05/0.167, allocations: 38.94 kB / 485.5 MB, free: 2.578 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.1672, allocations: 61.64 kB / 485.6 MB, free: 2.512 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1672, allocations: 4.031 kB / 485.6 MB, free: 2.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002068/0.1674, allocations: 101.6 kB / 485.7 MB, free: 2.402 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1674, allocations: 4 kB / 485.7 MB, free: 2.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1674, allocations: 0 / 485.7 MB, free: 2.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1675, allocations: 4 kB / 485.7 MB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.814e-05/0.1676, allocations: 19.92 kB / 485.7 MB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.1676, allocations: 8.078 kB / 485.7 MB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.261e-05/0.1676, allocations: 4 kB / 485.7 MB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1677, allocations: 4 kB / 485.7 MB, free: 2.359 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.878e-05/0.1678, allocations: 125.9 kB / 485.9 MB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.1678, allocations: 7.906 kB / 485.9 MB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.403e-05/0.1678, allocations: 12.72 kB / 485.9 MB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1679, allocations: 4 kB / 485.9 MB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.1679, allocations: 3.938 kB / 485.9 MB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1679, allocations: 0 / 485.9 MB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/0.1683, allocations: 391.3 kB / 486.3 MB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1683, allocations: 4.031 kB / 486.3 MB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.716e-05/0.1684, allocations: 19.86 kB / 486.3 MB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1684, allocations: 4 kB / 486.3 MB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.1684, allocations: 0 / 486.3 MB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1684, allocations: 0 / 486.3 MB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1684, allocations: 192 / 486.3 MB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.1687, allocations: 200.2 kB / 486.5 MB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.1687, allocations: 100.9 kB / 486.6 MB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.1688, allocations: 8 kB / 486.6 MB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.1688, allocations: 0 / 486.6 MB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.1689, allocations: 11.97 kB / 486.6 MB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.1689, allocations: 7.938 kB / 486.6 MB, free: 1.367 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.169, allocations: 123.2 kB / 486.7 MB, free: 1.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.169, allocations: 0 / 486.7 MB, free: 1.246 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003021/0.1693, allocations: 51.98 kB / 486.8 MB, free: 1.195 MB / 398.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001203/0.1706, allocations: 0.5387 MB / 487.3 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001811/0.1707, allocations: 55.97 kB / 487.4 MB, free: 0.7852 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1708, allocations: 0 / 487.4 MB, free: 0.7852 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.666e-05/0.1708, allocations: 31.92 kB / 487.4 MB, free: 0.7539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.1712, allocations: 37.25 kB / 487.5 MB, free: 0.7188 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.1717, allocations: 212.7 kB / 487.7 MB, free: 492 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.1719, allocations: 0.7083 MB / 488.4 MB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.705e-05/0.172, allocations: 17.12 kB / 488.4 MB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.913e-05/0.1721, allocations: 23.42 kB / 488.4 MB, free: 15.71 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1721, allocations: 0 / 488.4 MB, free: 15.71 MB / 414.1 MB Notification: Performance of Templates: time 0.005121/0.1772, allocations: 2.293 MB / 490.7 MB, free: 13.43 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches