Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001345/0.001345, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001172/0.001172, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2513/0.2513, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 77.38 kB / 417.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.156, allocations: 62.45 MB / 480 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003703/0.1598, allocations: 1.818 MB / 481.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.1618, allocations: 1.103 MB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.1619, allocations: 4 kB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006415/0.1625, allocations: 299.3 kB / 483.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005536/0.1631, allocations: 271.2 kB / 483.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.1634, allocations: 99.64 kB / 483.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003521/0.1638, allocations: 255.4 kB / 483.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.289e-05/0.1639, allocations: 17.66 kB / 483.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.1641, allocations: 135.5 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000264/0.1643, allocations: 191.5 kB / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.1644, allocations: 8 kB / 484.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.1645, allocations: 47.98 kB / 484.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.1647, allocations: 139.5 kB / 484.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.1648, allocations: 150.8 kB / 484.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004535/0.1653, allocations: 371 kB / 484.9 MB, free: 372 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.1653, allocations: 0 / 484.9 MB, free: 372 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1653, allocations: 0 / 484.9 MB, free: 372 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1653, allocations: 0 / 484.9 MB, free: 372 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.001043/0.1664, allocations: 0.7384 MB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.1664, allocations: 8.031 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.45e-05/0.1665, allocations: 56.27 kB / 485.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005654/0.1671, allocations: 455.8 kB / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.1671, allocations: 8.375 kB / 486.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.1672, allocations: 8.125 kB / 486.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.1674, allocations: 83.31 kB / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1674, allocations: 3.984 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.1674, allocations: 4 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1675, allocations: 0 / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1676, allocations: 27.98 kB / 486.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.168, allocations: 382.4 kB / 486.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.1683, allocations: 101.2 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1684, allocations: 49.62 kB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.1685, allocations: 4 kB / 486.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003139/0.1688, allocations: 109 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.193e-06/0.1688, allocations: 0 / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004846/0.1693, allocations: 200.9 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.765e-05/0.1694, allocations: 85.11 kB / 487.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.1705, allocations: 1.046 MB / 488.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.1706, allocations: 37.69 kB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.1708, allocations: 228.1 kB / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.105e-05/0.1708, allocations: 27.64 kB / 488.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/0.1709, allocations: 33.7 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.1711, allocations: 366.8 kB / 488.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.544e-05/0.1712, allocations: 32.48 kB / 488.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.827e-05/0.1713, allocations: 66.97 kB / 489 MB, free: 11.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.1714, allocations: 87.36 kB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1715, allocations: 0 / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003058/0.1718, allocations: 176.8 kB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1718, allocations: 14.48 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.1718, allocations: 0 / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1718, allocations: 0 / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.172, allocations: 20 kB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.172, allocations: 3.984 kB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.333e-05/0.1721, allocations: 11.84 kB / 489.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.1721, allocations: 8 kB / 489.3 MB, free: 11.66 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.0002299/0.1723, allocations: 229.7 kB / 489.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.627e-05/0.1724, allocations: 51.34 kB / 489.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.325e-05/0.1725, allocations: 64.14 kB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1725, allocations: 0 / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.1725, allocations: 4 kB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.1725, allocations: 0 / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.1729, allocations: 345.4 kB / 490 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1729, allocations: 0 / 490 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.651e-05/0.1729, allocations: 11.98 kB / 490 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.173, allocations: 128 / 490 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.173, allocations: 16 kB / 490 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.173, allocations: 0 / 490 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.173, allocations: 0 / 490 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.1733, allocations: 209.1 kB / 490.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.1735, allocations: 136.4 kB / 490.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.1735, allocations: 4 kB / 490.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.792e-05/0.1736, allocations: 12 kB / 490.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.1737, allocations: 7.984 kB / 490.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.1737, allocations: 4 kB / 490.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007946/0.1745, allocations: 0.7877 MB / 491.2 MB, free: 9.695 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1745, allocations: 0 / 491.2 MB, free: 9.695 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.1748, allocations: 47.98 kB / 491.2 MB, free: 9.648 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.0009959/0.1758, allocations: 406.7 kB / 491.6 MB, free: 9.379 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002617/0.176, allocations: 91.91 kB / 491.7 MB, free: 9.289 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.176, allocations: 0 / 491.7 MB, free: 9.289 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.1762, allocations: 43.91 kB / 491.8 MB, free: 9.246 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.1766, allocations: 72.38 kB / 491.8 MB, free: 9.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.1778, allocations: 0.8863 MB / 492.7 MB, free: 8.262 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004812/0.1783, allocations: 0.8388 MB / 493.6 MB, free: 7.398 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000115/0.1784, allocations: 58.95 kB / 493.6 MB, free: 7.344 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.839e-05/0.1785, allocations: 35.42 kB / 493.6 MB, free: 7.309 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1785, allocations: 0 / 493.6 MB, free: 7.309 MB / 366.1 MB Notification: Performance of Templates: time 0.007997/0.1865, allocations: 3.771 MB / 497.4 MB, free: 3.559 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches