Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001301/0.001305, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001256/0.001256, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2139/0.2139, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 79.88 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1455, allocations: 62.44 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003758/0.1493, allocations: 2.291 MB / 483.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.1515, allocations: 1.309 MB / 485.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.1516, allocations: 3.938 kB / 485.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003959/0.152, allocations: 131.3 kB / 485.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004999/0.1525, allocations: 238.9 kB / 485.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.1529, allocations: 191.4 kB / 485.6 MB, free: 360 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004993/0.1534, allocations: 450.7 kB / 486.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.1536, allocations: 77.03 kB / 486.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000299/0.1539, allocations: 263.1 kB / 486.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.1541, allocations: 159.1 kB / 486.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/0.1541, allocations: 16 kB / 486.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.1543, allocations: 71.97 kB / 486.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.1544, allocations: 131.5 kB / 486.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.1546, allocations: 186.5 kB / 486.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004465/0.1551, allocations: 450.1 kB / 487.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1551, allocations: 0 / 487.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1551, allocations: 0 / 487.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.1551, allocations: 4 kB / 487.4 MB, free: 14.57 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000996/0.1561, allocations: 0.8089 MB / 488.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1561, allocations: 13.11 kB / 488.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.326e-05/0.1562, allocations: 64.09 kB / 488.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000542/0.1568, allocations: 416.5 kB / 488.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.1568, allocations: 12.38 kB / 488.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/0.1569, allocations: 28.02 kB / 488.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.1572, allocations: 185 kB / 488.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.1572, allocations: 7.984 kB / 488.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.1573, allocations: 7.984 kB / 488.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.1573, allocations: 8 kB / 488.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/0.1575, allocations: 87.88 kB / 489 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008276/0.1583, allocations: 0.8016 MB / 489.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005742/0.1589, allocations: 250.5 kB / 490.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.1591, allocations: 87.53 kB / 490.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.1591, allocations: 4 kB / 490.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000355/0.1595, allocations: 200.3 kB / 490.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.543e-06/0.1595, allocations: 0 / 490.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002259/0.1618, allocations: 1.122 MB / 491.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.381e-05/0.1619, allocations: 136.5 kB / 491.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007691/0.1626, allocations: 0.8008 MB / 492.4 MB, free: 9.273 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.1627, allocations: 37.7 kB / 492.4 MB, free: 9.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.1628, allocations: 240.9 kB / 492.7 MB, free: 8.988 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.163, allocations: 138.1 kB / 492.8 MB, free: 8.852 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.1631, allocations: 78.03 kB / 492.9 MB, free: 8.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1632, allocations: 378.8 kB / 493.2 MB, free: 8.391 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.1635, allocations: 116.8 kB / 493.4 MB, free: 8.277 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.1637, allocations: 183.1 kB / 493.5 MB, free: 8.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000474/0.1642, allocations: 319 kB / 493.9 MB, free: 7.734 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1642, allocations: 0 / 493.9 MB, free: 7.734 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006847/0.1649, allocations: 444.9 kB / 494.3 MB, free: 7.293 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1649, allocations: 8 kB / 494.3 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1649, allocations: 0 / 494.3 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.165, allocations: 4 kB / 494.3 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.1652, allocations: 87.89 kB / 494.4 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1652, allocations: 0 / 494.4 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.1654, allocations: 23.92 kB / 494.4 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.1654, allocations: 20 kB / 494.4 MB, free: 7.152 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002267/0.1656, allocations: 231.9 kB / 494.7 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.474e-05/0.1657, allocations: 67.16 kB / 494.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.1659, allocations: 89.12 kB / 494.8 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.319e-06/0.1659, allocations: 4 kB / 494.8 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.1659, allocations: 0 / 494.8 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.1659, allocations: 7.938 kB / 494.8 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.1674, allocations: 1.311 MB / 496.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1674, allocations: 3.938 kB / 496.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.1676, allocations: 59.91 kB / 496.2 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.1676, allocations: 8.25 kB / 496.2 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.1676, allocations: 16 kB / 496.2 MB, free: 5.266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/0.1676, allocations: 11.92 kB / 496.2 MB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.1677, allocations: 4 kB / 496.2 MB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008651/0.1685, allocations: 0.7812 MB / 497 MB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/0.1687, allocations: 172.3 kB / 497.2 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.308e-05/0.1688, allocations: 20 kB / 497.2 MB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.169, allocations: 15.98 kB / 497.2 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.1692, allocations: 47.83 kB / 497.3 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.1692, allocations: 19.98 kB / 497.3 MB, free: 4.133 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005884/0.1698, allocations: 0.5771 MB / 497.9 MB, free: 3.559 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1698, allocations: 4 kB / 497.9 MB, free: 3.555 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005033/0.1703, allocations: 87.98 kB / 497.9 MB, free: 3.469 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001182/0.1715, allocations: 0.5219 MB / 498.5 MB, free: 3.125 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005784/0.1721, allocations: 307.6 kB / 498.8 MB, free: 2.824 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1721, allocations: 0 / 498.8 MB, free: 2.824 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002999/0.1724, allocations: 167.9 kB / 498.9 MB, free: 2.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008595/0.1733, allocations: 136.4 kB / 499.1 MB, free: 2.539 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.1749, allocations: 1.055 MB / 0.4884 GB, free: 1.422 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004859/0.1754, allocations: 0.8927 MB / 0.4893 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001754/0.1756, allocations: 79.28 kB / 0.4893 GB, free: 440 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.1757, allocations: 55.42 kB / 0.4894 GB, free: 384 kB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1757, allocations: 0 / 0.4894 GB, free: 384 kB / 366.1 MB Notification: Performance of Templates: time 0.01002/0.1857, allocations: 5.391 MB / 0.4947 GB, free: 11.02 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches