Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,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.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,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.Test44") [: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.0008598/0.0008599, allocations: 190.4 kB / 7.809 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.054/1.054, 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.0008292/0.0008291, allocations: 92.41 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.1566/0.1566, allocations: 43.49 MB / 352.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.054e-06/7.064e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2342, allocations: 58.84 MB / 476.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1048/0.339, allocations: 86.9 MB / 0.5503 GB, free: 12.1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.3393, allocations: 75.95 kB / 0.5503 GB, free: 12.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01333/0.3526, allocations: 5.04 MB / 0.5553 GB, free: 6.984 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.3527, allocations: 7.938 kB / 0.5553 GB, free: 6.977 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.0003515/0.353, allocations: 402 kB / 0.5556 GB, free: 6.539 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.3531, allocations: 8.031 kB / 0.5557 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.3531, allocations: 15.81 kB / 0.5557 GB, free: 6.516 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.3534, allocations: 215.6 kB / 0.5559 GB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.3534, allocations: 0 / 0.5559 GB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.3534, allocations: 7.938 kB / 0.5559 GB, free: 6.254 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.46e-05/0.3535, allocations: 15.98 kB / 0.5559 GB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.845e-05/0.3536, allocations: 53.59 kB / 0.5559 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.3536, allocations: 0 / 0.5559 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3536, allocations: 4 kB / 0.556 GB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3536, allocations: 0 / 0.556 GB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.354, allocations: 273.4 kB / 0.5562 GB, free: 5.871 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.948e-05/0.3541, allocations: 50.62 kB / 0.5563 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.28e-05/0.3541, allocations: 16.98 kB / 0.5563 GB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.988e-06/0.3541, allocations: 4 kB / 0.5563 GB, free: 5.789 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.927e-05/0.3542, allocations: 55.41 kB / 0.5563 GB, free: 5.723 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.3542, allocations: 4 kB / 0.5563 GB, free: 5.719 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003541/0.3546, allocations: 141.2 kB / 0.5565 GB, free: 5.574 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.3546, allocations: 55.34 kB / 0.5565 GB, free: 5.508 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.3548, allocations: 182.3 kB / 0.5567 GB, free: 5.316 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.3548, allocations: 29.7 kB / 0.5567 GB, free: 5.281 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.3548, allocations: 92.12 kB / 0.5568 GB, free: 5.188 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.3549, allocations: 19.66 kB / 0.5568 GB, free: 5.168 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.3549, allocations: 0 / 0.5568 GB, free: 5.168 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.583e-05/0.355, allocations: 326.8 kB / 0.5571 GB, free: 4.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.116e-05/0.355, allocations: 20 kB / 0.5572 GB, free: 4.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.147e-05/0.355, allocations: 37.7 kB / 0.5572 GB, free: 4.777 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.883e-05/0.3551, allocations: 20.17 kB / 0.5572 GB, free: 4.758 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.92e-07/0.3551, allocations: 0 / 0.5572 GB, free: 4.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001309/0.3552, allocations: 105.4 kB / 0.5573 GB, free: 4.648 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.258e-06/0.3552, allocations: 4 kB / 0.5573 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3552, allocations: 0 / 0.5573 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.3553, allocations: 0 / 0.5573 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.843e-05/0.3554, allocations: 24.02 kB / 0.5573 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3554, allocations: 0 / 0.5573 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.374e-05/0.3554, allocations: 0 / 0.5573 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.3554, allocations: 4 kB / 0.5573 GB, free: 4.617 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.032e-05/0.3555, allocations: 112.4 kB / 0.5575 GB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.3555, allocations: 11.81 kB / 0.5575 GB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.3557, allocations: 107.2 kB / 0.5576 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3557, allocations: 3.938 kB / 0.5576 GB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3557, allocations: 8 kB / 0.5576 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3557, allocations: 0 / 0.5576 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.3561, allocations: 367.8 kB / 0.5579 GB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3561, allocations: 0 / 0.5579 GB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.3561, allocations: 15.94 kB / 0.5579 GB, free: 3.953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3561, allocations: 0 / 0.5579 GB, free: 3.953 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.3561, allocations: 3.906 kB / 0.558 GB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.3562, allocations: 7.984 kB / 0.558 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3562, allocations: 4.031 kB / 0.558 GB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001567/0.3563, allocations: 197.9 kB / 0.5582 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.3564, allocations: 93 kB / 0.5582 GB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.3564, allocations: 7.906 kB / 0.5582 GB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.12e-05/0.3565, allocations: 4 kB / 0.5583 GB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.3565, allocations: 15.92 kB / 0.5583 GB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.3566, allocations: 4 kB / 0.5583 GB, free: 3.578 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.892e-05/0.3567, allocations: 140.9 kB / 0.5584 GB, free: 3.441 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002414/0.3569, allocations: 35.92 kB / 0.5584 GB, free: 3.406 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.0006177/0.3575, allocations: 350.5 kB / 0.5588 GB, free: 3.094 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001466/0.3577, allocations: 55.94 kB / 0.5588 GB, free: 3.039 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3577, allocations: 0 / 0.5588 GB, free: 3.039 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.956e-05/0.3577, allocations: 35.91 kB / 0.5589 GB, free: 3.004 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.358, allocations: 23.84 kB / 0.5589 GB, free: 2.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/0.3583, allocations: 160.5 kB / 0.559 GB, free: 2.793 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.3586, allocations: 0.731 MB / 0.5598 GB, free: 2.035 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3586, allocations: 3.938 kB / 0.5598 GB, free: 2.031 MB / 394.7 MB Notification: Performance of Templates: time 0.003738/0.3623, allocations: 1.639 MB / 0.5614 GB, free: 412 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches