Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001503/0.001503, allocations: 92.75 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002224/0.002224, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.242/0.242, allocations: 46.19 MB / 345.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004267/0.0004268, allocations: 11.98 kB / 419.5 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1533, allocations: 63.57 MB / 483.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.00262/0.1559, allocations: 1.438 MB / 484.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.1579, allocations: 0.998 MB / 485.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.88e-05/0.1581, allocations: 0 / 485.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.1584, allocations: 43.83 kB / 485.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.1587, allocations: 71.75 kB / 485.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.159, allocations: 63.88 kB / 485.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.1592, allocations: 99.69 kB / 485.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1593, allocations: 8 kB / 485.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.1594, allocations: 47.72 kB / 485.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.089e-05/0.1595, allocations: 31.78 kB / 485.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.1595, allocations: 0 / 485.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.1596, allocations: 51.97 kB / 485.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.277e-05/0.1597, allocations: 11.92 kB / 486 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.793e-05/0.1598, allocations: 65.39 kB / 486 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.16, allocations: 111.9 kB / 486.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.16, allocations: 0 / 486.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.16, allocations: 0 / 486.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.16, allocations: 0 / 486.1 MB, free: 1.121 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.000623/0.1607, allocations: 401.7 kB / 486.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1607, allocations: 8.875 kB / 486.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.995e-05/0.1608, allocations: 16.83 kB / 486.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.1611, allocations: 208.8 kB / 486.8 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.1611, allocations: 4.359 kB / 486.8 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.1611, allocations: 8.125 kB / 486.8 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.1613, allocations: 65.53 kB / 486.8 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1613, allocations: 4 kB / 486.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1614, allocations: 0 / 486.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1614, allocations: 0 / 486.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.249e-05/0.1615, allocations: 19.98 kB / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/0.1619, allocations: 288.8 kB / 487.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.1621, allocations: 58.61 kB / 487.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.706e-05/0.1622, allocations: 20.86 kB / 487.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.1622, allocations: 4 kB / 487.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.1625, allocations: 67.39 kB / 487.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.893e-06/0.1625, allocations: 3.938 kB / 487.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006736/0.1632, allocations: 181.2 kB / 487.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.1632, allocations: 55.41 kB / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.1635, allocations: 190.9 kB / 487.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.1635, allocations: 29.7 kB / 487.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.1636, allocations: 108.1 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.1637, allocations: 23.7 kB / 487.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.1637, allocations: 9.719 kB / 487.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.1639, allocations: 330.8 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.761e-05/0.164, allocations: 19.98 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.633e-05/0.164, allocations: 41.64 kB / 488.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.1642, allocations: 57.72 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1642, allocations: 0 / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001947/0.1644, allocations: 105.4 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.1644, allocations: 8 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1644, allocations: 0 / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1645, allocations: 0 / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.49e-05/0.1646, allocations: 12 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.1646, allocations: 12.02 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.1646, allocations: 3.938 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.1646, allocations: 4.156 kB / 488.4 MB, free: 14.57 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.0001568/0.1648, allocations: 125.8 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.1648, allocations: 15.89 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.699e-05/0.1649, allocations: 17.39 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1649, allocations: 0 / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/0.1649, allocations: 0 / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1649, allocations: 11.88 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.1654, allocations: 399.2 kB / 489 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1655, allocations: 0 / 489 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.1655, allocations: 8 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.1655, allocations: 4 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1655, allocations: 3.938 kB / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.1655, allocations: 0 / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1655, allocations: 0 / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.1658, allocations: 212.2 kB / 489.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-05/0.1659, allocations: 88.92 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/0.1659, allocations: 12.12 kB / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.809e-05/0.166, allocations: 0 / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.166, allocations: 11.92 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.1661, allocations: 4.375 kB / 489.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.1662, allocations: 156.7 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1662, allocations: 0 / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1665, allocations: 24 kB / 489.5 MB, free: 13.39 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.001218/0.1677, allocations: 461.6 kB / 490 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.1679, allocations: 55.92 kB / 490 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1679, allocations: 0 / 490 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.665e-05/0.168, allocations: 27.98 kB / 490.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.1684, allocations: 31.41 kB / 490.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005727/0.169, allocations: 262.3 kB / 490.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.1694, allocations: 0.7004 MB / 491 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.08e-05/0.1695, allocations: 21.17 kB / 491.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.1697, allocations: 15.44 kB / 491.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1697, allocations: 0 / 491.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of Templates: time 0.004793/0.1745, allocations: 1.635 MB / 492.7 MB, free: 10.3 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches