Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009088/0.0009088, allocations: 99.09 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00163/0.00163, allocations: 200.2 kB / 17.91 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 227.7 MB / 246.4 MB, free: 9.824 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2281/0.2281, allocations: 46.18 MB / 344.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002878, allocations: 12 kB / 418.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.148, allocations: 63.58 MB / 482.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002269/0.1503, allocations: 1.415 MB / 483.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.152, allocations: 0.9362 MB / 484.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.1522, allocations: 0 / 484.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.1526, allocations: 27.91 kB / 484.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003777/0.153, allocations: 79.69 kB / 484.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.1532, allocations: 67.8 kB / 484.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.1535, allocations: 83.7 kB / 485 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.1536, allocations: 19.97 kB / 485 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.1537, allocations: 39.78 kB / 485.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.716e-05/0.1538, allocations: 27.86 kB / 485.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.1538, allocations: 0 / 485.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.154, allocations: 43.92 kB / 485.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.154, allocations: 19.91 kB / 485.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.797e-05/0.1541, allocations: 37.7 kB / 485.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.1543, allocations: 88.03 kB / 485.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1543, allocations: 0 / 485.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1543, allocations: 0 / 485.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1543, allocations: 0 / 485.3 MB, free: 1.621 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.0005882/0.1549, allocations: 406.9 kB / 485.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1549, allocations: 11.97 kB / 485.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.155, allocations: 11.91 kB / 485.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.1553, allocations: 207.5 kB / 485.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.1553, allocations: 4 kB / 485.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.1554, allocations: 4 kB / 485.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.1555, allocations: 57.61 kB / 486 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1556, allocations: 0 / 486 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.1556, allocations: 4 kB / 486 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.1556, allocations: 3.984 kB / 486 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.668e-05/0.1557, allocations: 12 kB / 486 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/0.1562, allocations: 300.8 kB / 486.3 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.1564, allocations: 54.62 kB / 486.4 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.667e-05/0.1564, allocations: 20.84 kB / 486.4 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.1565, allocations: 0 / 486.4 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.1567, allocations: 71.38 kB / 486.4 MB, free: 316 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1567, allocations: 0 / 486.4 MB, free: 316 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006056/0.1573, allocations: 173.2 kB / 486.6 MB, free: 136 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.1573, allocations: 55.41 kB / 486.7 MB, free: 68 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.1576, allocations: 190.8 kB / 486.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.1576, allocations: 29.7 kB / 486.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.869e-05/0.1577, allocations: 116 kB / 487 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.1577, allocations: 23.72 kB / 487 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.1577, allocations: 0 / 487 MB, free: 15.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1579, allocations: 330.8 kB / 487.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.289e-05/0.1579, allocations: 12 kB / 487.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.573e-05/0.158, allocations: 41.64 kB / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.262e-05/0.1581, allocations: 24 kB / 487.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1581, allocations: 0 / 487.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002011/0.1583, allocations: 105.5 kB / 487.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1583, allocations: 4 kB / 487.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1583, allocations: 4 kB / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1584, allocations: 0 / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.372e-05/0.1585, allocations: 19.92 kB / 487.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.1585, allocations: 0 / 487.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.276e-05/0.1585, allocations: 7.938 kB / 487.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.1586, allocations: 11.95 kB / 487.6 MB, free: 15.12 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001227/0.1587, allocations: 128.7 kB / 487.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.1587, allocations: 7.906 kB / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.644e-05/0.1588, allocations: 17.41 kB / 487.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1588, allocations: 0 / 487.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1588, allocations: 0 / 487.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.1588, allocations: 0 / 487.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004736/0.1593, allocations: 395.3 kB / 488.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1593, allocations: 384 / 488.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.401e-05/0.1593, allocations: 16.03 kB / 488.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.1593, allocations: 7.984 kB / 488.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.1594, allocations: 4 kB / 488.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1594, allocations: 4.172 kB / 488.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.1594, allocations: 7.938 kB / 488.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.1596, allocations: 208.2 kB / 488.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.1597, allocations: 85.02 kB / 488.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.1597, allocations: 4 kB / 488.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.1598, allocations: 7.984 kB / 488.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.1599, allocations: 11.95 kB / 488.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.1599, allocations: 4 kB / 488.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.16, allocations: 152.7 kB / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.16, allocations: 192 / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.1603, allocations: 23.98 kB / 488.6 MB, free: 13.96 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001076/0.1614, allocations: 466.4 kB / 489.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.1616, allocations: 51.98 kB / 489.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1616, allocations: 0 / 489.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.168e-05/0.1617, allocations: 28.05 kB / 489.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.162, allocations: 39.81 kB / 489.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/0.1625, allocations: 242.2 kB / 489.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.1628, allocations: 0.7043 MB / 490.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.833e-05/0.1629, allocations: 17.17 kB / 490.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.1629, allocations: 15.44 kB / 490.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1629, allocations: 0 / 490.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of Templates: time 0.004736/0.1677, allocations: 1.622 MB / 491.8 MB, free: 10.9 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches