Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001291/0.001291, allocations: 104.2 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001267, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 246.3 MB, free: 10.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2446/0.2446, allocations: 46.11 MB / 343.7 MB, free: 11.79 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 80.75 kB / 416.9 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.141, allocations: 62.45 MB / 479.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003549/0.1446, allocations: 1.879 MB / 481.3 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.1466, allocations: 1.096 MB / 482.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.752e-05/0.1467, allocations: 3.938 kB / 482.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006144/0.1473, allocations: 299.4 kB / 482.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004302/0.1478, allocations: 235.4 kB / 482.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.148, allocations: 91.84 kB / 483 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000336/0.1483, allocations: 251.3 kB / 483.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.053e-05/0.1484, allocations: 17.61 kB / 483.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.1486, allocations: 119.5 kB / 483.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002496/0.1488, allocations: 199.4 kB / 483.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.1489, allocations: 7.984 kB / 483.6 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.149, allocations: 39.98 kB / 483.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.1492, allocations: 131.6 kB / 483.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.1493, allocations: 150.7 kB / 483.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003895/0.1497, allocations: 363 kB / 484.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1497, allocations: 0 / 484.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1497, allocations: 4 kB / 484.2 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.1498, allocations: 0 / 484.2 MB, free: 0.8164 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001012/0.1508, allocations: 0.7385 MB / 485 MB, free: 28 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.1508, allocations: 8.875 kB / 485 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.1509, allocations: 52.33 kB / 485 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000577/0.1515, allocations: 455.7 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.1515, allocations: 4.359 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.1516, allocations: 12.12 kB / 485.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.1518, allocations: 79.38 kB / 485.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1518, allocations: 0 / 485.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.1518, allocations: 7.984 kB / 485.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1518, allocations: 4 kB / 485.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.152, allocations: 27.92 kB / 485.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.1524, allocations: 378.4 kB / 486 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.1527, allocations: 105.2 kB / 486.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.1528, allocations: 45.58 kB / 486.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.1529, allocations: 3.984 kB / 486.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000308/0.1532, allocations: 113.1 kB / 486.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.1532, allocations: 0 / 486.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.000512/0.1537, allocations: 200.9 kB / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.1538, allocations: 77.11 kB / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.155, allocations: 1.05 MB / 487.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.155, allocations: 33.64 kB / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.1552, allocations: 240.1 kB / 487.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.1553, allocations: 27.64 kB / 487.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.423e-05/0.1553, allocations: 29.7 kB / 487.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.1555, allocations: 370.8 kB / 488.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-05/0.1556, allocations: 31.92 kB / 488.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.1557, allocations: 59.36 kB / 488.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.1559, allocations: 91.84 kB / 488.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.156, allocations: 4 kB / 488.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003095/0.1563, allocations: 168.9 kB / 488.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.1563, allocations: 6.5 kB / 488.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.1563, allocations: 7.984 kB / 488.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1563, allocations: 4.062 kB / 488.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.1565, allocations: 23.94 kB / 488.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1565, allocations: 0 / 488.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.671e-05/0.1566, allocations: 15.83 kB / 488.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.1566, allocations: 8 kB / 488.7 MB, free: 12.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002396/0.1569, allocations: 222.2 kB / 488.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.1569, allocations: 51.34 kB / 488.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.138e-05/0.157, allocations: 64.14 kB / 489 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.157, allocations: 0 / 489 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.157, allocations: 4 kB / 489 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.157, allocations: 0 / 489 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.1574, allocations: 349.4 kB / 489.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1574, allocations: 0 / 489.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-05/0.1574, allocations: 11.92 kB / 489.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1575, allocations: 4 kB / 489.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1575, allocations: 0 / 489.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1575, allocations: 4.125 kB / 489.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1575, allocations: 4 kB / 489.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.1578, allocations: 213.2 kB / 489.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.158, allocations: 132.5 kB / 489.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.158, allocations: 7.984 kB / 489.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.989e-05/0.1581, allocations: 4 kB / 489.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.1582, allocations: 11.98 kB / 489.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.1582, allocations: 4 kB / 489.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008586/0.1591, allocations: 0.7839 MB / 490.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1591, allocations: 4 kB / 490.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.1594, allocations: 47.98 kB / 490.6 MB, free: 10.11 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001505/0.1609, allocations: 409.2 kB / 491 MB, free: 9.836 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002603/0.1611, allocations: 83.84 kB / 491 MB, free: 9.754 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.1612, allocations: 4 kB / 491 MB, free: 9.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.1613, allocations: 32.11 kB / 491.1 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.1617, allocations: 80.25 kB / 491.1 MB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.1631, allocations: 0.9738 MB / 492.1 MB, free: 8.637 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.1636, allocations: 0.8468 MB / 493 MB, free: 7.762 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.1637, allocations: 58.94 kB / 493 MB, free: 7.707 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.275e-05/0.1638, allocations: 27.42 kB / 493.1 MB, free: 7.68 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1638, allocations: 4 kB / 493.1 MB, free: 7.676 MB / 366.1 MB Notification: Performance of Templates: time 0.008325/0.1721, allocations: 3.605 MB / 496.7 MB, free: 4.082 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches