Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001456/0.001456, allocations: 117.4 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002148/0.002149, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.647/1.647, allocations: 227.4 MB / 246.4 MB, free: 10.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2575/0.2575, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 81 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.149, allocations: 62.45 MB / 479.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003634/0.1527, allocations: 1.789 MB / 481.3 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.1544, allocations: 1.002 MB / 482.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.041e-05/0.1545, allocations: 3.938 kB / 482.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000302/0.1548, allocations: 43.89 kB / 482.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002713/0.1551, allocations: 79.73 kB / 482.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.1553, allocations: 71.8 kB / 482.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.1554, allocations: 103.7 kB / 482.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.638e-05/0.1555, allocations: 11.98 kB / 482.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.874e-05/0.1556, allocations: 39.8 kB / 482.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.297e-05/0.1557, allocations: 39.72 kB / 482.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.1557, allocations: 8 kB / 482.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.796e-05/0.1558, allocations: 39.98 kB / 482.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.904e-05/0.1559, allocations: 27.91 kB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.156, allocations: 39.72 kB / 482.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.1562, allocations: 119.9 kB / 482.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1562, allocations: 0 / 482.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1562, allocations: 0 / 482.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1562, allocations: 0 / 482.9 MB, free: 2.195 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006317/0.1568, allocations: 425 kB / 483.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1569, allocations: 12.03 kB / 483.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.1569, allocations: 8.844 kB / 483.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.1572, allocations: 220 kB / 483.6 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.1572, allocations: 384 / 483.6 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.1573, allocations: 4.125 kB / 483.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.1575, allocations: 57.67 kB / 483.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.1575, allocations: 0 / 483.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.1575, allocations: 3.984 kB / 483.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1575, allocations: 0 / 483.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.645e-05/0.1576, allocations: 31.92 kB / 483.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.158, allocations: 280.9 kB / 483.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.1583, allocations: 54.69 kB / 484 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.629e-05/0.1583, allocations: 24.78 kB / 484 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.1584, allocations: 4 kB / 484 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.1586, allocations: 71.33 kB / 484.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1586, allocations: 0 / 484.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005602/0.1591, allocations: 181 kB / 484.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.1592, allocations: 55.41 kB / 484.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.1595, allocations: 206.9 kB / 484.5 MB, free: 408 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.1595, allocations: 33.7 kB / 484.5 MB, free: 368 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.1595, allocations: 100.1 kB / 484.6 MB, free: 264 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.1596, allocations: 27.69 kB / 484.7 MB, free: 236 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.1596, allocations: 25.72 kB / 484.7 MB, free: 204 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1598, allocations: 326.7 kB / 485 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.496e-05/0.1598, allocations: 23.98 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.072e-05/0.1599, allocations: 37.7 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.16, allocations: 65.7 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.16, allocations: 0 / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001725/0.1602, allocations: 101.5 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1602, allocations: 7.938 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1602, allocations: 0 / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1602, allocations: 0 / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.675e-05/0.1603, allocations: 19.98 kB / 485.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1604, allocations: 0 / 485.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.424e-05/0.1604, allocations: 3.938 kB / 485.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.1604, allocations: 8.031 kB / 485.3 MB, free: 15.59 MB / 366.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 0.0001112/0.1605, allocations: 133.8 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.1606, allocations: 7.906 kB / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.809e-05/0.1606, allocations: 21.39 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1606, allocations: 0 / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1606, allocations: 0 / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1606, allocations: 3.938 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.1611, allocations: 399.2 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1611, allocations: 0 / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.382e-05/0.1611, allocations: 15.92 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1612, allocations: 4 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.1612, allocations: 7.938 kB / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1612, allocations: 0 / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1612, allocations: 192 / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.1614, allocations: 200.3 kB / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.875e-05/0.1615, allocations: 96.84 kB / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.1615, allocations: 11.92 kB / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-05/0.1616, allocations: 384 / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.1616, allocations: 4 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.1617, allocations: 7.984 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.1618, allocations: 164.2 kB / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1618, allocations: 0 / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1621, allocations: 24 kB / 486.3 MB, free: 14.4 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: 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.001098/0.1632, allocations: 454.8 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.1634, allocations: 71.89 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1634, allocations: 4.062 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.658e-05/0.1635, allocations: 36.12 kB / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.1638, allocations: 20.77 kB / 486.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005381/0.1644, allocations: 267.2 kB / 487.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.1647, allocations: 0.7002 MB / 487.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.789e-05/0.1648, allocations: 16.88 kB / 487.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.1649, allocations: 19.42 kB / 487.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1649, allocations: 4 kB / 487.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of Templates: time 0.004612/0.1695, allocations: 1.705 MB / 489.6 MB, free: 11.24 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches