Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001263, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001561/0.001561, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2289/0.2289, allocations: 46.11 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 78.72 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1611, allocations: 62.44 MB / 481.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.00382/0.1649, allocations: 1.727 MB / 483.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.1668, allocations: 1.017 MB / 484.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.864e-05/0.1669, allocations: 0 / 484.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004212/0.1674, allocations: 83.69 kB / 484.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000371/0.1678, allocations: 123.5 kB / 484.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.168, allocations: 75.73 kB / 484.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.1682, allocations: 119.6 kB / 484.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.1683, allocations: 15.97 kB / 484.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.1685, allocations: 55.77 kB / 484.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.1686, allocations: 51.77 kB / 484.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.1686, allocations: 4 kB / 484.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.1687, allocations: 47.97 kB / 484.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.876e-05/0.1688, allocations: 23.92 kB / 484.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.12e-05/0.1689, allocations: 35.75 kB / 484.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.1691, allocations: 131.5 kB / 485 MB, free: 1.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.1691, allocations: 4 kB / 485 MB, free: 1.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1691, allocations: 0 / 485 MB, free: 1.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1692, allocations: 0 / 485 MB, free: 1.023 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.0007939/0.17, allocations: 422.9 kB / 485.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.519e-05/0.17, allocations: 12.03 kB / 485.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.46e-05/0.1701, allocations: 16.75 kB / 485.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/0.1706, allocations: 208.1 kB / 485.6 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.1706, allocations: 4.375 kB / 485.6 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.1706, allocations: 12.03 kB / 485.6 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.1708, allocations: 57.55 kB / 485.7 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.1709, allocations: 0 / 485.7 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.1709, allocations: 8 kB / 485.7 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.1709, allocations: 0 / 485.7 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.419e-05/0.171, allocations: 15.98 kB / 485.7 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005789/0.1716, allocations: 292.9 kB / 486 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.1718, allocations: 58.62 kB / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.86e-05/0.1719, allocations: 20.84 kB / 486.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.1719, allocations: 4 kB / 486.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001924/0.1721, allocations: 67.39 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1721, allocations: 0 / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007108/0.1729, allocations: 181 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.1729, allocations: 55.41 kB / 486.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.1732, allocations: 220.3 kB / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.1732, allocations: 33.7 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/0.1733, allocations: 104.1 kB / 486.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.1733, allocations: 27.66 kB / 486.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.656e-05/0.1734, allocations: 25.7 kB / 486.8 MB, free: 15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1736, allocations: 330.8 kB / 487.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.883e-05/0.1736, allocations: 12 kB / 487.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.64e-05/0.1737, allocations: 41.64 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.1739, allocations: 66.14 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1739, allocations: 0 / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000208/0.1741, allocations: 109.4 kB / 487.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.1741, allocations: 4 kB / 487.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.1741, allocations: 4 kB / 487.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.1742, allocations: 4 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.1743, allocations: 12 kB / 487.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1743, allocations: 0 / 487.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.623e-05/0.1744, allocations: 15.92 kB / 487.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.1744, allocations: 192 / 487.4 MB, free: 14.39 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.0001289/0.1745, allocations: 133.8 kB / 487.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.1745, allocations: 19.83 kB / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.744e-05/0.1746, allocations: 13.41 kB / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1746, allocations: 4 kB / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.1746, allocations: 0 / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1746, allocations: 11.86 kB / 487.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004771/0.1751, allocations: 395.2 kB / 487.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1751, allocations: 4.031 kB / 487.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.64e-05/0.1752, allocations: 8 kB / 487.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1752, allocations: 0 / 487.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.1752, allocations: 11.94 kB / 487.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1752, allocations: 3.984 kB / 487.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1752, allocations: 0 / 487.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.1754, allocations: 200.2 kB / 488.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-05/0.1755, allocations: 92.92 kB / 488.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.1755, allocations: 11.94 kB / 488.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.1756, allocations: 0 / 488.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.1757, allocations: 7.984 kB / 488.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.1757, allocations: 4 kB / 488.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.1758, allocations: 169.2 kB / 488.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1758, allocations: 0 / 488.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000252/0.1761, allocations: 20 kB / 488.4 MB, free: 13.19 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.001175/0.1773, allocations: 462.1 kB / 488.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.1775, allocations: 59.89 kB / 489 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.1775, allocations: 4 kB / 489 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.178e-05/0.1776, allocations: 32 kB / 489 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.1779, allocations: 31.97 kB / 489 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004887/0.1784, allocations: 243.4 kB / 489.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.1787, allocations: 0.7119 MB / 490 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.726e-05/0.1788, allocations: 16.95 kB / 490 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.387e-05/0.1789, allocations: 19.42 kB / 490 MB, free: 11.73 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1789, allocations: 0 / 490 MB, free: 11.73 MB / 366.1 MB Notification: Performance of Templates: time 0.004987/0.1838, allocations: 1.735 MB / 491.7 MB, free: 10.02 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches