Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001827/0.001827, allocations: 109 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002639/0.002639, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2257/0.2257, allocations: 46.1 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 76.75 kB / 416.9 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1568, allocations: 62.45 MB / 479.3 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.004267/0.1611, allocations: 1.789 MB / 481.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.1629, allocations: 1.013 MB / 482.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.992e-05/0.1631, allocations: 4 kB / 482.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003608/0.1635, allocations: 83.77 kB / 482.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.1638, allocations: 103.6 kB / 482.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.1641, allocations: 55.89 kB / 482.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.1643, allocations: 111.7 kB / 482.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1644, allocations: 8 kB / 482.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.1645, allocations: 55.7 kB / 482.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.1647, allocations: 55.77 kB / 482.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.1647, allocations: 4 kB / 482.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.1648, allocations: 43.97 kB / 482.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.436e-05/0.1649, allocations: 19.92 kB / 482.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.461e-05/0.165, allocations: 35.69 kB / 482.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.1652, allocations: 131.8 kB / 482.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1652, allocations: 0 / 482.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1652, allocations: 0 / 482.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1653, allocations: 0 / 482.8 MB, free: 2.18 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.0006953/0.166, allocations: 430.9 kB / 483.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.166, allocations: 12.88 kB / 483.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.716e-05/0.1661, allocations: 12.75 kB / 483.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.1663, allocations: 204.6 kB / 483.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.1664, allocations: 4.375 kB / 483.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.1664, allocations: 12.03 kB / 483.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.1666, allocations: 53.61 kB / 483.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.1666, allocations: 4 kB / 483.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.1666, allocations: 8 kB / 483.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.1667, allocations: 0 / 483.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.461e-05/0.1668, allocations: 15.98 kB / 483.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.1672, allocations: 288.9 kB / 483.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.1674, allocations: 66.56 kB / 483.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.431e-05/0.1675, allocations: 24.84 kB / 483.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.1675, allocations: 7.984 kB / 483.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.1677, allocations: 63.39 kB / 484 MB, free: 0.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1677, allocations: 0 / 484 MB, free: 0.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005863/0.1683, allocations: 181 kB / 484.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.1683, allocations: 51.41 kB / 484.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.1687, allocations: 223.5 kB / 484.4 MB, free: 364 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.1687, allocations: 33.7 kB / 484.5 MB, free: 324 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.1688, allocations: 104.1 kB / 484.6 MB, free: 216 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.1688, allocations: 23.66 kB / 484.6 MB, free: 192 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.1688, allocations: 25.7 kB / 484.6 MB, free: 160 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.169, allocations: 330.8 kB / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.777e-05/0.169, allocations: 12 kB / 484.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.866e-05/0.1691, allocations: 45.64 kB / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.1693, allocations: 57.7 kB / 485 MB, free: 15.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1693, allocations: 0 / 485 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001982/0.1695, allocations: 109.4 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1695, allocations: 4 kB / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1695, allocations: 0 / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1695, allocations: 4 kB / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.1696, allocations: 16 kB / 485.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1697, allocations: 7.969 kB / 485.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.219e-05/0.1697, allocations: 11.92 kB / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.1697, allocations: 4 kB / 485.2 MB, free: 15.54 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.0001074/0.1698, allocations: 129.8 kB / 485.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.1699, allocations: 15.89 kB / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.736e-05/0.1699, allocations: 17.39 kB / 485.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1699, allocations: 4 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.17, allocations: 0 / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.17, allocations: 3.938 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004463/0.1704, allocations: 403.2 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1704, allocations: 0 / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.242e-05/0.1705, allocations: 8 kB / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1705, allocations: 4 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.1705, allocations: 12.3 kB / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1705, allocations: 192 / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.1705, allocations: 4 kB / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.1708, allocations: 212.4 kB / 486 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.1708, allocations: 84.92 kB / 486.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.1708, allocations: 11.94 kB / 486.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.901e-05/0.1709, allocations: 0 / 486.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.171, allocations: 7.984 kB / 486.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.171, allocations: 4 kB / 486.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.1711, allocations: 173.2 kB / 486.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1711, allocations: 0 / 486.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1714, allocations: 20 kB / 486.3 MB, free: 14.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.001149/0.1726, allocations: 456 kB / 486.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.1728, allocations: 59.91 kB / 486.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1728, allocations: 0 / 486.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.029e-05/0.1729, allocations: 24 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.1733, allocations: 31.59 kB / 486.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005991/0.1739, allocations: 277.2 kB / 487.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.1742, allocations: 0.716 MB / 487.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.551e-05/0.1743, allocations: 17.19 kB / 487.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.512e-05/0.1743, allocations: 19.42 kB / 487.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of SimCode: time 3.577e-06/0.1744, allocations: 0 / 487.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of Templates: time 0.00503/0.1794, allocations: 1.67 MB / 489.5 MB, free: 11.21 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches