Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001099/0.0011, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001522/0.001522, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2247/0.2247, allocations: 46.09 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 71.89 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1532, allocations: 62.46 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.004324/0.1576, allocations: 1.738 MB / 483.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.1599, allocations: 1.025 MB / 484.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.1601, allocations: 7.938 kB / 484.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004479/0.1605, allocations: 103.7 kB / 484.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004416/0.161, allocations: 123.5 kB / 484.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.1613, allocations: 83.67 kB / 484.6 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.1616, allocations: 131.6 kB / 484.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.1617, allocations: 19.98 kB / 484.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.1619, allocations: 63.75 kB / 484.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.162, allocations: 67.75 kB / 484.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.162, allocations: 7.938 kB / 484.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.1622, allocations: 63.97 kB / 484.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.1624, allocations: 27.92 kB / 484.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.426e-05/0.1625, allocations: 51.66 kB / 485 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.1628, allocations: 147.5 kB / 485.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.1628, allocations: 8 kB / 485.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1628, allocations: 0 / 485.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.1629, allocations: 0 / 485.1 MB, free: 0.8594 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009737/0.1638, allocations: 462.5 kB / 485.6 MB, free: 368 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.1639, allocations: 11.97 kB / 485.6 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.573e-05/0.164, allocations: 16.84 kB / 485.6 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005249/0.1645, allocations: 220.9 kB / 485.8 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.1645, allocations: 384 / 485.8 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.1646, allocations: 20.11 kB / 485.8 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.1648, allocations: 65.61 kB / 485.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.1649, allocations: 0 / 485.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.1649, allocations: 4 kB / 485.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1649, allocations: 0 / 485.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.606e-05/0.165, allocations: 31.97 kB / 485.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/0.1655, allocations: 316.8 kB / 486.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.1658, allocations: 78.58 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.851e-05/0.1659, allocations: 28.84 kB / 486.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.1659, allocations: 0 / 486.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.1661, allocations: 75.36 kB / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.592e-06/0.1661, allocations: 4 kB / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008628/0.167, allocations: 280.9 kB / 486.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.1671, allocations: 63.28 kB / 486.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.1674, allocations: 251.8 kB / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.1674, allocations: 33.7 kB / 487.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.654e-05/0.1675, allocations: 112.1 kB / 487.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.1676, allocations: 35.45 kB / 487.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.1676, allocations: 25.72 kB / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1678, allocations: 334.8 kB / 487.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.539e-05/0.1679, allocations: 35.98 kB / 487.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.57e-05/0.1679, allocations: 45.7 kB / 487.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.1681, allocations: 85.7 kB / 487.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1682, allocations: 0 / 487.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002328/0.1684, allocations: 145.4 kB / 487.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1684, allocations: 8 kB / 487.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1684, allocations: 4.031 kB / 487.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1685, allocations: 0 / 487.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-05/0.1685, allocations: 27.92 kB / 487.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1686, allocations: 3.938 kB / 487.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.512e-05/0.1686, allocations: 4 kB / 487.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.1686, allocations: 8 kB / 487.9 MB, free: 13.84 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 (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.0001201/0.1688, allocations: 141.7 kB / 488 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.1688, allocations: 19.8 kB / 488.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.606e-05/0.1689, allocations: 25.41 kB / 488.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1689, allocations: 0 / 488.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.1689, allocations: 3.938 kB / 488.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1689, allocations: 3.984 kB / 488.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005695/0.1695, allocations: 479.9 kB / 488.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1695, allocations: 4 kB / 488.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.965e-05/0.1695, allocations: 16 kB / 488.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1695, allocations: 4 kB / 488.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.1696, allocations: 12 kB / 488.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1696, allocations: 0 / 488.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1696, allocations: 3.984 kB / 488.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.1699, allocations: 252.9 kB / 488.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-05/0.1699, allocations: 88.92 kB / 488.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.17, allocations: 7.984 kB / 489 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.617e-05/0.17, allocations: 8 kB / 489 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.1701, allocations: 11.92 kB / 489 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.1701, allocations: 4 kB / 489 MB, free: 12.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001589/0.1703, allocations: 197.5 kB / 489.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1703, allocations: 0 / 489.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.1706, allocations: 35.98 kB / 489.2 MB, free: 12.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001274/0.1718, allocations: 0.5059 MB / 489.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.1721, allocations: 91.84 kB / 489.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1721, allocations: 0 / 489.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.417e-05/0.1722, allocations: 47.91 kB / 489.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.1727, allocations: 35.48 kB / 489.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006546/0.1733, allocations: 312.8 kB / 490.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.1738, allocations: 0.724 MB / 490.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.81e-05/0.1738, allocations: 25.06 kB / 490.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.1739, allocations: 23.42 kB / 491 MB, free: 10.81 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1739, allocations: 4 kB / 491 MB, free: 10.8 MB / 366.1 MB Notification: Performance of Templates: time 0.005487/0.1794, allocations: 2.087 MB / 493 MB, free: 8.734 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches