Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008755/0.0008759, 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.001192/0.001192, 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.454/1.454, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.23/0.23, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003254, allocations: 8 kB / 419.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1482, allocations: 63.57 MB / 483.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002469/0.1507, allocations: 1.442 MB / 484.5 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002609/0.1534, allocations: 1.577 MB / 486.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.833e-05/0.1535, allocations: 4 kB / 486.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.1538, allocations: 31.84 kB / 486.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.1541, allocations: 87.73 kB / 486.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.1543, allocations: 59.88 kB / 486.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.1545, allocations: 103.6 kB / 486.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.1546, allocations: 11.98 kB / 486.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.107e-05/0.1547, allocations: 35.8 kB / 486.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.1549, allocations: 43.77 kB / 486.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.1549, allocations: 4 kB / 486.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.1551, allocations: 107.9 kB / 486.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.007e-05/0.1551, allocations: 15.92 kB / 486.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002651/0.1554, allocations: 57.52 kB / 486.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.1557, allocations: 167.8 kB / 486.8 MB, free: 368 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1557, allocations: 0 / 486.8 MB, free: 368 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1557, allocations: 0 / 486.8 MB, free: 368 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1557, allocations: 0 / 486.8 MB, free: 368 kB / 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.0008654/0.1566, allocations: 411.2 kB / 487.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.1567, allocations: 8.875 kB / 487.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.1567, allocations: 12.84 kB / 487.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.157, allocations: 212.6 kB / 487.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.1571, allocations: 3.938 kB / 487.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.1571, allocations: 4 kB / 487.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.1573, allocations: 71.33 kB / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1573, allocations: 0 / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.1573, allocations: 7.984 kB / 487.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.1573, allocations: 0 / 487.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.894e-05/0.1574, allocations: 23.98 kB / 487.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.1579, allocations: 284.8 kB / 487.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.158, allocations: 62.61 kB / 487.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.484e-05/0.1581, allocations: 16.86 kB / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.1581, allocations: 0 / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.1583, allocations: 71.39 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.826e-06/0.1583, allocations: 3.984 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005515/0.1589, allocations: 177.1 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.159, allocations: 81.05 kB / 488.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.1591, allocations: 162.5 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.1592, allocations: 29.7 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.1592, allocations: 104.1 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.1593, allocations: 23.64 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.1593, allocations: 13.72 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1594, allocations: 322.8 kB / 488.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.961e-05/0.1595, allocations: 20 kB / 488.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.396e-05/0.1596, allocations: 46.44 kB / 489 MB, free: 13.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.1597, allocations: 65.73 kB / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1597, allocations: 0 / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001856/0.1599, allocations: 97.52 kB / 489.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1599, allocations: 4 kB / 489.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.16, allocations: 4 kB / 489.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.16, allocations: 0 / 489.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.996e-05/0.1601, allocations: 12.38 kB / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.1601, allocations: 4.094 kB / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.175e-05/0.1602, allocations: 11.98 kB / 489.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.1602, allocations: 16.02 kB / 489.2 MB, free: 13.77 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.000223/0.1604, allocations: 120.6 kB / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.1605, allocations: 15.81 kB / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.241e-05/0.1605, allocations: 16.7 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1605, allocations: 0 / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.1605, allocations: 3.938 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.1605, allocations: 0 / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006472/0.1612, allocations: 399.3 kB / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1612, allocations: 4 kB / 489.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.002e-05/0.1612, allocations: 7.938 kB / 489.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1613, allocations: 4 kB / 489.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1613, allocations: 4.172 kB / 489.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1613, allocations: 0 / 489.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1613, allocations: 7.938 kB / 489.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.1615, allocations: 208.2 kB / 489.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.1617, allocations: 88.94 kB / 490 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.1617, allocations: 8 kB / 490 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.535e-05/0.1618, allocations: 4 kB / 490 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.1619, allocations: 3.984 kB / 490 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.1619, allocations: 4 kB / 490.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.162, allocations: 128.5 kB / 490.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.162, allocations: 0 / 490.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003079/0.1623, allocations: 51.98 kB / 490.2 MB, free: 12.61 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.001323/0.1636, allocations: 0.533 MB / 490.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.1638, allocations: 59.92 kB / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1639, allocations: 4.062 kB / 490.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.279e-05/0.1639, allocations: 27.92 kB / 490.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.1643, allocations: 27.92 kB / 490.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005435/0.1649, allocations: 230 kB / 491.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/0.1653, allocations: 0.7004 MB / 491.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.456e-05/0.1654, allocations: 17.19 kB / 491.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.1655, allocations: 15.44 kB / 491.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1655, allocations: 0 / 491.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of Templates: time 0.006226/0.1717, allocations: 2.288 MB / 494.1 MB, free: 8.848 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches