Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") [: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.0008912/0.0008912, allocations: 187.6 kB / 7.805 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.002/1.002, 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.0007783/0.0007784, allocations: 83.5 kB / 261.4 MB, free: 13.54 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.1501/0.1501, allocations: 43.49 MB / 352.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.863e-06/6.943e-06, allocations: 4 kB / 417.7 MB, free: 40.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2235, allocations: 58.84 MB / 476.6 MB, free: 5.32 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1084/0.332, allocations: 86.9 MB / 0.5503 GB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.3322, allocations: 75.95 kB / 0.5503 GB, free: 12.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01422/0.3465, allocations: 5.228 MB / 0.5554 GB, free: 6.812 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.3465, allocations: 4 kB / 0.5554 GB, free: 6.809 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.0004429/0.347, allocations: 406 kB / 0.5558 GB, free: 6.367 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.347, allocations: 8.031 kB / 0.5558 GB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.3471, allocations: 15.81 kB / 0.5559 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.3474, allocations: 223.5 kB / 0.5561 GB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/0.3475, allocations: 8 kB / 0.5561 GB, free: 6.074 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.3475, allocations: 0 / 0.5561 GB, free: 6.074 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.331e-05/0.3476, allocations: 23.98 kB / 0.5561 GB, free: 6.051 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.619e-05/0.3477, allocations: 49.67 kB / 0.5561 GB, free: 5.996 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3477, allocations: 3.906 kB / 0.5561 GB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3477, allocations: 0 / 0.5561 GB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3477, allocations: 0 / 0.5561 GB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.3481, allocations: 281.4 kB / 0.5564 GB, free: 5.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.922e-05/0.3482, allocations: 50.61 kB / 0.5565 GB, free: 5.621 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.931e-05/0.3482, allocations: 20.97 kB / 0.5565 GB, free: 5.598 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.3483, allocations: 0 / 0.5565 GB, free: 5.598 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.955e-05/0.3484, allocations: 63.34 kB / 0.5565 GB, free: 5.523 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.3484, allocations: 3.938 kB / 0.5565 GB, free: 5.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003674/0.3487, allocations: 141.2 kB / 0.5567 GB, free: 5.375 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.3488, allocations: 51.41 kB / 0.5567 GB, free: 5.312 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.349, allocations: 217.5 kB / 0.5569 GB, free: 5.094 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.349, allocations: 25.7 kB / 0.557 GB, free: 5.062 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.349, allocations: 92.12 kB / 0.5571 GB, free: 4.969 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.3491, allocations: 27.59 kB / 0.5571 GB, free: 4.941 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.3491, allocations: 0 / 0.5571 GB, free: 4.941 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.3492, allocations: 334.7 kB / 0.5574 GB, free: 4.605 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.084e-05/0.3492, allocations: 20 kB / 0.5574 GB, free: 4.586 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.969e-05/0.3493, allocations: 33.66 kB / 0.5574 GB, free: 4.547 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.267e-05/0.3493, allocations: 27.97 kB / 0.5575 GB, free: 4.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.3493, allocations: 0 / 0.5575 GB, free: 4.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001423/0.3495, allocations: 93.56 kB / 0.5576 GB, free: 4.422 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.3495, allocations: 4 kB / 0.5576 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3495, allocations: 0 / 0.5576 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.3495, allocations: 0 / 0.5576 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.09e-05/0.3496, allocations: 31.95 kB / 0.5576 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.3496, allocations: 0 / 0.5576 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.3497, allocations: 4 kB / 0.5576 GB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.3497, allocations: 0 / 0.5576 GB, free: 4.383 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.174e-05/0.3498, allocations: 105 kB / 0.5577 GB, free: 4.273 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.3498, allocations: 11.81 kB / 0.5577 GB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.35, allocations: 107 kB / 0.5578 GB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.35, allocations: 0 / 0.5578 GB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.35, allocations: 7.906 kB / 0.5578 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.35, allocations: 0 / 0.5578 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00035/0.3504, allocations: 391.8 kB / 0.5582 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3504, allocations: 192 / 0.5582 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.061e-05/0.3504, allocations: 12 kB / 0.5582 GB, free: 3.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3504, allocations: 4 kB / 0.5582 GB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3504, allocations: 3.984 kB / 0.5582 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3505, allocations: 0 / 0.5582 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3505, allocations: 0 / 0.5582 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001611/0.3506, allocations: 210.1 kB / 0.5584 GB, free: 3.469 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/0.3507, allocations: 108.8 kB / 0.5585 GB, free: 3.344 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.3507, allocations: 0 / 0.5585 GB, free: 3.344 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.1e-05/0.3508, allocations: 7.984 kB / 0.5585 GB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.3509, allocations: 7.906 kB / 0.5585 GB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.3509, allocations: 8 kB / 0.5585 GB, free: 3.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001291/0.351, allocations: 172.4 kB / 0.5587 GB, free: 3.152 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002437/0.3513, allocations: 35.92 kB / 0.5587 GB, free: 3.117 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.0006581/0.3519, allocations: 350.2 kB / 0.5591 GB, free: 2.809 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.352, allocations: 55.94 kB / 0.5591 GB, free: 2.754 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.352, allocations: 0 / 0.5591 GB, free: 2.754 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.551e-05/0.3521, allocations: 23.94 kB / 0.5592 GB, free: 2.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.3524, allocations: 32.02 kB / 0.5592 GB, free: 2.695 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003753/0.3527, allocations: 200.8 kB / 0.5594 GB, free: 2.465 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.353, allocations: 0.7388 MB / 0.5601 GB, free: 1.699 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.353, allocations: 0 / 0.5601 GB, free: 1.699 MB / 394.7 MB Notification: Performance of Templates: time 0.00377/0.3568, allocations: 1.712 MB / 0.5618 GB, free: 4 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches