Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53") [: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.001621/0.001621, allocations: 174.9 kB / 8.146 MB, free: 2.633 MB / 6.207 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 205.2 MB / 213.7 MB, free: 2.16 MB / 174.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001197/0.001196, allocations: 94.8 kB / 261.8 MB, free: 1.484 MB / 206.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2618/0.2618, allocations: 43.49 MB / 353.2 MB, free: 5.895 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 1.101e-05/1.116e-05, allocations: 4 kB / 417.7 MB, free: 63.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09743/0.09746, allocations: 58.84 MB / 476.6 MB, free: 4.285 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4593/0.5568, allocations: 87.32 MB / 0.5507 GB, free: 68 kB / 366.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003963/0.5573, allocations: 72.44 kB / 0.5507 GB, free: 32 kB / 366.1 MB Notification: Performance of FrontEnd: time 0.04312/0.6004, allocations: 5.151 MB / 0.5558 GB, free: 11.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.425e-05/0.6005, allocations: 4 kB / 0.5558 GB, free: 11.8 MB / 382.1 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.0007861/0.6013, allocations: 412.6 kB / 0.5562 GB, free: 11.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.6014, allocations: 8.031 kB / 0.5562 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.833e-05/0.6015, allocations: 19.25 kB / 0.5562 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005814/0.6021, allocations: 217.8 kB / 0.5564 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.6022, allocations: 0 / 0.5564 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.6022, allocations: 0 / 0.5564 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001265/0.6024, allocations: 19.17 kB / 0.5564 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.6025, allocations: 49.06 kB / 0.5565 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.6026, allocations: 4 kB / 0.5565 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.6026, allocations: 3.938 kB / 0.5565 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.6027, allocations: 4 kB / 0.5565 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006728/0.6033, allocations: 275.3 kB / 0.5567 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.6036, allocations: 50.44 kB / 0.5568 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.397e-05/0.6037, allocations: 24.05 kB / 0.5568 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.6037, allocations: 3.984 kB / 0.5568 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.6039, allocations: 57.84 kB / 0.5569 GB, free: 10.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.907e-06/0.604, allocations: 3.938 kB / 0.5569 GB, free: 10.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008551/0.6048, allocations: 143.2 kB / 0.557 GB, free: 10.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.6049, allocations: 55.39 kB / 0.5571 GB, free: 10.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004874/0.6054, allocations: 198.5 kB / 0.5572 GB, free: 10.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.6055, allocations: 25.7 kB / 0.5573 GB, free: 10.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.107e-05/0.6056, allocations: 162.5 kB / 0.5574 GB, free: 10.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.692e-05/0.6057, allocations: 23.59 kB / 0.5574 GB, free: 10.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/0.6057, allocations: 0 / 0.5574 GB, free: 10.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.6059, allocations: 318.4 kB / 0.5577 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.858e-05/0.606, allocations: 14.06 kB / 0.5578 GB, free: 9.688 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.6062, allocations: 35.28 kB / 0.5578 GB, free: 9.656 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.6063, allocations: 18.73 kB / 0.5578 GB, free: 9.645 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.6063, allocations: 4 kB / 0.5578 GB, free: 9.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003436/0.6067, allocations: 83.06 kB / 0.5579 GB, free: 9.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.6067, allocations: 4 kB / 0.5579 GB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.6068, allocations: 4 kB / 0.5579 GB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.6068, allocations: 3.906 kB / 0.5579 GB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.6071, allocations: 15.98 kB / 0.5579 GB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.6071, allocations: 0 / 0.5579 GB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.6072, allocations: 4 kB / 0.5579 GB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.6073, allocations: 7.938 kB / 0.5579 GB, free: 9.527 MB / 382.1 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 0.0001033/0.6074, allocations: 35.12 kB / 0.558 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.719e-05/0.6075, allocations: 15.81 kB / 0.558 GB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004834/0.608, allocations: 104.2 kB / 0.5581 GB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.608, allocations: 288 / 0.5581 GB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.6081, allocations: 4 kB / 0.5581 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.6081, allocations: 3.984 kB / 0.5581 GB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008973/0.609, allocations: 388.9 kB / 0.5585 GB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.609, allocations: 4 kB / 0.5585 GB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.6092, allocations: 8 kB / 0.5585 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.6092, allocations: 0 / 0.5585 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.6092, allocations: 0 / 0.5585 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.6093, allocations: 7.906 kB / 0.5585 GB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.6093, allocations: 3.984 kB / 0.5585 GB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004316/0.6097, allocations: 206.8 kB / 0.5587 GB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.6099, allocations: 96.91 kB / 0.5588 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.236e-05/0.61, allocations: 3.938 kB / 0.5588 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.6102, allocations: 4 kB / 0.5588 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.6103, allocations: 11.53 kB / 0.5588 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.6103, allocations: 4 kB / 0.5588 GB, free: 8.621 MB / 382.1 MB Notification: Performance of sort global known variables: time 0.0003257/0.6107, allocations: 163.5 kB / 0.559 GB, free: 8.488 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005831/0.6113, allocations: 31.94 kB / 0.559 GB, free: 8.457 MB / 382.1 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.001506/0.6128, allocations: 355.4 kB / 0.5593 GB, free: 8.156 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003265/0.6132, allocations: 50.55 kB / 0.5594 GB, free: 8.121 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.6132, allocations: 0 / 0.5594 GB, free: 8.121 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.6134, allocations: 34.94 kB / 0.5594 GB, free: 8.094 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006605/0.6141, allocations: 24.03 kB / 0.5594 GB, free: 8.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.6151, allocations: 215.4 kB / 0.5596 GB, free: 7.844 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006623/0.6158, allocations: 0.7346 MB / 0.5603 GB, free: 7.086 MB / 382.1 MB Notification: Performance of SimCode: time 1.794e-06/0.6159, allocations: 0 / 0.5603 GB, free: 7.086 MB / 382.1 MB Notification: Performance of Templates: time 0.009402/0.6253, allocations: 2.051 MB / 0.5624 GB, free: 5.043 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches