Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") [: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.0008851/0.0008851, allocations: 196.1 kB / 7.808 MB, free: 2.496 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.015/1.015, 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.0007832/0.0007831, allocations: 85.52 kB / 261.4 MB, free: 13.61 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.1487/0.1487, allocations: 43.48 MB / 352.8 MB, free: 2.012 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.226e-06/8.246e-06, allocations: 8 kB / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2291, allocations: 58.83 MB / 476.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1054/0.3345, allocations: 88.62 MB / 0.5519 GB, free: 10.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/0.3347, allocations: 79.23 kB / 0.552 GB, free: 10.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01236/0.3471, allocations: 4.499 MB / 0.5564 GB, free: 5.809 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.3472, allocations: 4 kB / 0.5564 GB, free: 5.805 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006835/0.3478, allocations: 0.5364 MB / 0.5569 GB, free: 5.211 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.3479, allocations: 8.031 kB / 0.5569 GB, free: 5.203 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.3479, allocations: 27.7 kB / 0.557 GB, free: 5.176 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.3483, allocations: 239.7 kB / 0.5572 GB, free: 4.898 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.3483, allocations: 7.984 kB / 0.5572 GB, free: 4.891 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.3483, allocations: 4 kB / 0.5572 GB, free: 4.887 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001331/0.3485, allocations: 47.94 kB / 0.5573 GB, free: 4.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.3486, allocations: 122.9 kB / 0.5574 GB, free: 4.707 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.3486, allocations: 0 / 0.5574 GB, free: 4.707 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.3487, allocations: 4 kB / 0.5574 GB, free: 4.703 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3487, allocations: 3.938 kB / 0.5574 GB, free: 4.699 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006945/0.3494, allocations: 0.5677 MB / 0.5579 GB, free: 4.086 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.3496, allocations: 90.69 kB / 0.558 GB, free: 3.988 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.661e-05/0.3497, allocations: 48.84 kB / 0.5581 GB, free: 3.938 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.3497, allocations: 0 / 0.5581 GB, free: 3.938 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000125/0.3499, allocations: 95.5 kB / 0.5582 GB, free: 3.832 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.3499, allocations: 0 / 0.5582 GB, free: 3.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002351/0.3501, allocations: 117.4 kB / 0.5583 GB, free: 3.711 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.3502, allocations: 59.34 kB / 0.5583 GB, free: 3.641 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.3503, allocations: 190.1 kB / 0.5585 GB, free: 3.449 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.3503, allocations: 29.7 kB / 0.5585 GB, free: 3.414 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.3504, allocations: 104.4 kB / 0.5586 GB, free: 3.305 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.3504, allocations: 39.53 kB / 0.5587 GB, free: 3.266 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/0.3505, allocations: 0 / 0.5587 GB, free: 3.266 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.723e-05/0.3505, allocations: 338.7 kB / 0.559 GB, free: 2.926 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.558e-05/0.3506, allocations: 32 kB / 0.559 GB, free: 2.895 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.081e-05/0.3507, allocations: 75.66 kB / 0.5591 GB, free: 2.809 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.948e-05/0.3508, allocations: 36.17 kB / 0.5591 GB, free: 2.773 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3508, allocations: 4 kB / 0.5591 GB, free: 2.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002252/0.351, allocations: 149.4 kB / 0.5593 GB, free: 2.617 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/0.351, allocations: 4 kB / 0.5593 GB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.351, allocations: 3.906 kB / 0.5593 GB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.3511, allocations: 4 kB / 0.5593 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.3513, allocations: 48.03 kB / 0.5593 GB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3513, allocations: 4 kB / 0.5593 GB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.3515, allocations: 35.88 kB / 0.5594 GB, free: 2.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.3515, allocations: 4 kB / 0.5594 GB, free: 2.516 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.035e-05/0.3516, allocations: 118.3 kB / 0.5595 GB, free: 2.395 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.3516, allocations: 15.81 kB / 0.5595 GB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.3518, allocations: 139.1 kB / 0.5596 GB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3518, allocations: 4 kB / 0.5596 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3519, allocations: 3.906 kB / 0.5596 GB, free: 2.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3519, allocations: 4 kB / 0.5597 GB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.352, allocations: 206.1 kB / 0.5598 GB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.352, allocations: 3.984 kB / 0.5599 GB, free: 1.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.3522, allocations: 27.98 kB / 0.5599 GB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.3522, allocations: 11.91 kB / 0.5599 GB, free: 1.945 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.3522, allocations: 7.984 kB / 0.5599 GB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3523, allocations: 0 / 0.5599 GB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3523, allocations: 7.938 kB / 0.5599 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003018/0.3526, allocations: 208.8 kB / 0.5601 GB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.3526, allocations: 104.8 kB / 0.5602 GB, free: 1.586 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.3527, allocations: 3.984 kB / 0.5602 GB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.3529, allocations: 32.03 kB / 0.5602 GB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.3529, allocations: 19.97 kB / 0.5603 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.353, allocations: 4 kB / 0.5603 GB, free: 1.527 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000111/0.3531, allocations: 155.2 kB / 0.5604 GB, free: 1.375 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002319/0.3533, allocations: 47.97 kB / 0.5605 GB, free: 1.328 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.0005301/0.3538, allocations: 304.7 kB / 0.5607 GB, free: 1.062 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.3541, allocations: 121.6 kB / 0.5609 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3541, allocations: 3.938 kB / 0.5609 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.552e-05/0.3542, allocations: 48.25 kB / 0.5609 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.3544, allocations: 39.83 kB / 0.5609 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004815/0.3549, allocations: 224.2 kB / 0.5612 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/0.3552, allocations: 0.7549 MB / 0.5619 GB, free: 15.82 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3552, allocations: 0 / 0.5619 GB, free: 15.82 MB / 410.7 MB Notification: Performance of Templates: time 0.004918/0.3601, allocations: 2.643 MB / 0.5645 GB, free: 13.19 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches