Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") [: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.0008815/0.0008815, allocations: 184.3 kB / 7.804 MB, free: 2.184 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.045/1.045, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0007442/0.0007442, allocations: 97.28 kB / 261.4 MB, free: 13.52 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.1545/0.1545, allocations: 43.49 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.601e-06/5.701e-06, allocations: 4 kB / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2381, allocations: 58.83 MB / 476.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1077/0.3458, allocations: 87 MB / 0.5504 GB, free: 12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001739/0.346, allocations: 75.95 kB / 0.5504 GB, free: 11.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01797/0.364, allocations: 7.395 MB / 0.5577 GB, free: 4.523 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.364, allocations: 4 kB / 0.5577 GB, free: 4.52 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004429/0.3645, allocations: 497.5 kB / 0.5581 GB, free: 3.988 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.058e-05/0.3645, allocations: 16.03 kB / 0.5581 GB, free: 3.973 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.3646, allocations: 27.62 kB / 0.5582 GB, free: 3.945 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.3649, allocations: 302.9 kB / 0.5585 GB, free: 3.609 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.365, allocations: 4 kB / 0.5585 GB, free: 3.605 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.365, allocations: 4 kB / 0.5585 GB, free: 3.602 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.447e-05/0.3651, allocations: 35.92 kB / 0.5585 GB, free: 3.566 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.3652, allocations: 99.3 kB / 0.5586 GB, free: 3.457 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.3652, allocations: 7.844 kB / 0.5586 GB, free: 3.449 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.3652, allocations: 4 kB / 0.5586 GB, free: 3.445 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-06/0.3652, allocations: 0 / 0.5586 GB, free: 3.445 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.3656, allocations: 449.5 kB / 0.559 GB, free: 2.965 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.3658, allocations: 105.4 kB / 0.5591 GB, free: 2.844 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.669e-05/0.3659, allocations: 33.84 kB / 0.5592 GB, free: 2.805 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.3659, allocations: 7.984 kB / 0.5592 GB, free: 2.797 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001144/0.366, allocations: 101 kB / 0.5593 GB, free: 2.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.366, allocations: 4 kB / 0.5593 GB, free: 2.676 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004953/0.3665, allocations: 291.7 kB / 0.5596 GB, free: 2.383 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.3666, allocations: 81.05 kB / 0.5596 GB, free: 2.285 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004062/0.367, allocations: 422 kB / 0.56 GB, free: 1.863 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.367, allocations: 25.7 kB / 0.5601 GB, free: 1.832 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.367, allocations: 112.4 kB / 0.5602 GB, free: 1.715 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.3671, allocations: 47.3 kB / 0.5602 GB, free: 1.668 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.3671, allocations: 0 / 0.5602 GB, free: 1.668 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3672, allocations: 350.8 kB / 0.5605 GB, free: 1.316 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.576e-05/0.3673, allocations: 32 kB / 0.5606 GB, free: 1.285 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.116e-05/0.3673, allocations: 70.86 kB / 0.5606 GB, free: 1.207 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.142e-05/0.3674, allocations: 52.02 kB / 0.5607 GB, free: 1.156 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3674, allocations: 0 / 0.5607 GB, free: 1.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002346/0.3677, allocations: 161.3 kB / 0.5608 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.854e-06/0.3677, allocations: 4 kB / 0.5609 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3677, allocations: 3.984 kB / 0.5609 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.3677, allocations: 4 kB / 0.5609 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.3678, allocations: 36.3 kB / 0.5609 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.3679, allocations: 4 kB / 0.5609 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.988e-05/0.368, allocations: 4 kB / 0.5609 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.368, allocations: 8 kB / 0.5609 GB, free: 0.9297 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.912e-05/0.368, allocations: 126.2 kB / 0.561 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.3681, allocations: 35.62 kB / 0.5611 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.3684, allocations: 188.6 kB / 0.5612 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3684, allocations: 0 / 0.5612 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.3684, allocations: 0 / 0.5612 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3684, allocations: 7.984 kB / 0.5613 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006209/0.369, allocations: 0.6402 MB / 0.5619 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.369, allocations: 0 / 0.5619 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.972e-05/0.3691, allocations: 23.98 kB / 0.5619 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3691, allocations: 3.938 kB / 0.5619 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.3692, allocations: 7.938 kB / 0.5619 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3692, allocations: 0 / 0.5619 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.3692, allocations: 4 kB / 0.5619 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002777/0.3694, allocations: 378.4 kB / 0.5623 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.731e-05/0.3696, allocations: 132.7 kB / 0.5624 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.3696, allocations: 0 / 0.5624 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.3698, allocations: 15.98 kB / 0.5624 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.3698, allocations: 11.89 kB / 0.5624 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.3698, allocations: 12 kB / 0.5624 GB, free: 15.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002915/0.3701, allocations: 336.5 kB / 0.5628 GB, free: 14.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003176/0.3704, allocations: 55.92 kB / 0.5628 GB, free: 14.86 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005734/0.371, allocations: 349.6 kB / 0.5631 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.3712, allocations: 115.3 kB / 0.5633 GB, free: 14.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3712, allocations: 0 / 0.5633 GB, free: 14.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.481e-05/0.3713, allocations: 55.88 kB / 0.5633 GB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.3716, allocations: 56.97 kB / 0.5634 GB, free: 14.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006339/0.3723, allocations: 439.4 kB / 0.5638 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003346/0.3726, allocations: 0.8173 MB / 0.5646 GB, free: 13.02 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3726, allocations: 0 / 0.5646 GB, free: 13.02 MB / 410.7 MB Notification: Performance of Templates: time 0.005016/0.3776, allocations: 2.847 MB / 0.5674 GB, free: 10.18 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches