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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008556/0.0008557, allocations: 183.2 kB / 7.803 MB, free: 2.141 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.053/1.053, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0007759/0.0007759, allocations: 89.22 kB / 261.4 MB, free: 13.53 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.1503/0.1503, allocations: 43.5 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.536e-06/8.557e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2325, allocations: 58.83 MB / 476.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1067/0.3392, allocations: 86.76 MB / 0.5501 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.3395, allocations: 71.97 kB / 0.5502 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01486/0.3543, allocations: 6.075 MB / 0.5561 GB, free: 6.113 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.204e-05/0.3544, allocations: 4 kB / 0.5561 GB, free: 6.109 MB / 394.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.0006123/0.355, allocations: 0.5948 MB / 0.5567 GB, free: 5.469 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3551, allocations: 16.02 kB / 0.5567 GB, free: 5.453 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.275e-05/0.3552, allocations: 47.34 kB / 0.5568 GB, free: 5.406 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007208/0.3559, allocations: 475.1 kB / 0.5572 GB, free: 4.898 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.3559, allocations: 4 kB / 0.5572 GB, free: 4.895 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.3559, allocations: 0 / 0.5572 GB, free: 4.895 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001026/0.356, allocations: 39.92 kB / 0.5573 GB, free: 4.855 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.3562, allocations: 75.31 kB / 0.5573 GB, free: 4.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3562, allocations: 11.91 kB / 0.5573 GB, free: 4.758 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.3562, allocations: 4 kB / 0.5573 GB, free: 4.754 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3562, allocations: 0 / 0.5573 GB, free: 4.754 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/0.3566, allocations: 354.9 kB / 0.5577 GB, free: 4.367 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.3567, allocations: 97.22 kB / 0.5578 GB, free: 4.254 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.573e-05/0.3568, allocations: 37.8 kB / 0.5578 GB, free: 4.211 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.3568, allocations: 4 kB / 0.5578 GB, free: 4.207 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001305/0.3569, allocations: 101 kB / 0.5579 GB, free: 4.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.3569, allocations: 0 / 0.5579 GB, free: 4.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002701/0.3572, allocations: 141.1 kB / 0.558 GB, free: 3.945 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.3573, allocations: 85.02 kB / 0.5581 GB, free: 3.844 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.3583, allocations: 0.9005 MB / 0.559 GB, free: 2.938 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.3583, allocations: 29.7 kB / 0.559 GB, free: 2.902 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.309e-05/0.3584, allocations: 136.1 kB / 0.5592 GB, free: 2.766 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.3584, allocations: 23.72 kB / 0.5592 GB, free: 2.742 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-06/0.3585, allocations: 4 kB / 0.5592 GB, free: 2.738 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3586, allocations: 366.8 kB / 0.5595 GB, free: 2.371 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.439e-05/0.3586, allocations: 27.98 kB / 0.5596 GB, free: 2.344 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.73e-05/0.3587, allocations: 53.12 kB / 0.5596 GB, free: 2.281 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.305e-05/0.3588, allocations: 27.98 kB / 0.5596 GB, free: 2.254 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3588, allocations: 4 kB / 0.5596 GB, free: 2.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002093/0.359, allocations: 156.9 kB / 0.5598 GB, free: 2.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.359, allocations: 10.81 kB / 0.5598 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.359, allocations: 0 / 0.5598 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.359, allocations: 0 / 0.5598 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.3591, allocations: 20 kB / 0.5598 GB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.3592, allocations: 7.922 kB / 0.5598 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.3593, allocations: 11.84 kB / 0.5598 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.3593, allocations: 8.062 kB / 0.5598 GB, free: 2.035 MB / 394.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 7.19e-05/0.3594, allocations: 114.2 kB / 0.56 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.346e-05/0.3594, allocations: 51.34 kB / 0.56 GB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002668/0.3597, allocations: 185.8 kB / 0.5602 GB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3597, allocations: 0 / 0.5602 GB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3597, allocations: 0 / 0.5602 GB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3598, allocations: 0 / 0.5602 GB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.3601, allocations: 361.8 kB / 0.5605 GB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3601, allocations: 4 kB / 0.5605 GB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.959e-05/0.3601, allocations: 15.91 kB / 0.5605 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3601, allocations: 0 / 0.5605 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.3601, allocations: 4 kB / 0.5606 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3602, allocations: 0 / 0.5606 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3602, allocations: 3.938 kB / 0.5606 GB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002387/0.3604, allocations: 198.9 kB / 0.5607 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/0.3606, allocations: 200.3 kB / 0.5609 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.204e-05/0.3607, allocations: 4 kB / 0.5609 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.97e-05/0.3608, allocations: 7.984 kB / 0.5609 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.3609, allocations: 7.984 kB / 0.561 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.3609, allocations: 4 kB / 0.561 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0006919/0.3616, allocations: 0.7214 MB / 0.5617 GB, free: 80 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003054/0.3619, allocations: 71.98 kB / 0.5617 GB, free: 8 kB / 394.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.0006194/0.3625, allocations: 323.8 kB / 0.562 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.3627, allocations: 83.8 kB / 0.5621 GB, free: 15.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3627, allocations: 0 / 0.5621 GB, free: 15.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.132e-05/0.3628, allocations: 39.94 kB / 0.5622 GB, free: 15.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.3631, allocations: 61.91 kB / 0.5622 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.3642, allocations: 0.768 MB / 0.563 GB, free: 14.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004682/0.3647, allocations: 0.8928 MB / 0.5638 GB, free: 13.82 MB / 410.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3647, allocations: 0 / 0.5638 GB, free: 13.82 MB / 410.7 MB Notification: Performance of Templates: time 0.007132/0.3719, allocations: 3.622 MB / 0.5674 GB, free: 10.21 MB / 410.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