Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") [: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.0008991/0.0008991, allocations: 191.5 kB / 7.807 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.02/1.02, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0008245/0.0008244, allocations: 84.78 kB / 261.4 MB, free: 13.55 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.1498/0.1498, allocations: 43.49 MB / 352.9 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.113e-06/7.133e-06, allocations: 4 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2282, allocations: 58.83 MB / 476.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1038/0.332, allocations: 86.85 MB / 0.5502 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/0.3322, allocations: 75.95 kB / 0.5503 GB, free: 12.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01249/0.3447, allocations: 4.844 MB / 0.555 GB, free: 7.258 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.3448, allocations: 7.922 kB / 0.555 GB, free: 7.25 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.00033/0.3451, allocations: 390.1 kB / 0.5554 GB, free: 6.824 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.3451, allocations: 8.031 kB / 0.5554 GB, free: 6.816 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.3452, allocations: 7.906 kB / 0.5554 GB, free: 6.809 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.3454, allocations: 214.6 kB / 0.5556 GB, free: 6.559 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.3455, allocations: 4 kB / 0.5556 GB, free: 6.555 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.3455, allocations: 4 kB / 0.5556 GB, free: 6.551 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.554e-05/0.3455, allocations: 23.98 kB / 0.5556 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.486e-05/0.3456, allocations: 49.67 kB / 0.5557 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3456, allocations: 0 / 0.5557 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3457, allocations: 4 kB / 0.5557 GB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3457, allocations: 0 / 0.5557 GB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002896/0.346, allocations: 273.3 kB / 0.556 GB, free: 6.164 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.473e-05/0.3461, allocations: 54.62 kB / 0.556 GB, free: 6.102 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.625e-05/0.3461, allocations: 16.98 kB / 0.556 GB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.3461, allocations: 0 / 0.556 GB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.547e-05/0.3462, allocations: 71.23 kB / 0.5561 GB, free: 6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.3462, allocations: 0 / 0.5561 GB, free: 6 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003392/0.3466, allocations: 133.3 kB / 0.5562 GB, free: 5.863 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.3466, allocations: 55.39 kB / 0.5563 GB, free: 5.797 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.3467, allocations: 149.3 kB / 0.5564 GB, free: 5.645 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.3467, allocations: 33.69 kB / 0.5564 GB, free: 5.605 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.772e-05/0.3468, allocations: 84.14 kB / 0.5565 GB, free: 5.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.3468, allocations: 27.64 kB / 0.5566 GB, free: 5.492 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.3468, allocations: 0 / 0.5566 GB, free: 5.492 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.408e-05/0.3469, allocations: 326.8 kB / 0.5569 GB, free: 5.164 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.167e-05/0.347, allocations: 20 kB / 0.5569 GB, free: 5.145 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.139e-05/0.347, allocations: 29.72 kB / 0.5569 GB, free: 5.109 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.976e-05/0.347, allocations: 24.05 kB / 0.5569 GB, free: 5.086 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.3471, allocations: 0 / 0.5569 GB, free: 5.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001302/0.3472, allocations: 93.52 kB / 0.557 GB, free: 4.988 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.3472, allocations: 10.72 kB / 0.557 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3472, allocations: 0 / 0.557 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.425e-06/0.3472, allocations: 4.188 kB / 0.557 GB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.524e-05/0.3473, allocations: 24.02 kB / 0.5571 GB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.3473, allocations: 3.938 kB / 0.5571 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.501e-05/0.3474, allocations: 4 kB / 0.5571 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.3474, allocations: 4 kB / 0.5571 GB, free: 4.941 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.504e-05/0.3475, allocations: 108.9 kB / 0.5572 GB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.3475, allocations: 11.81 kB / 0.5572 GB, free: 4.816 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/0.3477, allocations: 98.11 kB / 0.5573 GB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3477, allocations: 4 kB / 0.5573 GB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.3477, allocations: 4 kB / 0.5573 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3477, allocations: 0 / 0.5573 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.348, allocations: 359.9 kB / 0.5576 GB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.348, allocations: 0 / 0.5576 GB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.985e-05/0.3481, allocations: 15.94 kB / 0.5576 GB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3481, allocations: 0 / 0.5576 GB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.3481, allocations: 192 / 0.5576 GB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3481, allocations: 8 kB / 0.5577 GB, free: 4.285 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3481, allocations: 32 / 0.5577 GB, free: 4.285 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001655/0.3483, allocations: 209.8 kB / 0.5579 GB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.3483, allocations: 104.8 kB / 0.558 GB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.3484, allocations: 0 / 0.558 GB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.786e-05/0.3484, allocations: 4 kB / 0.558 GB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.699e-05/0.3485, allocations: 7.984 kB / 0.558 GB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/0.3485, allocations: 4 kB / 0.558 GB, free: 3.918 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.098e-05/0.3486, allocations: 124.1 kB / 0.5581 GB, free: 3.797 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002343/0.3488, allocations: 35.92 kB / 0.5581 GB, free: 3.762 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.0006002/0.3494, allocations: 343.1 kB / 0.5585 GB, free: 3.461 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.3495, allocations: 51.94 kB / 0.5585 GB, free: 3.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.3495, allocations: 0 / 0.5585 GB, free: 3.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.955e-05/0.3496, allocations: 35.92 kB / 0.5585 GB, free: 3.375 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.3498, allocations: 24.5 kB / 0.5586 GB, free: 3.352 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.3502, allocations: 144.6 kB / 0.5587 GB, free: 3.176 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.3504, allocations: 0.731 MB / 0.5594 GB, free: 2.418 MB / 394.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3505, allocations: 0 / 0.5594 GB, free: 2.418 MB / 394.7 MB Notification: Performance of Templates: time 0.003512/0.354, allocations: 1.619 MB / 0.561 GB, free: 0.8125 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches