Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001906/0.001906, allocations: 117.9 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00181/0.001809, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2297/0.2297, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 84.86 kB / 417.1 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1553, allocations: 62.44 MB / 479.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.004683/0.1601, allocations: 1.789 MB / 481.3 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002999/0.1631, allocations: 1.013 MB / 482.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002522/0.1634, allocations: 0 / 482.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009392/0.1644, allocations: 83.77 kB / 482.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003801/0.1648, allocations: 99.7 kB / 482.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.1651, allocations: 59.89 kB / 482.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.1653, allocations: 123.6 kB / 482.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1655, allocations: 8 kB / 482.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.1656, allocations: 51.77 kB / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.1657, allocations: 67.75 kB / 482.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.1658, allocations: 8 kB / 482.8 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.1659, allocations: 43.98 kB / 482.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.085e-05/0.166, allocations: 23.86 kB / 482.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.141e-05/0.1661, allocations: 39.72 kB / 482.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.1664, allocations: 123.8 kB / 483 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1664, allocations: 0 / 483 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1664, allocations: 0 / 483 MB, free: 2.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1664, allocations: 0 / 483 MB, free: 2.07 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.0007139/0.1671, allocations: 421.2 kB / 483.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.1672, allocations: 16.03 kB / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.224e-05/0.1673, allocations: 12.75 kB / 483.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.1676, allocations: 212.6 kB / 483.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.1676, allocations: 4.375 kB / 483.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.1676, allocations: 8.031 kB / 483.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.1678, allocations: 53.67 kB / 483.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.1679, allocations: 0 / 483.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.1679, allocations: 7.922 kB / 483.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1679, allocations: 4 kB / 483.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.49e-05/0.168, allocations: 15.98 kB / 483.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.1685, allocations: 296.9 kB / 484 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.1688, allocations: 62.61 kB / 484.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.553e-05/0.1689, allocations: 16.86 kB / 484.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/0.1689, allocations: 4 kB / 484.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000283/0.1692, allocations: 67.39 kB / 484.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.1692, allocations: 0 / 484.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007487/0.17, allocations: 177 kB / 484.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.17, allocations: 55.41 kB / 484.4 MB, free: 496 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.1703, allocations: 224.2 kB / 484.6 MB, free: 260 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1704, allocations: 25.7 kB / 484.7 MB, free: 228 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.119e-05/0.1705, allocations: 112.1 kB / 484.8 MB, free: 112 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.1705, allocations: 23.66 kB / 484.8 MB, free: 88 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.785e-05/0.1706, allocations: 29.7 kB / 484.8 MB, free: 52 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.1708, allocations: 330.7 kB / 485.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-05/0.1709, allocations: 19.98 kB / 485.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.171, allocations: 37.7 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.1712, allocations: 57.7 kB / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1712, allocations: 0 / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000259/0.1714, allocations: 109.8 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.1715, allocations: 6.656 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1715, allocations: 0 / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1715, allocations: 4 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.1717, allocations: 19.98 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.1717, allocations: 0 / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.512e-05/0.1718, allocations: 11.88 kB / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.1718, allocations: 12.02 kB / 485.4 MB, free: 15.43 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.000138/0.1719, allocations: 132.5 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.172, allocations: 11.91 kB / 485.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.671e-05/0.172, allocations: 13.41 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.172, allocations: 4 kB / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1721, allocations: 0 / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.1721, allocations: 7.922 kB / 485.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005973/0.1727, allocations: 407.4 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1727, allocations: 3.938 kB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.344e-05/0.1727, allocations: 8 kB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1728, allocations: 3.984 kB / 486 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.1728, allocations: 7.938 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1728, allocations: 0 / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1728, allocations: 0 / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.1731, allocations: 204.3 kB / 486.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.312e-05/0.1732, allocations: 88.92 kB / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.1732, allocations: 7.938 kB / 486.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.598e-05/0.1733, allocations: 7.984 kB / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.1734, allocations: 4 kB / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.1734, allocations: 4.188 kB / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001775/0.1736, allocations: 169.2 kB / 486.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1736, allocations: 3.938 kB / 486.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003776/0.174, allocations: 24 kB / 486.5 MB, free: 14.23 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.001545/0.1756, allocations: 447.8 kB / 486.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002606/0.1758, allocations: 67.89 kB / 487 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1759, allocations: 4.062 kB / 487 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.176, allocations: 35.86 kB / 487 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004834/0.1765, allocations: 20.92 kB / 487.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006281/0.1771, allocations: 275.5 kB / 487.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.1775, allocations: 0.7119 MB / 488.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.544e-05/0.1776, allocations: 21.17 kB / 488.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.111e-05/0.1777, allocations: 19.44 kB / 488.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1777, allocations: 4 kB / 488.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of Templates: time 0.005439/0.1831, allocations: 1.706 MB / 489.8 MB, free: 11.05 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches