Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") [: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.0009604/0.0009605, allocations: 186.2 kB / 7.806 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.036/1.036, 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.0009439/0.0009438, allocations: 94.28 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.1752/0.1752, allocations: 43.48 MB / 352.8 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.596e-06/8.687e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2338, allocations: 58.84 MB / 476.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1012/0.3351, allocations: 86.86 MB / 0.5502 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.3354, allocations: 79.45 kB / 0.5503 GB, free: 12.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01277/0.3481, allocations: 4.829 MB / 0.555 GB, free: 7.254 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.3482, allocations: 4 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.0003645/0.3485, allocations: 398.1 kB / 0.5554 GB, free: 6.816 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.3486, allocations: 8.031 kB / 0.5554 GB, free: 6.809 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.3486, allocations: 7.906 kB / 0.5554 GB, free: 6.801 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.3489, allocations: 218.6 kB / 0.5556 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.3489, allocations: 0 / 0.5556 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.349, allocations: 4 kB / 0.5556 GB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.986e-05/0.349, allocations: 16 kB / 0.5556 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.445e-05/0.3491, allocations: 57.67 kB / 0.5557 GB, free: 6.465 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3492, allocations: 0 / 0.5557 GB, free: 6.465 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.3492, allocations: 0 / 0.5557 GB, free: 6.465 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3492, allocations: 0 / 0.5557 GB, free: 6.465 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003061/0.3495, allocations: 269.4 kB / 0.556 GB, free: 6.164 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.536e-05/0.3496, allocations: 50.62 kB / 0.556 GB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.395e-05/0.3496, allocations: 20.98 kB / 0.556 GB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.3497, allocations: 0 / 0.556 GB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.821e-05/0.3497, allocations: 67.3 kB / 0.5561 GB, free: 6.004 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.274e-06/0.3498, allocations: 0 / 0.5561 GB, free: 6.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003517/0.3501, allocations: 129.2 kB / 0.5562 GB, free: 5.871 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.3501, allocations: 55.39 kB / 0.5563 GB, free: 5.805 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.3503, allocations: 157.3 kB / 0.5564 GB, free: 5.645 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.3503, allocations: 33.7 kB / 0.5564 GB, free: 5.605 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/0.3503, allocations: 88.12 kB / 0.5565 GB, free: 5.516 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.3504, allocations: 23.66 kB / 0.5566 GB, free: 5.492 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.3504, allocations: 0 / 0.5566 GB, free: 5.492 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3505, allocations: 322.8 kB / 0.5569 GB, free: 5.168 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.385e-05/0.3505, allocations: 20 kB / 0.5569 GB, free: 5.148 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.173e-05/0.3506, allocations: 33.7 kB / 0.5569 GB, free: 5.109 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.168e-05/0.3506, allocations: 24 kB / 0.5569 GB, free: 5.086 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3506, allocations: 192 / 0.5569 GB, free: 5.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001276/0.3508, allocations: 89.52 kB / 0.557 GB, free: 4.992 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3508, allocations: 15.84 kB / 0.557 GB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3508, allocations: 0 / 0.557 GB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/0.3508, allocations: 0 / 0.557 GB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.364e-05/0.3509, allocations: 15.98 kB / 0.557 GB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3509, allocations: 0 / 0.557 GB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.351, allocations: 12.11 kB / 0.5571 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.351, allocations: 4.031 kB / 0.5571 GB, free: 4.945 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 5.861e-05/0.3511, allocations: 109 kB / 0.5572 GB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.3511, allocations: 19.81 kB / 0.5572 GB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.3513, allocations: 98.09 kB / 0.5573 GB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3513, allocations: 4 kB / 0.5573 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3513, allocations: 0 / 0.5573 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3513, allocations: 0 / 0.5573 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003236/0.3516, allocations: 368 kB / 0.5576 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3516, allocations: 0 / 0.5576 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-05/0.3517, allocations: 12 kB / 0.5576 GB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3517, allocations: 0 / 0.5576 GB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.3517, allocations: 7.984 kB / 0.5577 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3517, allocations: 0 / 0.5577 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3517, allocations: 80 / 0.5577 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001681/0.3519, allocations: 213.9 kB / 0.5579 GB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.352, allocations: 88.92 kB / 0.5579 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.352, allocations: 0 / 0.5579 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.758e-05/0.3521, allocations: 11.92 kB / 0.558 GB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.3521, allocations: 8 kB / 0.558 GB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.3521, allocations: 0 / 0.558 GB, free: 3.922 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.273e-05/0.3522, allocations: 132.1 kB / 0.5581 GB, free: 3.793 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002281/0.3524, allocations: 23.94 kB / 0.5581 GB, free: 3.77 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.0006176/0.3531, allocations: 353.8 kB / 0.5584 GB, free: 3.457 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.3532, allocations: 51.98 kB / 0.5585 GB, free: 3.406 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3532, allocations: 0 / 0.5585 GB, free: 3.406 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.634e-05/0.3533, allocations: 32 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.0002278/0.3535, 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.0003111/0.3538, allocations: 152.5 kB / 0.5587 GB, free: 3.168 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/0.3541, allocations: 0.7231 MB / 0.5594 GB, free: 2.418 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3541, allocations: 0 / 0.5594 GB, free: 2.418 MB / 394.7 MB Notification: Performance of Templates: time 0.00358/0.3577, allocations: 1.615 MB / 0.561 GB, free: 0.8164 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches