Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001124/0.001124, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001605/0.001605, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, 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.2147/0.2147, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002962/0.0002963, allocations: 8 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1587, allocations: 63.55 MB / 483.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002195/0.1609, allocations: 1.454 MB / 484.5 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1626, allocations: 0.9902 MB / 485.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.377e-05/0.1627, allocations: 0 / 485.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.163, allocations: 39.84 kB / 485.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.1633, allocations: 75.75 kB / 485.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.1634, allocations: 63.86 kB / 485.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.1636, allocations: 99.64 kB / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1638, allocations: 15.98 kB / 485.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.309e-05/0.1639, allocations: 39.78 kB / 485.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.351e-05/0.1639, allocations: 31.8 kB / 485.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.164, allocations: 0 / 485.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.1641, allocations: 43.97 kB / 485.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.123e-05/0.1642, allocations: 23.86 kB / 486 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.738e-05/0.1642, allocations: 57.44 kB / 486 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.1645, allocations: 119.9 kB / 486.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1645, allocations: 4 kB / 486.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1645, allocations: 0 / 486.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.299e-06/0.1645, allocations: 0 / 486.1 MB, free: 1.066 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.0006197/0.1651, allocations: 397.6 kB / 486.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.1652, allocations: 8.875 kB / 486.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.1652, allocations: 12.84 kB / 486.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.1655, allocations: 216.7 kB / 486.8 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.1655, allocations: 4.375 kB / 486.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.1655, allocations: 8.062 kB / 486.8 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.1657, allocations: 57.67 kB / 486.8 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1657, allocations: 0 / 486.8 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1657, allocations: 0 / 486.8 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1657, allocations: 0 / 486.8 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.052e-05/0.1658, allocations: 23.98 kB / 486.8 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.1663, allocations: 284.9 kB / 487.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.1665, allocations: 66.61 kB / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.416e-05/0.1666, allocations: 20.84 kB / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1666, allocations: 0 / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001862/0.1668, allocations: 67.39 kB / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1668, allocations: 0 / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000568/0.1674, allocations: 185.1 kB / 487.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.1675, allocations: 51.41 kB / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.1677, allocations: 194.9 kB / 487.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.1677, allocations: 25.7 kB / 487.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.677e-05/0.1678, allocations: 108.1 kB / 487.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.1678, allocations: 15.72 kB / 487.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.1678, allocations: 21.66 kB / 487.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1679, allocations: 334.8 kB / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.626e-05/0.168, allocations: 20 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.864e-05/0.1681, allocations: 33.7 kB / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.1682, allocations: 57.7 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1682, allocations: 0 / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001849/0.1684, allocations: 101.4 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1684, allocations: 8.031 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1684, allocations: 4 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1684, allocations: 0 / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.495e-05/0.1685, allocations: 16.36 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1685, allocations: 3.938 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.085e-05/0.1686, allocations: 11.94 kB / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.1686, allocations: 8.188 kB / 488.5 MB, free: 14.52 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 9.424e-05/0.1687, allocations: 124.5 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.1687, allocations: 11.84 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.657e-05/0.1688, allocations: 25.39 kB / 488.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1688, allocations: 0 / 488.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1688, allocations: 3.938 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.1688, allocations: 3.938 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004109/0.1692, allocations: 395.2 kB / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1693, allocations: 0 / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.501e-05/0.1693, allocations: 11.98 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1693, allocations: 0 / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-05/0.1694, allocations: 15.97 kB / 489 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1694, allocations: 0 / 489 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1694, allocations: 0 / 489 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.1696, allocations: 200.2 kB / 489.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.184e-05/0.1697, allocations: 96.91 kB / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.1698, allocations: 7.938 kB / 489.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.1698, allocations: 4 kB / 489.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.1699, allocations: 11.98 kB / 489.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.1699, allocations: 4 kB / 489.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001731/0.1701, allocations: 152.7 kB / 489.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1701, allocations: 0 / 489.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.1703, allocations: 20 kB / 489.5 MB, free: 13.34 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.00105/0.1714, allocations: 463.5 kB / 490 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.1716, allocations: 59.91 kB / 490 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1716, allocations: 0 / 490 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.425e-05/0.1717, allocations: 31.92 kB / 490.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.172, allocations: 23.98 kB / 490.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004245/0.1725, allocations: 250.3 kB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.1728, allocations: 0.7121 MB / 491 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.354e-05/0.1728, allocations: 12.89 kB / 491.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.1729, allocations: 23.42 kB / 491.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1729, allocations: 0 / 491.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of Templates: time 0.004482/0.1774, allocations: 1.643 MB / 492.7 MB, free: 10.25 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches