Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") [: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.001103/0.001103, allocations: 190.6 kB / 7.803 MB, free: 2.488 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.057/1.057, allocations: 205.2 MB / 213.4 MB, free: 13.88 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.0008207/0.0008208, allocations: 91.22 kB / 261.4 MB, free: 13.56 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.1544/0.1544, allocations: 43.49 MB / 352.9 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.776e-06/8.796e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2284, allocations: 58.84 MB / 476.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1072/0.3357, allocations: 86.9 MB / 0.5503 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001684/0.3359, allocations: 75.95 kB / 0.5503 GB, free: 12.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01351/0.3494, allocations: 4.973 MB / 0.5552 GB, free: 7.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.3495, allocations: 7.938 kB / 0.5552 GB, free: 7.082 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004181/0.3499, allocations: 386.2 kB / 0.5556 GB, free: 6.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.35, allocations: 8.031 kB / 0.5556 GB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/0.35, allocations: 11.91 kB / 0.5556 GB, free: 6.641 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.3503, allocations: 217.6 kB / 0.5558 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.3503, allocations: 0 / 0.5558 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.3504, allocations: 4 kB / 0.5558 GB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.992e-05/0.3504, allocations: 23.98 kB / 0.5558 GB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.07e-05/0.3505, allocations: 49.69 kB / 0.5559 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3506, allocations: 7.891 kB / 0.5559 GB, free: 6.301 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.3506, allocations: 3.984 kB / 0.5559 GB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.3506, allocations: 4 kB / 0.5559 GB, free: 6.293 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.3509, allocations: 261.5 kB / 0.5561 GB, free: 6 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.555e-05/0.351, allocations: 58.59 kB / 0.5562 GB, free: 5.934 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.459e-05/0.3511, allocations: 16.98 kB / 0.5562 GB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.3511, allocations: 0 / 0.5562 GB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.639e-05/0.3512, allocations: 63.34 kB / 0.5563 GB, free: 5.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.685e-06/0.3512, allocations: 0 / 0.5563 GB, free: 5.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000387/0.3516, allocations: 141.1 kB / 0.5564 GB, free: 5.695 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.3516, allocations: 55.41 kB / 0.5565 GB, free: 5.629 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.3518, allocations: 170.3 kB / 0.5566 GB, free: 5.457 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.3518, allocations: 25.7 kB / 0.5566 GB, free: 5.426 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.718e-05/0.3518, allocations: 88.14 kB / 0.5567 GB, free: 5.336 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.3519, allocations: 23.7 kB / 0.5567 GB, free: 5.312 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.3519, allocations: 0 / 0.5567 GB, free: 5.312 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.352, allocations: 322.8 kB / 0.5571 GB, free: 4.988 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.709e-05/0.352, allocations: 16 kB / 0.5571 GB, free: 4.973 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.661e-05/0.3521, allocations: 45.64 kB / 0.5571 GB, free: 4.922 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.908e-05/0.3521, allocations: 12 kB / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3522, allocations: 3.906 kB / 0.5571 GB, free: 4.906 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000144/0.3523, allocations: 93.58 kB / 0.5572 GB, free: 4.809 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3523, allocations: 4 kB / 0.5572 GB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3523, allocations: 4 kB / 0.5572 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3524, allocations: 0 / 0.5572 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.401e-05/0.3525, allocations: 15.94 kB / 0.5572 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.3525, allocations: 4.031 kB / 0.5572 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.068e-05/0.3525, allocations: 11.89 kB / 0.5573 GB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/0.3525, allocations: 4.188 kB / 0.5573 GB, free: 4.766 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 (10): * Single equations (assignments): 10 * 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.883e-05/0.3526, allocations: 101 kB / 0.5574 GB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.3526, allocations: 15.84 kB / 0.5574 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.3528, allocations: 110.1 kB / 0.5575 GB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3529, allocations: 4 kB / 0.5575 GB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3529, allocations: 0 / 0.5575 GB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.3529, allocations: 4 kB / 0.5575 GB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.3532, allocations: 363.8 kB / 0.5578 GB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3533, allocations: 0 / 0.5578 GB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.362e-05/0.3533, allocations: 11.98 kB / 0.5578 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3533, allocations: 4 kB / 0.5578 GB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.3533, allocations: 4.188 kB / 0.5578 GB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3533, allocations: 4 kB / 0.5579 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.3533, allocations: 4 kB / 0.5579 GB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001777/0.3535, allocations: 205.9 kB / 0.5581 GB, free: 3.867 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.3536, allocations: 92.92 kB / 0.5581 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.3536, allocations: 3.984 kB / 0.5581 GB, free: 3.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.841e-05/0.3537, allocations: 7.938 kB / 0.5582 GB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.3538, allocations: 4 kB / 0.5582 GB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.3538, allocations: 11.98 kB / 0.5582 GB, free: 3.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001198/0.3539, allocations: 140.1 kB / 0.5583 GB, free: 3.594 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002546/0.3542, allocations: 27.92 kB / 0.5583 GB, free: 3.566 MB / 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 (9): * Single equations (assignments): 7 * 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.000737/0.3549, allocations: 343.2 kB / 0.5587 GB, free: 3.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001343/0.3551, allocations: 55.94 kB / 0.5587 GB, free: 3.215 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.3551, allocations: 0 / 0.5587 GB, free: 3.215 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.749e-05/0.3551, allocations: 36.2 kB / 0.5587 GB, free: 3.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.3554, allocations: 27.89 kB / 0.5588 GB, free: 3.152 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.3558, allocations: 156.5 kB / 0.5589 GB, free: 2.965 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/0.3561, allocations: 0.7349 MB / 0.5596 GB, free: 2.203 MB / 394.7 MB Notification: Performance of SimCode: time 3.4e-07/0.3562, allocations: 0 / 0.5596 GB, free: 2.203 MB / 394.7 MB Notification: Performance of Templates: time 0.00396/0.3601, allocations: 1.624 MB / 0.5612 GB, free: 0.5898 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches