Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,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.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") [: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.0009172/0.0009173, allocations: 185.4 kB / 7.799 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.026/1.026, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008093/0.0008094, allocations: 96.25 kB / 261.4 MB, free: 13.62 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.1565/0.1565, allocations: 43.48 MB / 352.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.913e-06/7.023e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2297, allocations: 58.84 MB / 476.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1051/0.3349, allocations: 86.85 MB / 0.5502 GB, free: 12.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001834/0.3351, allocations: 75.47 kB / 0.5503 GB, free: 12.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01315/0.3482, allocations: 4.993 MB / 0.5552 GB, free: 7.094 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.3483, allocations: 7.938 kB / 0.5552 GB, free: 7.086 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.0003827/0.3487, allocations: 402 kB / 0.5555 GB, free: 6.648 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.3487, allocations: 8.031 kB / 0.5556 GB, free: 6.641 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.3488, allocations: 11.81 kB / 0.5556 GB, free: 6.629 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.349, allocations: 218.9 kB / 0.5558 GB, free: 6.375 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.3491, allocations: 7.906 kB / 0.5558 GB, free: 6.367 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.3491, allocations: 4 kB / 0.5558 GB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.648e-05/0.3492, allocations: 16 kB / 0.5558 GB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.974e-05/0.3492, allocations: 57.61 kB / 0.5559 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.3493, allocations: 4 kB / 0.5559 GB, free: 6.281 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.3493, allocations: 0 / 0.5559 GB, free: 6.281 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.3493, allocations: 0 / 0.5559 GB, free: 6.281 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.3496, allocations: 273.4 kB / 0.5561 GB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.053e-05/0.3497, allocations: 50.7 kB / 0.5562 GB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.633e-05/0.3498, allocations: 20.97 kB / 0.5562 GB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.3498, allocations: 0 / 0.5562 GB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.38e-05/0.3499, allocations: 63.34 kB / 0.5563 GB, free: 5.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3499, allocations: 3.938 kB / 0.5563 GB, free: 5.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003499/0.3502, allocations: 141.1 kB / 0.5564 GB, free: 5.672 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.3503, allocations: 55.41 kB / 0.5564 GB, free: 5.605 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.3504, allocations: 181.5 kB / 0.5566 GB, free: 5.418 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.3505, allocations: 29.7 kB / 0.5566 GB, free: 5.383 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.3505, allocations: 92.12 kB / 0.5567 GB, free: 5.289 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.3505, allocations: 19.72 kB / 0.5568 GB, free: 5.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.3505, allocations: 0 / 0.5568 GB, free: 5.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3507, allocations: 330.8 kB / 0.5571 GB, free: 4.938 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.411e-05/0.3507, allocations: 20 kB / 0.5571 GB, free: 4.918 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.467e-05/0.3508, allocations: 29.72 kB / 0.5571 GB, free: 4.883 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.23e-05/0.3508, allocations: 23.98 kB / 0.5571 GB, free: 4.859 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.3508, allocations: 0 / 0.5571 GB, free: 4.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001362/0.351, allocations: 93.44 kB / 0.5572 GB, free: 4.762 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.351, allocations: 4 kB / 0.5572 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.351, allocations: 0 / 0.5572 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.351, allocations: 4 kB / 0.5572 GB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.858e-05/0.3511, allocations: 16.02 kB / 0.5572 GB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.3511, allocations: 4 kB / 0.5573 GB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.137e-05/0.3512, allocations: 11.84 kB / 0.5573 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.3512, allocations: 192 / 0.5573 GB, free: 4.723 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 7.577e-05/0.3513, allocations: 112.6 kB / 0.5574 GB, free: 4.609 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.3513, allocations: 27.72 kB / 0.5574 GB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.3515, allocations: 99.02 kB / 0.5575 GB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3515, allocations: 0 / 0.5575 GB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3515, allocations: 4 kB / 0.5575 GB, free: 4.477 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3515, allocations: 0 / 0.5575 GB, free: 4.477 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003635/0.3519, allocations: 379.9 kB / 0.5579 GB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3519, allocations: 4 kB / 0.5579 GB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.189e-05/0.352, allocations: 11.98 kB / 0.5579 GB, free: 4.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.352, allocations: 0 / 0.5579 GB, free: 4.043 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.649e-06/0.352, allocations: 4 kB / 0.5579 GB, free: 4.039 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.352, allocations: 4 kB / 0.5579 GB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.352, allocations: 192 / 0.5579 GB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001767/0.3522, allocations: 217.8 kB / 0.5581 GB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.912e-05/0.3522, allocations: 89 kB / 0.5582 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.3523, allocations: 7.938 kB / 0.5582 GB, free: 3.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.613e-05/0.3524, allocations: 0 / 0.5582 GB, free: 3.684 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.3524, allocations: 15.89 kB / 0.5582 GB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.3524, allocations: 8 kB / 0.5582 GB, free: 3.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001194/0.3525, allocations: 160.2 kB / 0.5584 GB, free: 3.504 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002396/0.3528, allocations: 28 kB / 0.5584 GB, free: 3.477 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.0006095/0.3534, allocations: 347.2 kB / 0.5587 GB, free: 3.172 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.3535, allocations: 47.94 kB / 0.5588 GB, free: 3.125 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3535, allocations: 0 / 0.5588 GB, free: 3.125 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.711e-05/0.3536, allocations: 28 kB / 0.5588 GB, free: 3.098 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.3538, allocations: 27.83 kB / 0.5588 GB, free: 3.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003286/0.3542, allocations: 180.4 kB / 0.559 GB, free: 2.859 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.3545, allocations: 0.7349 MB / 0.5597 GB, free: 2.098 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3545, allocations: 0 / 0.5597 GB, free: 2.098 MB / 394.7 MB Notification: Performance of Templates: time 0.00367/0.3581, allocations: 1.669 MB / 0.5613 GB, free: 452 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches