Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 97.14 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 172.3 kB / 18.25 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.3 MB / 242.3 MB, free: 264 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2248/0.2248, allocations: 44.25 MB / 337.7 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003737, allocations: 16 kB / 410.3 MB, free: 27.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1544, allocations: 61.92 MB / 472.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002273/0.1567, allocations: 1.421 MB / 473.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.1584, allocations: 0.8421 MB / 474.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.1585, allocations: 0 / 474.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003493/0.1588, allocations: 35.89 kB / 474.6 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.1591, allocations: 51.83 kB / 474.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.1594, allocations: 95.75 kB / 474.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.1596, allocations: 91.7 kB / 474.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.973e-05/0.1597, allocations: 12.22 kB / 474.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.621e-05/0.1598, allocations: 35.8 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.207e-05/0.1599, allocations: 27.84 kB / 474.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.1599, allocations: 8 kB / 474.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.16, allocations: 43.92 kB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.1601, allocations: 19.92 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.212e-05/0.1601, allocations: 61.42 kB / 475 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.1603, allocations: 111.9 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1604, allocations: 0 / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1604, allocations: 3.938 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.1604, allocations: 0 / 475.1 MB, free: 10.52 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.0005133/0.1609, allocations: 391.2 kB / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1609, allocations: 16.03 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.161, allocations: 16.75 kB / 475.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.1612, allocations: 216.7 kB / 475.7 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.1613, allocations: 384 / 475.7 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.1613, allocations: 8.125 kB / 475.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.1614, allocations: 53.67 kB / 475.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1615, allocations: 0 / 475.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1615, allocations: 0 / 475.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1615, allocations: 0 / 475.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.621e-05/0.1616, allocations: 23.98 kB / 475.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.1619, allocations: 292.8 kB / 476.1 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.1621, allocations: 54.67 kB / 476.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.13e-05/0.1622, allocations: 20.86 kB / 476.2 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.1622, allocations: 0 / 476.2 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.1624, allocations: 79.3 kB / 476.3 MB, free: 9.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.1624, allocations: 3.938 kB / 476.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005515/0.163, allocations: 173.2 kB / 476.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.163, allocations: 51.41 kB / 476.5 MB, free: 8.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.1632, allocations: 199.3 kB / 476.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.1632, allocations: 29.7 kB / 476.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/0.1633, allocations: 104.1 kB / 476.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.1633, allocations: 23.7 kB / 476.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.1634, allocations: 17.72 kB / 476.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1635, allocations: 326.8 kB / 477.2 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.856e-05/0.1636, allocations: 23.98 kB / 477.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-05/0.1637, allocations: 33.7 kB / 477.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.1638, allocations: 53.72 kB / 477.3 MB, free: 8.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1638, allocations: 0 / 477.3 MB, free: 8.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001805/0.164, allocations: 109.5 kB / 477.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.164, allocations: 4 kB / 477.4 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.164, allocations: 0 / 477.4 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.164, allocations: 4 kB / 477.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.172e-05/0.1641, allocations: 15.94 kB / 477.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.1641, allocations: 4.328 kB / 477.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.179e-05/0.1642, allocations: 7.938 kB / 477.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.1642, allocations: 19.95 kB / 477.4 MB, free: 7.949 MB / 350.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.0001017/0.1643, allocations: 121.8 kB / 477.6 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.1644, allocations: 15.8 kB / 477.6 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/0.1644, allocations: 17.41 kB / 477.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1644, allocations: 0 / 477.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1644, allocations: 0 / 477.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1645, allocations: 7.922 kB / 477.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004749/0.1649, allocations: 395.3 kB / 478 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1649, allocations: 3.984 kB / 478 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.165, allocations: 8 kB / 478 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.165, allocations: 0 / 478 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.165, allocations: 11.94 kB / 478 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.165, allocations: 0 / 478 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.165, allocations: 0 / 478 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.1653, allocations: 204.2 kB / 478.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.247e-05/0.1653, allocations: 93 kB / 478.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.1654, allocations: 7.938 kB / 478.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/0.1655, allocations: 0 / 478.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.1655, allocations: 7.984 kB / 478.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.1655, allocations: 8 kB / 478.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.1656, allocations: 148.9 kB / 478.5 MB, free: 6.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1657, allocations: 0 / 478.5 MB, free: 6.816 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.1659, allocations: 24 kB / 478.5 MB, free: 6.793 MB / 350.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.00111/0.1671, allocations: 484.6 kB / 479 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.1672, allocations: 47.98 kB / 479 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1673, allocations: 4.062 kB / 479 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.56e-05/0.1673, allocations: 39.86 kB / 479.1 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.1677, allocations: 23.98 kB / 479.1 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004763/0.1682, allocations: 258.4 kB / 479.3 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.1685, allocations: 0.7004 MB / 480 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.942e-05/0.1685, allocations: 21.17 kB / 480 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.882e-05/0.1686, allocations: 15.44 kB / 480.1 MB, free: 5.34 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1686, allocations: 4 kB / 480.1 MB, free: 5.336 MB / 350.1 MB Notification: Performance of Templates: time 0.004479/0.1731, allocations: 1.624 MB / 481.7 MB, free: 3.73 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches