Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001566/0.001566, allocations: 170.3 kB / 8.149 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.91/1.91, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001284/0.001284, allocations: 92.67 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2647/0.2647, allocations: 43.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.808e-06/1.005e-05, allocations: 4 kB / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2763, allocations: 58.84 MB / 476.5 MB, free: 5.105 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.437, allocations: 87.68 MB / 0.551 GB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.4373, allocations: 79.45 kB / 0.5511 GB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03078/0.4681, allocations: 6.505 MB / 0.5574 GB, free: 4.824 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.545e-05/0.4682, allocations: 8.125 kB / 0.5574 GB, free: 4.816 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008246/0.4691, allocations: 0.4916 MB / 0.5579 GB, free: 4.273 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.4691, allocations: 15.97 kB / 0.5579 GB, free: 4.258 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.383e-05/0.4692, allocations: 19.72 kB / 0.5579 GB, free: 4.238 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007005/0.4699, allocations: 282.1 kB / 0.5582 GB, free: 3.918 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.47, allocations: 4 kB / 0.5582 GB, free: 3.914 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.47, allocations: 8 kB / 0.5582 GB, free: 3.906 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001655/0.4702, allocations: 39.89 kB / 0.5583 GB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.4705, allocations: 100.2 kB / 0.5584 GB, free: 3.754 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.4705, allocations: 0 / 0.5584 GB, free: 3.754 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.4705, allocations: 0 / 0.5584 GB, free: 3.754 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.4705, allocations: 0 / 0.5584 GB, free: 3.754 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007723/0.4713, allocations: 370.1 kB / 0.5587 GB, free: 3.352 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.4716, allocations: 105.4 kB / 0.5588 GB, free: 3.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.4717, allocations: 41.72 kB / 0.5589 GB, free: 3.184 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.4718, allocations: 3.938 kB / 0.5589 GB, free: 3.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.472, allocations: 113 kB / 0.559 GB, free: 3.051 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 2.304e-06/0.472, allocations: 0 / 0.559 GB, free: 3.051 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004094/0.4724, allocations: 117.4 kB / 0.5591 GB, free: 2.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/0.4725, allocations: 110.8 kB / 0.5592 GB, free: 2.797 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005467/0.4731, allocations: 295.3 kB / 0.5595 GB, free: 2.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.4731, allocations: 25.7 kB / 0.5595 GB, free: 2.469 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.872e-05/0.4732, allocations: 158.5 kB / 0.5596 GB, free: 2.312 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.4733, allocations: 31.72 kB / 0.5597 GB, free: 2.281 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-06/0.4733, allocations: 0 / 0.5597 GB, free: 2.281 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4734, allocations: 318.7 kB / 0.56 GB, free: 1.961 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-05/0.4735, allocations: 28 kB / 0.56 GB, free: 1.934 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.4737, allocations: 83.19 kB / 0.5601 GB, free: 1.836 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.4738, allocations: 36.11 kB / 0.5601 GB, free: 1.801 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.4738, allocations: 0 / 0.5601 GB, free: 1.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000316/0.4741, allocations: 113.5 kB / 0.5602 GB, free: 1.684 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.4742, allocations: 7.281 kB / 0.5602 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.4742, allocations: 7.984 kB / 0.5602 GB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.4742, allocations: 4.094 kB / 0.5602 GB, free: 1.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.4745, allocations: 19.94 kB / 0.5603 GB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.4745, allocations: 7.984 kB / 0.5603 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.4746, allocations: 8 kB / 0.5603 GB, free: 1.633 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.4746, allocations: 8 kB / 0.5603 GB, free: 1.625 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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 9.357e-05/0.4747, allocations: 39 kB / 0.5603 GB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.87e-05/0.4748, allocations: 23.72 kB / 0.5603 GB, free: 1.559 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004605/0.4753, allocations: 147.3 kB / 0.5605 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.4753, allocations: 4 kB / 0.5605 GB, free: 1.402 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4754, allocations: 0 / 0.5605 GB, free: 1.402 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.4754, allocations: 0 / 0.5605 GB, free: 1.402 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.4757, allocations: 237.9 kB / 0.5607 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.4757, allocations: 3.984 kB / 0.5607 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.852e-05/0.4758, allocations: 8 kB / 0.5607 GB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/0.4758, allocations: 0 / 0.5607 GB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.4759, allocations: 11.94 kB / 0.5607 GB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.4759, allocations: 192 / 0.5607 GB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/0.4759, allocations: 11.98 kB / 0.5608 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003893/0.4763, allocations: 175.2 kB / 0.5609 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.4765, allocations: 108.8 kB / 0.561 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.967e-05/0.4765, allocations: 7.984 kB / 0.561 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.4767, allocations: 12 kB / 0.561 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.4768, allocations: 11.89 kB / 0.5611 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.4768, allocations: 4 kB / 0.5611 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0004001/0.4772, allocations: 239 kB / 0.5613 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003913/0.4776, allocations: 47.92 kB / 0.5613 GB, free: 472 kB / 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.0009512/0.4786, allocations: 319.3 kB / 0.5616 GB, free: 184 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000365/0.479, allocations: 91.91 kB / 0.5617 GB, free: 92 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.479, allocations: 0 / 0.5617 GB, free: 92 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.4792, allocations: 47.94 kB / 0.5618 GB, free: 44 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006383/0.4798, allocations: 60.09 kB / 0.5618 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.4809, allocations: 318.1 kB / 0.5621 GB, free: 15.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005509/0.4815, allocations: 0.7746 MB / 0.5629 GB, free: 14.84 MB / 410.7 MB Notification: Performance of SimCode: time 1.382e-06/0.4815, allocations: 4 kB / 0.5629 GB, free: 14.83 MB / 410.7 MB Notification: Performance of Templates: time 0.008948/0.4905, allocations: 3.302 MB / 0.5661 GB, free: 11.54 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches