Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001099/0.001099, allocations: 109.4 kB / 17.98 MB, free: 5.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00119/0.00119, allocations: 201.8 kB / 18.92 MB, free: 4.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.192/1.192, allocations: 227.4 MB / 247.1 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2186/0.2186, allocations: 46.11 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00272/0.00272, allocations: 80.12 kB / 417.7 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1568, allocations: 62.44 MB / 480.2 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002876/0.1597, allocations: 1.792 MB / 482 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.1615, allocations: 1.006 MB / 483 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.694e-05/0.1616, allocations: 0 / 483 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.1618, allocations: 47.83 kB / 483 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.1622, allocations: 79.73 kB / 483.1 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.1624, allocations: 63.83 kB / 483.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.1626, allocations: 111.7 kB / 483.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.1626, allocations: 4 kB / 483.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.441e-05/0.1627, allocations: 43.8 kB / 483.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.1e-05/0.1627, allocations: 39.77 kB / 483.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.1628, allocations: 8 kB / 483.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.127e-05/0.1629, allocations: 43.92 kB / 483.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.113e-05/0.1629, allocations: 15.92 kB / 483.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.253e-05/0.1629, allocations: 39.75 kB / 483.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.1631, allocations: 88.09 kB / 483.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.1631, allocations: 0 / 483.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.1631, allocations: 0 / 483.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.816e-06/0.1631, allocations: 0 / 483.5 MB, free: 2.242 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.0003825/0.1635, allocations: 414.9 kB / 483.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.418e-05/0.1635, allocations: 16.03 kB / 484 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.1635, allocations: 8.844 kB / 484 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.1638, allocations: 220.7 kB / 484.2 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.962e-06/0.1638, allocations: 384 / 484.2 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.1638, allocations: 8.125 kB / 484.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.1639, allocations: 53.67 kB / 484.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.164, allocations: 0 / 484.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.164, allocations: 0 / 484.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.164, allocations: 4 kB / 484.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.592e-05/0.164, allocations: 15.98 kB / 484.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.1644, allocations: 300.7 kB / 484.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.1645, allocations: 50.67 kB / 484.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.486e-05/0.1646, allocations: 20.86 kB / 484.6 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.1646, allocations: 3.984 kB / 484.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.1648, allocations: 71.39 kB / 484.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1648, allocations: 3.938 kB / 484.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004285/0.1652, allocations: 177.2 kB / 484.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.1653, allocations: 59.33 kB / 484.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.1654, allocations: 194.8 kB / 485.1 MB, free: 472 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.1655, allocations: 29.7 kB / 485.1 MB, free: 436 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.855e-05/0.1655, allocations: 104.1 kB / 485.2 MB, free: 328 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.1655, allocations: 23.7 kB / 485.3 MB, free: 304 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.1656, allocations: 21.72 kB / 485.3 MB, free: 276 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1657, allocations: 330.8 kB / 485.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.166e-05/0.1658, allocations: 15.98 kB / 485.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.012e-05/0.1658, allocations: 37.7 kB / 485.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.166, allocations: 61.7 kB / 485.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.166, allocations: 3.938 kB / 485.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000183/0.1662, allocations: 97.5 kB / 485.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.1662, allocations: 4 kB / 485.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/0.1662, allocations: 0 / 485.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.282e-06/0.1662, allocations: 0 / 485.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.2e-05/0.1663, allocations: 27.92 kB / 485.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.1663, allocations: 0 / 485.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.456e-05/0.1663, allocations: 7.938 kB / 485.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.1663, allocations: 4.031 kB / 485.9 MB, free: 15.66 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.0001087/0.1665, allocations: 137.8 kB / 486 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.1665, allocations: 7.906 kB / 486 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.594e-05/0.1665, allocations: 17.39 kB / 486 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1665, allocations: 4 kB / 486 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.1665, allocations: 0 / 486 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1665, allocations: 3.938 kB / 486 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.167, allocations: 399.2 kB / 486.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.167, allocations: 0 / 486.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.128e-05/0.167, allocations: 8 kB / 486.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.167, allocations: 3.984 kB / 486.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.167, allocations: 3.938 kB / 486.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.167, allocations: 4.375 kB / 486.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.1671, allocations: 0 / 486.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.1673, allocations: 208.2 kB / 486.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.1673, allocations: 88.92 kB / 486.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.1674, allocations: 7.938 kB / 486.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.03e-05/0.1674, allocations: 11.98 kB / 486.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/0.1675, allocations: 192 / 486.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.1675, allocations: 4 kB / 486.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.1676, allocations: 156.7 kB / 486.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1676, allocations: 0 / 486.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.1679, allocations: 31.98 kB / 486.9 MB, free: 14.48 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.0009266/0.1688, allocations: 461.2 kB / 487.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.169, allocations: 55.98 kB / 487.4 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.169, allocations: 8 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.492e-05/0.1691, allocations: 31.92 kB / 487.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.1694, allocations: 30.97 kB / 487.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.1697, allocations: 280.7 kB / 487.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.17, allocations: 0.708 MB / 488.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.1701, allocations: 15.44 kB / 488.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of SimCode: time 2.295e-06/0.1701, allocations: 0 / 488.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of Templates: time 0.2086/0.3787, allocations: 1.945 MB / 490.5 MB, free: 11.06 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches