Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") [: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.0009206/0.0009206, allocations: 185.2 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.031/1.031, 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.0008835/0.0008837, allocations: 99.45 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.1608/0.1608, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.754e-06/7.775e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2284, allocations: 58.84 MB / 476.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1084/0.3369, allocations: 86.86 MB / 0.5502 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/0.3371, allocations: 67.97 kB / 0.5503 GB, free: 12.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01304/0.3502, allocations: 4.895 MB / 0.5551 GB, free: 7.191 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.3502, allocations: 7.938 kB / 0.5551 GB, free: 7.184 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.0003449/0.3505, allocations: 390.2 kB / 0.5554 GB, free: 6.758 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.3506, allocations: 12.03 kB / 0.5555 GB, free: 6.746 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.3506, allocations: 7.906 kB / 0.5555 GB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.3509, allocations: 217.6 kB / 0.5557 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.3509, allocations: 0 / 0.5557 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.3509, allocations: 4 kB / 0.5557 GB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.853e-05/0.351, allocations: 19.98 kB / 0.5557 GB, free: 6.465 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.207e-05/0.3511, allocations: 41.69 kB / 0.5557 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3511, allocations: 7.906 kB / 0.5557 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.3511, allocations: 7.984 kB / 0.5558 GB, free: 6.402 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3511, allocations: 0 / 0.5558 GB, free: 6.402 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002992/0.3515, allocations: 261.5 kB / 0.556 GB, free: 6.109 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.285e-05/0.3516, allocations: 58.53 kB / 0.5561 GB, free: 6.043 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.222e-05/0.3516, allocations: 16.98 kB / 0.5561 GB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.3516, allocations: 3.984 kB / 0.5561 GB, free: 6.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.729e-05/0.3517, allocations: 63.41 kB / 0.5561 GB, free: 5.945 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3517, allocations: 0 / 0.5561 GB, free: 5.945 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000359/0.3521, allocations: 141.2 kB / 0.5563 GB, free: 5.801 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/0.3521, allocations: 55.34 kB / 0.5563 GB, free: 5.734 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.3522, allocations: 166.3 kB / 0.5565 GB, free: 5.566 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.3523, allocations: 29.7 kB / 0.5565 GB, free: 5.531 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.045e-05/0.3523, allocations: 84.14 kB / 0.5566 GB, free: 5.445 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.3523, allocations: 19.7 kB / 0.5566 GB, free: 5.426 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.3523, allocations: 4 kB / 0.5566 GB, free: 5.422 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.093e-05/0.3524, allocations: 326.8 kB / 0.5569 GB, free: 5.094 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.262e-05/0.3525, allocations: 16 kB / 0.5569 GB, free: 5.078 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.102e-05/0.3525, allocations: 33.7 kB / 0.557 GB, free: 5.039 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.927e-05/0.3526, allocations: 24.06 kB / 0.557 GB, free: 5.016 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.3526, allocations: 3.906 kB / 0.557 GB, free: 5.012 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001327/0.3527, allocations: 93.52 kB / 0.5571 GB, free: 4.914 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/0.3527, allocations: 12.03 kB / 0.5571 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.3527, allocations: 0 / 0.5571 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.3528, allocations: 0 / 0.5571 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.592e-05/0.3528, allocations: 12 kB / 0.5571 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.3529, allocations: 4.188 kB / 0.5571 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.773e-05/0.3529, allocations: 11.83 kB / 0.5571 GB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.3529, allocations: 7.938 kB / 0.5571 GB, free: 4.867 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.863e-05/0.353, allocations: 105 kB / 0.5572 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.353, allocations: 7.906 kB / 0.5572 GB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.3532, allocations: 110 kB / 0.5573 GB, free: 4.637 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.3532, allocations: 3.984 kB / 0.5574 GB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.3532, allocations: 0 / 0.5574 GB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3532, allocations: 0 / 0.5574 GB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.3535, allocations: 368 kB / 0.5577 GB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.3536, allocations: 8 kB / 0.5577 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.061e-05/0.3536, allocations: 11.98 kB / 0.5577 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3536, allocations: 4.031 kB / 0.5577 GB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.3536, allocations: 8 kB / 0.5577 GB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3536, allocations: 0 / 0.5577 GB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3536, allocations: 0 / 0.5577 GB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000158/0.3538, allocations: 205.9 kB / 0.5579 GB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/0.3539, allocations: 88.92 kB / 0.558 GB, free: 3.863 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.3539, allocations: 7.984 kB / 0.558 GB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.972e-05/0.354, allocations: 4 kB / 0.558 GB, free: 3.852 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.354, allocations: 11.94 kB / 0.558 GB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.354, allocations: 7.984 kB / 0.558 GB, free: 3.832 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.396e-05/0.3541, allocations: 136.1 kB / 0.5582 GB, free: 3.699 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000235/0.3544, allocations: 31.92 kB / 0.5582 GB, free: 3.668 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.0006052/0.355, allocations: 353.6 kB / 0.5585 GB, free: 3.359 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.3551, allocations: 48 kB / 0.5586 GB, free: 3.312 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.3551, allocations: 0 / 0.5586 GB, free: 3.312 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.944e-05/0.3552, allocations: 35.92 kB / 0.5586 GB, free: 3.277 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.3554, allocations: 27.75 kB / 0.5586 GB, free: 3.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.3557, allocations: 152.7 kB / 0.5588 GB, free: 3.066 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.356, allocations: 0.727 MB / 0.5595 GB, free: 2.312 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.356, allocations: 0 / 0.5595 GB, free: 2.312 MB / 394.7 MB Notification: Performance of Templates: time 0.003466/0.3594, allocations: 1.632 MB / 0.5611 GB, free: 0.6914 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches