Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") [: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.0008755/0.0008756, allocations: 180.8 kB / 7.8 MB, free: 2.277 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.045/1.045, 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.0008358/0.0008358, allocations: 88.77 kB / 261.4 MB, free: 13.52 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.1555/0.1555, allocations: 43.49 MB / 352.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.264e-06/7.284e-06, allocations: 0 / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2331, allocations: 58.84 MB / 476.6 MB, free: 5.293 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.106/0.3392, allocations: 87.18 MB / 0.5505 GB, free: 11.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.3394, allocations: 75.95 kB / 0.5506 GB, free: 11.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01908/0.3585, allocations: 7.643 MB / 0.5581 GB, free: 4.117 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.108e-06/0.3585, allocations: 0 / 0.5581 GB, free: 4.117 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003871/0.3589, allocations: 414.2 kB / 0.5585 GB, free: 3.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.359, allocations: 11.97 kB / 0.5585 GB, free: 3.656 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.359, allocations: 11.91 kB / 0.5585 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.3593, allocations: 211.3 kB / 0.5587 GB, free: 3.395 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.3593, allocations: 4 kB / 0.5587 GB, free: 3.391 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.3593, allocations: 3.938 kB / 0.5587 GB, free: 3.387 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.266e-05/0.3594, allocations: 31.98 kB / 0.5587 GB, free: 3.355 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.3595, allocations: 75.36 kB / 0.5588 GB, free: 3.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3595, allocations: 3.938 kB / 0.5588 GB, free: 3.266 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3595, allocations: 3.938 kB / 0.5588 GB, free: 3.262 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3596, allocations: 0 / 0.5588 GB, free: 3.262 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003109/0.3599, allocations: 281.3 kB / 0.5591 GB, free: 2.949 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.36, allocations: 62.69 kB / 0.5591 GB, free: 2.879 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.871e-05/0.3601, allocations: 20.98 kB / 0.5592 GB, free: 2.855 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.3601, allocations: 4 kB / 0.5592 GB, free: 2.852 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.525e-05/0.3602, allocations: 75.31 kB / 0.5592 GB, free: 2.766 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.3602, allocations: 0 / 0.5592 GB, free: 2.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003818/0.3606, allocations: 157.3 kB / 0.5594 GB, free: 2.605 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.3606, allocations: 85.05 kB / 0.5595 GB, free: 2.504 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.3607, allocations: 147.5 kB / 0.5596 GB, free: 2.348 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.3608, allocations: 25.7 kB / 0.5596 GB, free: 2.316 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.3608, allocations: 92.08 kB / 0.5597 GB, free: 2.223 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.3608, allocations: 27.61 kB / 0.5597 GB, free: 2.195 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.3609, allocations: 0 / 0.5597 GB, free: 2.195 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.391e-05/0.3609, allocations: 326.8 kB / 0.56 GB, free: 1.867 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.922e-05/0.361, allocations: 24 kB / 0.5601 GB, free: 1.844 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.596e-05/0.361, allocations: 42.56 kB / 0.5601 GB, free: 1.793 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.796e-05/0.3611, allocations: 27.98 kB / 0.5601 GB, free: 1.766 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.3611, allocations: 0 / 0.5601 GB, free: 1.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001514/0.3613, allocations: 113.4 kB / 0.5602 GB, free: 1.648 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/0.3613, allocations: 4.062 kB / 0.5603 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.716e-06/0.3613, allocations: 4.188 kB / 0.5603 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.3613, allocations: 0 / 0.5603 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.191e-05/0.3614, allocations: 23.88 kB / 0.5603 GB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.3614, allocations: 0 / 0.5603 GB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.395e-05/0.3615, allocations: 7.984 kB / 0.5603 GB, free: 1.609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.3615, allocations: 4 kB / 0.5603 GB, free: 1.605 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.338e-05/0.3615, allocations: 102.4 kB / 0.5604 GB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.3616, allocations: 15.81 kB / 0.5604 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.3618, allocations: 122.1 kB / 0.5605 GB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.3618, allocations: 7.984 kB / 0.5605 GB, free: 1.352 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3618, allocations: 3.984 kB / 0.5605 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3618, allocations: 3.938 kB / 0.5605 GB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.3622, allocations: 383.8 kB / 0.5609 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3622, allocations: 3.984 kB / 0.5609 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.217e-05/0.3622, allocations: 16 kB / 0.5609 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3623, allocations: 4.031 kB / 0.5609 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.3623, allocations: 0 / 0.5609 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3623, allocations: 4 kB / 0.5609 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3623, allocations: 3.906 kB / 0.5609 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001819/0.3625, allocations: 229.8 kB / 0.5611 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.3625, allocations: 85.02 kB / 0.5612 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.3626, allocations: 11.98 kB / 0.5612 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/0.3626, allocations: 0 / 0.5612 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.3627, allocations: 8 kB / 0.5612 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.3627, allocations: 7.984 kB / 0.5613 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.564e-05/0.3628, allocations: 124.5 kB / 0.5614 GB, free: 400 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002471/0.363, allocations: 35.94 kB / 0.5614 GB, free: 364 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006514/0.3637, allocations: 404 kB / 0.5618 GB, free: 4 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001376/0.3638, allocations: 64 kB / 0.5619 GB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3638, allocations: 4.062 kB / 0.5619 GB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.977e-05/0.3639, allocations: 39.94 kB / 0.5619 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.3642, allocations: 23.84 kB / 0.5619 GB, free: 15.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000293/0.3645, allocations: 144.1 kB / 0.5621 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.3647, allocations: 0.7306 MB / 0.5628 GB, free: 14.95 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3647, allocations: 4 kB / 0.5628 GB, free: 14.95 MB / 410.7 MB Notification: Performance of Templates: time 0.003838/0.3686, allocations: 1.949 MB / 0.5647 GB, free: 13.02 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches