Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") [: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.001664/0.001664, allocations: 171.6 kB / 8.148 MB, free: 2.195 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.71/1.71, allocations: 205.2 MB / 213.8 MB, free: 13.91 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.005921/0.005921, allocations: 89.22 kB / 261.8 MB, free: 13.61 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.267/0.267, allocations: 43.49 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.037e-05/1.05e-05, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3203, allocations: 58.83 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1586/0.479, allocations: 86.89 MB / 0.5502 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.4793, allocations: 71.47 kB / 0.5503 GB, free: 12.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02373/0.5031, allocations: 5.023 MB / 0.5552 GB, free: 7.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.786e-05/0.5031, allocations: 3.938 kB / 0.5552 GB, free: 7.086 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.0005791/0.5037, allocations: 402 kB / 0.5556 GB, free: 6.648 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.5038, allocations: 12.03 kB / 0.5556 GB, free: 6.637 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.562e-05/0.5039, allocations: 19.81 kB / 0.5556 GB, free: 6.617 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.5043, allocations: 213 kB / 0.5558 GB, free: 6.367 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.5043, allocations: 0 / 0.5558 GB, free: 6.367 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.5044, allocations: 4 kB / 0.5558 GB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001082/0.5045, allocations: 27.88 kB / 0.5559 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.5046, allocations: 53.58 kB / 0.5559 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.5046, allocations: 0 / 0.5559 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.5047, allocations: 0 / 0.5559 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.5047, allocations: 0 / 0.5559 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.5052, allocations: 273.4 kB / 0.5562 GB, free: 5.973 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.5053, allocations: 50.69 kB / 0.5562 GB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.257e-05/0.5054, allocations: 24.91 kB / 0.5562 GB, free: 5.887 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.5054, allocations: 0 / 0.5562 GB, free: 5.887 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/0.5056, allocations: 63.41 kB / 0.5563 GB, free: 5.812 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.863e-06/0.5056, allocations: 0 / 0.5563 GB, free: 5.812 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005822/0.5062, allocations: 125.3 kB / 0.5564 GB, free: 5.684 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.5062, allocations: 51.41 kB / 0.5565 GB, free: 5.621 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.5065, allocations: 194.2 kB / 0.5567 GB, free: 5.418 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.5066, allocations: 25.7 kB / 0.5567 GB, free: 5.387 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.267e-05/0.5066, allocations: 150.6 kB / 0.5568 GB, free: 5.238 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.5067, allocations: 23.66 kB / 0.5568 GB, free: 5.215 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.5067, allocations: 0 / 0.5568 GB, free: 5.215 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.5069, allocations: 322.8 kB / 0.5572 GB, free: 4.891 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.03e-05/0.507, allocations: 16 kB / 0.5572 GB, free: 4.875 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.197e-05/0.5071, allocations: 29.72 kB / 0.5572 GB, free: 4.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.932e-05/0.5071, allocations: 23.98 kB / 0.5572 GB, free: 4.816 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.5072, allocations: 0 / 0.5572 GB, free: 4.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002466/0.5074, allocations: 89.61 kB / 0.5573 GB, free: 4.723 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.5074, allocations: 7.281 kB / 0.5573 GB, free: 4.719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.5075, allocations: 7.938 kB / 0.5573 GB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.5075, allocations: 0 / 0.5573 GB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.5077, allocations: 19.98 kB / 0.5573 GB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.5077, allocations: 0 / 0.5573 GB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.333e-05/0.5078, allocations: 0 / 0.5573 GB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.5078, allocations: 4 kB / 0.5573 GB, free: 4.688 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 7.329e-05/0.5079, allocations: 35.8 kB / 0.5574 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.5079, allocations: 11.81 kB / 0.5574 GB, free: 4.637 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003318/0.5083, allocations: 107.1 kB / 0.5575 GB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.5083, allocations: 0 / 0.5575 GB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.5083, allocations: 7.984 kB / 0.5575 GB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.5083, allocations: 3.984 kB / 0.5575 GB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006272/0.509, allocations: 371.8 kB / 0.5579 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.509, allocations: 4 kB / 0.5579 GB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.886e-05/0.5091, allocations: 12.17 kB / 0.5579 GB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.607e-06/0.5091, allocations: 4 kB / 0.5579 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.5091, allocations: 4.031 kB / 0.5579 GB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.5091, allocations: 7.938 kB / 0.5579 GB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5092, allocations: 0 / 0.5579 GB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002938/0.5095, allocations: 202.1 kB / 0.5581 GB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.568e-05/0.5096, allocations: 89.02 kB / 0.5582 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/0.5096, allocations: 3.984 kB / 0.5582 GB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.5098, allocations: 12 kB / 0.5582 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.5098, allocations: 11.84 kB / 0.5582 GB, free: 3.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.5099, allocations: 11.92 kB / 0.5582 GB, free: 3.711 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001934/0.5101, allocations: 136.9 kB / 0.5583 GB, free: 3.578 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003639/0.5104, allocations: 35.92 kB / 0.5584 GB, free: 3.543 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.0009889/0.5114, allocations: 351.5 kB / 0.5587 GB, free: 3.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002348/0.5117, allocations: 59.92 kB / 0.5588 GB, free: 3.172 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5117, allocations: 0 / 0.5588 GB, free: 3.172 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.759e-05/0.5118, allocations: 23.94 kB / 0.5588 GB, free: 3.148 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.5123, allocations: 23.98 kB / 0.5588 GB, free: 3.125 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006061/0.5129, allocations: 194.4 kB / 0.559 GB, free: 2.898 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004321/0.5134, allocations: 0.7309 MB / 0.5597 GB, free: 2.141 MB / 394.7 MB Notification: Performance of SimCode: time 1.232e-06/0.5134, allocations: 0 / 0.5597 GB, free: 2.141 MB / 394.7 MB Notification: Performance of Templates: time 0.005717/0.5191, allocations: 1.98 MB / 0.5616 GB, free: 168 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches