Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") [: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.0008972/0.0008999, allocations: 187.2 kB / 7.804 MB, free: 2.492 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.056/1.056, 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.0008761/0.0008761, allocations: 91.11 kB / 261.4 MB, free: 13.62 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.1548/0.1548, allocations: 43.49 MB / 352.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.734e-06/7.754e-06, allocations: 4 kB / 417.7 MB, free: 40.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2432, allocations: 58.84 MB / 476.6 MB, free: 5.324 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1028/0.346, allocations: 86.99 MB / 0.5503 GB, free: 12.06 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001627/0.3462, allocations: 71.25 kB / 0.5504 GB, free: 11.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0179/0.3641, allocations: 7.021 MB / 0.5573 GB, free: 4.977 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.3642, allocations: 4 kB / 0.5573 GB, free: 4.973 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004629/0.3646, allocations: 469.9 kB / 0.5577 GB, free: 4.469 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.3647, allocations: 8.031 kB / 0.5577 GB, free: 4.461 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.3647, allocations: 15.81 kB / 0.5577 GB, free: 4.445 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.3651, allocations: 242.7 kB / 0.558 GB, free: 4.168 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.3651, allocations: 4 kB / 0.558 GB, free: 4.164 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.3651, allocations: 4 kB / 0.558 GB, free: 4.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.817e-05/0.3652, allocations: 27.98 kB / 0.558 GB, free: 4.133 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.3653, allocations: 96.94 kB / 0.5581 GB, free: 4.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.3654, allocations: 7.938 kB / 0.5581 GB, free: 4.012 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3654, allocations: 0 / 0.5581 GB, free: 4.012 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3654, allocations: 7.984 kB / 0.5581 GB, free: 4.004 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.3656, allocations: 191.1 kB / 0.5583 GB, free: 3.777 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.3657, allocations: 93.3 kB / 0.5584 GB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.3658, allocations: 41.73 kB / 0.5584 GB, free: 3.621 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.3658, allocations: 0 / 0.5584 GB, free: 3.621 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001168/0.3659, allocations: 101 kB / 0.5585 GB, free: 3.504 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.3659, allocations: 4 kB / 0.5585 GB, free: 3.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002427/0.3662, allocations: 109.5 kB / 0.5586 GB, free: 3.387 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.3662, allocations: 132.5 kB / 0.5588 GB, free: 3.227 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.3664, allocations: 195 kB / 0.5589 GB, free: 3.023 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.3665, allocations: 25.7 kB / 0.559 GB, free: 2.992 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.3665, allocations: 92.12 kB / 0.5591 GB, free: 2.898 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.3665, allocations: 23.66 kB / 0.5591 GB, free: 2.875 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-06/0.3665, allocations: 0 / 0.5591 GB, free: 2.875 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3667, allocations: 338.7 kB / 0.5594 GB, free: 2.535 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.299e-05/0.3667, allocations: 27.94 kB / 0.5594 GB, free: 2.508 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.088e-05/0.3668, allocations: 67.14 kB / 0.5595 GB, free: 2.426 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.471e-05/0.3668, allocations: 27.98 kB / 0.5595 GB, free: 2.398 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3669, allocations: 4 kB / 0.5595 GB, free: 2.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001715/0.367, allocations: 117.5 kB / 0.5596 GB, free: 2.273 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.367, allocations: 8 kB / 0.5596 GB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3671, allocations: 0 / 0.5596 GB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.385e-06/0.3671, allocations: 0 / 0.5596 GB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.3672, allocations: 31.92 kB / 0.5597 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3672, allocations: 0 / 0.5597 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.67e-05/0.3673, allocations: 15.89 kB / 0.5597 GB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.3673, allocations: 4 kB / 0.5597 GB, free: 2.215 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_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.774e-05/0.3674, allocations: 110.5 kB / 0.5598 GB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.3674, allocations: 19.72 kB / 0.5598 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.3677, allocations: 138.9 kB / 0.5599 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3677, allocations: 4 kB / 0.56 GB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3677, allocations: 0 / 0.56 GB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3677, allocations: 0 / 0.56 GB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.3678, allocations: 202 kB / 0.5601 GB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3678, allocations: 0 / 0.5601 GB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/0.3679, allocations: 15.88 kB / 0.5602 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3679, allocations: 8 kB / 0.5602 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.3679, allocations: 7.984 kB / 0.5602 GB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3679, allocations: 4 kB / 0.5602 GB, free: 1.668 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3679, allocations: 3.938 kB / 0.5602 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001867/0.3681, allocations: 151.4 kB / 0.5603 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.858e-05/0.3682, allocations: 104.9 kB / 0.5604 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.3682, allocations: 4 kB / 0.5604 GB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.26e-05/0.3683, allocations: 8 kB / 0.5604 GB, free: 1.355 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.3684, allocations: 11.98 kB / 0.5604 GB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.3684, allocations: 4 kB / 0.5605 GB, free: 1.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001251/0.3685, allocations: 153.5 kB / 0.5606 GB, free: 1.191 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002388/0.3687, allocations: 47.83 kB / 0.5606 GB, free: 1.145 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.0005938/0.3693, allocations: 350.2 kB / 0.561 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001592/0.3695, allocations: 75.92 kB / 0.5611 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3695, allocations: 0 / 0.5611 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.558e-05/0.3696, allocations: 47.92 kB / 0.5611 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.3699, allocations: 51.81 kB / 0.5611 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.3703, allocations: 184.2 kB / 0.5613 GB, free: 464 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.3706, allocations: 0.7471 MB / 0.5621 GB, free: 15.68 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3706, allocations: 4 kB / 0.5621 GB, free: 15.68 MB / 410.7 MB Notification: Performance of Templates: time 0.00471/0.3753, allocations: 2.432 MB / 0.5644 GB, free: 13.26 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches