Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 177.1 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 90.62 kB / 261.8 MB, free: 1.613 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.2175/0.2175, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.267e-05/2.265e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.112, allocations: 58.86 MB / 477.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4091/0.5212, allocations: 86.82 MB / 0.5507 GB, free: 8.152 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.5215, allocations: 80.23 kB / 0.5508 GB, free: 8.113 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01416/0.5357, allocations: 6.429 MB / 0.5571 GB, free: 2.902 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.5357, allocations: 0 / 0.5571 GB, free: 2.902 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.662e-05/0.5358, allocations: 12 kB / 0.5571 GB, free: 2.891 MB / 362.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.0005706/0.5364, allocations: 0.5948 MB / 0.5577 GB, free: 2.277 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.5364, allocations: 16.02 kB / 0.5577 GB, free: 2.262 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.568e-05/0.5365, allocations: 47.44 kB / 0.5577 GB, free: 2.215 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006289/0.5371, allocations: 482.9 kB / 0.5582 GB, free: 1.754 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.5372, allocations: 0 / 0.5582 GB, free: 1.754 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.5372, allocations: 4 kB / 0.5582 GB, free: 1.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001/0.5373, allocations: 30.42 kB / 0.5582 GB, free: 1.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.5374, allocations: 84.88 kB / 0.5583 GB, free: 1.645 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.5374, allocations: 0 / 0.5583 GB, free: 1.645 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.5375, allocations: 0 / 0.5583 GB, free: 1.645 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.5375, allocations: 0 / 0.5583 GB, free: 1.645 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003131/0.5378, allocations: 365.5 kB / 0.5587 GB, free: 1.305 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.5379, allocations: 86.47 kB / 0.5587 GB, free: 1.219 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.917e-05/0.538, allocations: 43.98 kB / 0.5588 GB, free: 1.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.538, allocations: 4 kB / 0.5588 GB, free: 1.176 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.5382, allocations: 102.8 kB / 0.5589 GB, free: 1.074 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.5382, allocations: 0 / 0.5589 GB, free: 1.074 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.000305/0.5385, allocations: 160.1 kB / 0.559 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.5385, allocations: 84.36 kB / 0.5591 GB, free: 0.832 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000942/0.5395, allocations: 0.9015 MB / 0.56 GB, free: 140 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.5395, allocations: 33.7 kB / 0.56 GB, free: 100 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.5397, allocations: 230.3 kB / 0.5602 GB, free: 15.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.355e-05/0.5397, allocations: 27.33 kB / 0.5603 GB, free: 15.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.5398, allocations: 0 / 0.5603 GB, free: 15.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.5399, allocations: 373.9 kB / 0.5606 GB, free: 15.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.528e-05/0.54, allocations: 19.75 kB / 0.5606 GB, free: 15.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.992e-05/0.5401, allocations: 55.11 kB / 0.5607 GB, free: 15.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.938e-05/0.5401, allocations: 35.8 kB / 0.5607 GB, free: 15.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5401, allocations: 0 / 0.5607 GB, free: 15.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002357/0.5404, allocations: 156.3 kB / 0.5609 GB, free: 15.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.5404, allocations: 4 kB / 0.5609 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.5404, allocations: 4 kB / 0.5609 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.5405, allocations: 3.984 kB / 0.5609 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.5406, allocations: 23.8 kB / 0.5609 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.5406, allocations: 4.062 kB / 0.5609 GB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.5407, allocations: 19.84 kB / 0.5609 GB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.5407, allocations: 4 kB / 0.5609 GB, free: 15.31 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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.5408, allocations: 120.7 kB / 0.5611 GB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.533e-05/0.5409, allocations: 47.44 kB / 0.5611 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003135/0.5412, allocations: 191.7 kB / 0.5613 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.5413, allocations: 4 kB / 0.5613 GB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5413, allocations: 0 / 0.5613 GB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.5413, allocations: 7.984 kB / 0.5613 GB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/0.5417, allocations: 358.2 kB / 0.5616 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5417, allocations: 0 / 0.5616 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.68e-05/0.5417, allocations: 19.94 kB / 0.5617 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.5418, allocations: 0 / 0.5617 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.5418, allocations: 0 / 0.5617 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5418, allocations: 4 kB / 0.5617 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.5418, allocations: 256 / 0.5617 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.5421, allocations: 225.3 kB / 0.5619 GB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002507/0.5424, allocations: 195.6 kB / 0.5621 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.164e-05/0.5424, allocations: 4 kB / 0.5621 GB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.799e-05/0.5425, allocations: 11.98 kB / 0.5621 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.5426, allocations: 7.984 kB / 0.5621 GB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.5426, allocations: 7.938 kB / 0.5621 GB, free: 14.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007824/0.5434, allocations: 0.7163 MB / 0.5628 GB, free: 13.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5434, allocations: 4 kB / 0.5628 GB, free: 13.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003225/0.5437, allocations: 76 kB / 0.5629 GB, free: 13.57 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.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008598/0.5446, allocations: 355.7 kB / 0.5632 GB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001594/0.5448, allocations: 71.11 kB / 0.5633 GB, free: 13.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.5448, allocations: 128 / 0.5633 GB, free: 13.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.727e-05/0.5449, allocations: 43.55 kB / 0.5633 GB, free: 13.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.5453, allocations: 73.61 kB / 0.5634 GB, free: 13.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.5464, allocations: 0.7667 MB / 0.5641 GB, free: 12.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/0.5469, allocations: 0.8542 MB / 0.565 GB, free: 11.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.547, allocations: 98.56 kB / 0.5651 GB, free: 11.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.5471, allocations: 39.31 kB / 0.5651 GB, free: 11.43 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5471, allocations: 0 / 0.5651 GB, free: 11.43 MB / 378.7 MB Notification: Performance of Templates: time 0.00801/0.5552, allocations: 3.959 MB / 0.569 GB, free: 7.5 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches