Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001297/0.001297, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.1 MB / 222.5 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 116.7 kB / 269.9 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3986/0.3986, allocations: 43.49 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 59.91 kB / 429.2 MB, free: 6.363 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1366, allocations: 57.77 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003969/0.1407, allocations: 1.849 MB / 488.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.1424, allocations: 0.8741 MB / 489.7 MB, free: 9.777 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.1425, allocations: 0 / 489.7 MB, free: 9.777 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005356/0.1431, allocations: 299.4 kB / 490 MB, free: 9.484 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004221/0.1436, allocations: 203.5 kB / 490.2 MB, free: 9.285 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004279/0.144, allocations: 127.8 kB / 490.4 MB, free: 9.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003697/0.1444, allocations: 231.4 kB / 490.6 MB, free: 8.934 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.118e-05/0.1445, allocations: 13.55 kB / 490.6 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.1447, allocations: 119.5 kB / 490.7 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000275/0.145, allocations: 191.5 kB / 490.9 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.145, allocations: 4 kB / 490.9 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.1452, allocations: 43.97 kB / 490.9 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.1453, allocations: 135.6 kB / 491.1 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.1455, allocations: 154.8 kB / 491.2 MB, free: 8.277 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004218/0.1459, allocations: 350.9 kB / 491.6 MB, free: 7.934 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.146, allocations: 4 kB / 491.6 MB, free: 7.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.146, allocations: 0 / 491.6 MB, free: 7.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.146, allocations: 0 / 491.6 MB, free: 7.93 MB / 378.7 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.001022/0.147, allocations: 0.7269 MB / 492.3 MB, free: 7.152 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.1471, allocations: 8.031 kB / 492.3 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.122e-05/0.1472, allocations: 44.38 kB / 492.4 MB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000612/0.1478, allocations: 455.7 kB / 492.8 MB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.1478, allocations: 12.25 kB / 492.8 MB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1478, allocations: 8.125 kB / 492.8 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.148, allocations: 79.38 kB / 492.9 MB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1481, allocations: 0 / 492.9 MB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.1481, allocations: 7.984 kB / 492.9 MB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.1481, allocations: 4 kB / 492.9 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.1482, allocations: 27.92 kB / 492.9 MB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.1487, allocations: 374.4 kB / 493.3 MB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.149, allocations: 101.2 kB / 493.4 MB, free: 5.934 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.912e-05/0.1491, allocations: 49.62 kB / 493.4 MB, free: 5.879 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.1491, allocations: 7.938 kB / 493.5 MB, free: 5.871 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002989/0.1494, allocations: 97.08 kB / 493.5 MB, free: 5.758 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.764e-06/0.1494, allocations: 4 kB / 493.6 MB, free: 5.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004825/0.1499, allocations: 197.4 kB / 493.7 MB, free: 5.555 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.15, allocations: 93.09 kB / 493.8 MB, free: 5.445 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.1511, allocations: 1.026 MB / 494.9 MB, free: 4.406 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1511, allocations: 33.69 kB / 494.9 MB, free: 4.367 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.1513, allocations: 232 kB / 495.1 MB, free: 4.137 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.748e-05/0.1513, allocations: 27.64 kB / 495.1 MB, free: 4.109 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/0.1514, allocations: 33.7 kB / 495.2 MB, free: 4.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1515, allocations: 366.8 kB / 495.5 MB, free: 3.703 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.913e-05/0.1516, allocations: 35.92 kB / 495.6 MB, free: 3.668 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.1518, allocations: 59.42 kB / 495.6 MB, free: 3.598 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.1519, allocations: 91.34 kB / 495.7 MB, free: 3.496 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1519, allocations: 0 / 495.7 MB, free: 3.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002934/0.1522, allocations: 168.9 kB / 495.9 MB, free: 3.324 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1523, allocations: 4 kB / 495.9 MB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.1523, allocations: 4 kB / 495.9 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1523, allocations: 0 / 495.9 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.1524, allocations: 27.92 kB / 495.9 MB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.1525, allocations: 4 kB / 495.9 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.1526, allocations: 11.92 kB / 495.9 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.1526, allocations: 7.938 kB / 495.9 MB, free: 3.266 MB / 378.7 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.0002135/0.1528, allocations: 237.6 kB / 496.2 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.1529, allocations: 47.34 kB / 496.2 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.038e-05/0.153, allocations: 63.98 kB / 496.3 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.153, allocations: 3.938 kB / 496.3 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.153, allocations: 4 kB / 496.3 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.153, allocations: 0 / 496.3 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.1533, allocations: 345.6 kB / 496.6 MB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1533, allocations: 4 kB / 496.6 MB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.441e-05/0.1534, allocations: 7.938 kB / 496.6 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1534, allocations: 8 kB / 496.7 MB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1534, allocations: 0 / 496.7 MB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1534, allocations: 0 / 496.7 MB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1534, allocations: 4 kB / 496.7 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007406/0.1541, allocations: 0.8735 MB / 497.5 MB, free: 1.559 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.1543, allocations: 144.4 kB / 497.7 MB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.1544, allocations: 0 / 497.7 MB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.1544, allocations: 11.98 kB / 497.7 MB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.1545, allocations: 11.92 kB / 497.7 MB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.1545, allocations: 7.938 kB / 497.7 MB, free: 1.367 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007901/0.1553, allocations: 0.7682 MB / 498.5 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1553, allocations: 0 / 498.5 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003683/0.1557, allocations: 43.98 kB / 498.5 MB, free: 0.5586 MB / 378.7 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.000906/0.1566, allocations: 422.2 kB / 498.9 MB, free: 192 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.1569, allocations: 79.91 kB / 499 MB, free: 112 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1569, allocations: 0 / 499 MB, free: 112 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.157, allocations: 43.91 kB / 499 MB, free: 68 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.1575, allocations: 70.06 kB / 499.1 MB, free: 0 / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.1589, allocations: 1.078 MB / 0.4885 GB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.1594, allocations: 0.8469 MB / 0.4893 GB, free: 14.01 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001743/0.1595, allocations: 54.95 kB / 0.4893 GB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.069e-05/0.1596, allocations: 27.42 kB / 0.4894 GB, free: 13.92 MB / 394.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1596, allocations: 0 / 0.4894 GB, free: 13.92 MB / 394.7 MB Notification: Performance of Templates: time 0.008322/0.168, allocations: 3.669 MB / 0.493 GB, free: 10.26 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches