Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008812/0.0008812, allocations: 92.83 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001183/0.001183, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.7 MB / 246.8 MB, free: 9.707 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2459/0.2459, allocations: 46.19 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003784, allocations: 12 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1579, allocations: 63.56 MB / 483.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002895/0.1609, allocations: 1.438 MB / 484.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.1627, allocations: 0.9941 MB / 485.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.235e-05/0.1628, allocations: 4 kB / 485.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003565/0.1632, allocations: 39.83 kB / 485.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003194/0.1635, allocations: 71.75 kB / 485.6 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.1637, allocations: 63.88 kB / 485.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.1639, allocations: 103.6 kB / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1641, allocations: 7.984 kB / 485.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.1642, allocations: 39.8 kB / 485.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.1643, allocations: 35.78 kB / 485.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.1644, allocations: 4 kB / 485.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.1645, allocations: 43.97 kB / 485.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.764e-05/0.1646, allocations: 23.92 kB / 485.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.55e-05/0.1647, allocations: 61.39 kB / 486 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.1649, allocations: 111.9 kB / 486.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1649, allocations: 0 / 486.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1649, allocations: 0 / 486.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1649, allocations: 0 / 486.1 MB, free: 1.074 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.0006598/0.1656, allocations: 405.3 kB / 486.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.1657, allocations: 12.88 kB / 486.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.1657, allocations: 8.844 kB / 486.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.166, allocations: 212.8 kB / 486.7 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.166, allocations: 4.312 kB / 486.7 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.1661, allocations: 8.125 kB / 486.7 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.1662, allocations: 57.61 kB / 486.8 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1662, allocations: 0 / 486.8 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1663, allocations: 4 kB / 486.8 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.1663, allocations: 3.984 kB / 486.8 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.708e-05/0.1664, allocations: 19.98 kB / 486.8 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.1668, allocations: 288.8 kB / 487.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.167, allocations: 58.61 kB / 487.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.183e-05/0.1671, allocations: 24.86 kB / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.1671, allocations: 0 / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002229/0.1674, allocations: 71.38 kB / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.1674, allocations: 0 / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006426/0.168, allocations: 177.2 kB / 487.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.1681, allocations: 55.41 kB / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.1683, allocations: 190.9 kB / 487.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.1683, allocations: 29.7 kB / 487.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.849e-05/0.1684, allocations: 108.1 kB / 487.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.1684, allocations: 23.7 kB / 487.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.1684, allocations: 9.719 kB / 487.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1686, allocations: 330.8 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.1686, allocations: 23.92 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.306e-05/0.1687, allocations: 41.64 kB / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.1688, allocations: 61.78 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1688, allocations: 0 / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001739/0.169, allocations: 101.4 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.169, allocations: 10.5 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1691, allocations: 0 / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.1691, allocations: 0 / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1692, allocations: 23.98 kB / 488.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1692, allocations: 0 / 488.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.682e-05/0.1693, allocations: 7.969 kB / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1693, allocations: 4 kB / 488.4 MB, free: 14.52 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.0001035/0.1694, allocations: 132.3 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.1694, allocations: 11.91 kB / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.1695, allocations: 13.41 kB / 488.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1695, allocations: 3.938 kB / 488.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.1695, allocations: 4 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1695, allocations: 3.938 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004245/0.1699, allocations: 399.2 kB / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1699, allocations: 4 kB / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.927e-05/0.17, allocations: 4 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.17, allocations: 4 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.17, allocations: 3.938 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.17, allocations: 0 / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.17, allocations: 7.984 kB / 489 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/0.1703, allocations: 208.2 kB / 489.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-05/0.1704, allocations: 88.92 kB / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.1705, allocations: 7.938 kB / 489.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.282e-05/0.1705, allocations: 8.359 kB / 489.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.1706, allocations: 4 kB / 489.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.1706, allocations: 0 / 489.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.1707, allocations: 160.7 kB / 489.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1707, allocations: 0 / 489.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.171, allocations: 23.98 kB / 489.5 MB, free: 13.34 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.001223/0.1722, allocations: 461 kB / 490 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.1724, allocations: 59.91 kB / 490 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1724, allocations: 0 / 490 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.185e-05/0.1725, allocations: 31.92 kB / 490 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.1729, allocations: 27.97 kB / 490.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005369/0.1735, allocations: 254.3 kB / 490.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.1739, allocations: 0.7004 MB / 491 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.796e-05/0.174, allocations: 28.8 kB / 491 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.1741, allocations: 15.44 kB / 491.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1741, allocations: 0 / 491.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of Templates: time 0.005012/0.1791, allocations: 1.627 MB / 492.7 MB, free: 10.26 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches