Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") [: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.0009049/0.000905, allocations: 191.5 kB / 7.804 MB, free: 2.441 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.08/1.08, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0007497/0.0007497, allocations: 79.45 kB / 261.4 MB, free: 13.54 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.1566/0.1566, allocations: 43.48 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.845e-06/7.875e-06, allocations: 4 kB / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2366, allocations: 58.83 MB / 476.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1065/0.3432, allocations: 86.75 MB / 0.5501 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001768/0.3434, allocations: 71.97 kB / 0.5502 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01462/0.358, allocations: 6.083 MB / 0.5561 GB, free: 6.098 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.3581, allocations: 4 kB / 0.5561 GB, free: 6.094 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.0005603/0.3587, allocations: 0.5948 MB / 0.5567 GB, free: 5.453 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.3587, allocations: 12.03 kB / 0.5567 GB, free: 5.441 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.635e-05/0.3588, allocations: 47.34 kB / 0.5568 GB, free: 5.395 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006921/0.3595, allocations: 475.1 kB / 0.5572 GB, free: 4.887 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.3595, allocations: 4 kB / 0.5572 GB, free: 4.883 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.3595, allocations: 4 kB / 0.5572 GB, free: 4.879 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.627e-05/0.3596, allocations: 27.98 kB / 0.5573 GB, free: 4.852 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.3597, allocations: 87.25 kB / 0.5573 GB, free: 4.754 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.3597, allocations: 7.906 kB / 0.5573 GB, free: 4.746 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3598, allocations: 0 / 0.5573 GB, free: 4.746 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3598, allocations: 3.984 kB / 0.5573 GB, free: 4.742 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.3601, allocations: 362.9 kB / 0.5577 GB, free: 4.348 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.3603, allocations: 89.36 kB / 0.5578 GB, free: 4.242 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.34e-05/0.3603, allocations: 41.73 kB / 0.5578 GB, free: 4.195 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.3603, allocations: 4 kB / 0.5578 GB, free: 4.191 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/0.3605, allocations: 93 kB / 0.5579 GB, free: 4.082 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.3605, allocations: 4 kB / 0.5579 GB, free: 4.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002531/0.3607, allocations: 145 kB / 0.5581 GB, free: 3.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.3608, allocations: 81.02 kB / 0.5581 GB, free: 3.832 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.3618, allocations: 0.9044 MB / 0.559 GB, free: 2.922 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.3618, allocations: 25.7 kB / 0.559 GB, free: 2.891 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.3619, allocations: 136.1 kB / 0.5592 GB, free: 2.754 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.3619, allocations: 23.72 kB / 0.5592 GB, free: 2.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/0.3619, allocations: 0 / 0.5592 GB, free: 2.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3621, allocations: 366.8 kB / 0.5595 GB, free: 2.363 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.516e-05/0.3621, allocations: 31.98 kB / 0.5596 GB, free: 2.332 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-05/0.3622, allocations: 47.94 kB / 0.5596 GB, free: 2.273 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.359e-05/0.3623, allocations: 31.92 kB / 0.5596 GB, free: 2.242 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3623, allocations: 0 / 0.5596 GB, free: 2.242 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002095/0.3625, allocations: 161.1 kB / 0.5598 GB, free: 2.078 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.3625, allocations: 8 kB / 0.5598 GB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3625, allocations: 4.062 kB / 0.5598 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.3625, allocations: 0 / 0.5598 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.3626, allocations: 27.92 kB / 0.5598 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.3626, allocations: 0 / 0.5598 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.3628, allocations: 15.84 kB / 0.5599 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.3628, allocations: 4 kB / 0.5599 GB, free: 2.02 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 6.681e-05/0.3628, allocations: 121.6 kB / 0.56 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.449e-05/0.3629, allocations: 51.33 kB / 0.56 GB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.3632, allocations: 177.6 kB / 0.5602 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3632, allocations: 0 / 0.5602 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3632, allocations: 0 / 0.5602 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3632, allocations: 4 kB / 0.5602 GB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002785/0.3635, allocations: 357.8 kB / 0.5605 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3635, allocations: 4 kB / 0.5605 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.3636, allocations: 11.91 kB / 0.5606 GB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3636, allocations: 0 / 0.5606 GB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.3636, allocations: 8 kB / 0.5606 GB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3636, allocations: 0 / 0.5606 GB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3636, allocations: 4 kB / 0.5606 GB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002257/0.3638, allocations: 191.2 kB / 0.5607 GB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.364, allocations: 200.3 kB / 0.5609 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.039e-05/0.3641, allocations: 4 kB / 0.5609 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.3642, allocations: 7.984 kB / 0.5609 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.3643, allocations: 11.98 kB / 0.561 GB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.3643, allocations: 4 kB / 0.561 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0006853/0.365, allocations: 0.7253 MB / 0.5617 GB, free: 68 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002848/0.3653, allocations: 72.05 kB / 0.5617 GB, free: 15.99 MB / 410.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.0005632/0.3658, allocations: 307.1 kB / 0.562 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.366, allocations: 83.86 kB / 0.5621 GB, free: 15.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.366, allocations: 0 / 0.5621 GB, free: 15.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.39e-05/0.3661, allocations: 43.92 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.0003387/0.3664, allocations: 61.91 kB / 0.5622 GB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.3675, allocations: 0.7603 MB / 0.563 GB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000487/0.368, allocations: 0.8967 MB / 0.5638 GB, free: 13.83 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.368, allocations: 3.938 kB / 0.5638 GB, free: 13.82 MB / 410.7 MB Notification: Performance of Templates: time 0.007303/0.3753, allocations: 3.624 MB / 0.5674 GB, free: 10.21 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches