Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") [: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.002251/0.002251, allocations: 178.3 kB / 8.15 MB, free: 2.211 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.682/1.682, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.001292/0.001292, allocations: 93.42 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.2607/0.2607, allocations: 43.49 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.207e-05/1.223e-05, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2726, allocations: 58.85 MB / 476.6 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.4256, allocations: 86.86 MB / 0.5502 GB, free: 12.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.4259, allocations: 75.47 kB / 0.5503 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02233/0.4483, allocations: 4.832 MB / 0.555 GB, free: 7.328 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.4483, allocations: 0 / 0.555 GB, free: 7.328 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.0005384/0.4489, allocations: 402 kB / 0.5554 GB, free: 6.891 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.4489, allocations: 12.03 kB / 0.5554 GB, free: 6.879 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.449, allocations: 7.906 kB / 0.5554 GB, free: 6.871 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/0.4494, allocations: 210.7 kB / 0.5556 GB, free: 6.625 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.4494, allocations: 0 / 0.5556 GB, free: 6.625 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.4495, allocations: 0 / 0.5556 GB, free: 6.625 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.197e-05/0.4496, allocations: 19.98 kB / 0.5556 GB, free: 6.605 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.4497, allocations: 49.69 kB / 0.5557 GB, free: 6.551 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.4497, allocations: 3.984 kB / 0.5557 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.4498, allocations: 0 / 0.5557 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.4498, allocations: 7.938 kB / 0.5557 GB, free: 6.539 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.4502, allocations: 273.4 kB / 0.5559 GB, free: 6.234 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.4504, allocations: 46.69 kB / 0.556 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.9e-05/0.4504, allocations: 16.98 kB / 0.556 GB, free: 6.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.4505, allocations: 7.984 kB / 0.556 GB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/0.4506, allocations: 71.25 kB / 0.5561 GB, free: 6.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 4.217e-06/0.4506, allocations: 0 / 0.5561 GB, free: 6.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005375/0.4512, allocations: 125.3 kB / 0.5562 GB, free: 5.941 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.4512, allocations: 51.41 kB / 0.5562 GB, free: 5.879 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.4515, allocations: 157.3 kB / 0.5564 GB, free: 5.719 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.4515, allocations: 25.7 kB / 0.5564 GB, free: 5.688 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/0.4516, allocations: 150.6 kB / 0.5566 GB, free: 5.539 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.276e-05/0.4516, allocations: 27.64 kB / 0.5566 GB, free: 5.512 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.4516, allocations: 4 kB / 0.5566 GB, free: 5.508 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4518, allocations: 318.8 kB / 0.5569 GB, free: 5.188 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.658e-05/0.4519, allocations: 12 kB / 0.5569 GB, free: 5.176 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.815e-05/0.4519, allocations: 37.64 kB / 0.5569 GB, free: 5.133 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.39e-05/0.452, allocations: 23.98 kB / 0.557 GB, free: 5.109 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.452, allocations: 0 / 0.557 GB, free: 5.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002163/0.4523, allocations: 85.59 kB / 0.557 GB, free: 5.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.4523, allocations: 8.031 kB / 0.5571 GB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.4523, allocations: 0 / 0.5571 GB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.4524, allocations: 4.188 kB / 0.5571 GB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.4525, allocations: 19.92 kB / 0.5571 GB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4525, allocations: 3.938 kB / 0.5571 GB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.294e-05/0.4526, allocations: 4 kB / 0.5571 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.4526, allocations: 4.156 kB / 0.5571 GB, free: 4.977 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 6.255e-05/0.4527, allocations: 31.09 kB / 0.5571 GB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.4527, allocations: 11.81 kB / 0.5571 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003077/0.4531, allocations: 110.1 kB / 0.5572 GB, free: 4.816 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.4531, allocations: 4 kB / 0.5572 GB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4531, allocations: 0 / 0.5572 GB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.4531, allocations: 0 / 0.5572 GB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005708/0.4537, allocations: 363.8 kB / 0.5576 GB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4537, allocations: 0 / 0.5576 GB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.838e-05/0.4538, allocations: 15.98 kB / 0.5576 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.4538, allocations: 4.031 kB / 0.5576 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.4538, allocations: 0 / 0.5576 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.4539, allocations: 4 kB / 0.5576 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.4539, allocations: 0 / 0.5576 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002805/0.4542, allocations: 201.9 kB / 0.5578 GB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.184e-05/0.4543, allocations: 96.92 kB / 0.5579 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.4543, allocations: 3.984 kB / 0.5579 GB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.4545, allocations: 12.12 kB / 0.5579 GB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.4545, allocations: 4 kB / 0.5579 GB, free: 4.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.4545, allocations: 7.984 kB / 0.5579 GB, free: 4.023 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001698/0.4547, allocations: 128.1 kB / 0.558 GB, free: 3.898 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003342/0.4551, allocations: 27.94 kB / 0.5581 GB, free: 3.871 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.000962/0.456, allocations: 359.2 kB / 0.5584 GB, free: 3.555 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.4563, allocations: 51.94 kB / 0.5585 GB, free: 3.504 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4563, allocations: 4 kB / 0.5585 GB, free: 3.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.315e-05/0.4564, allocations: 24 kB / 0.5585 GB, free: 3.477 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.4568, allocations: 28.48 kB / 0.5585 GB, free: 3.449 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005155/0.4573, allocations: 182.3 kB / 0.5587 GB, free: 3.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004066/0.4577, allocations: 0.7231 MB / 0.5594 GB, free: 2.48 MB / 394.7 MB Notification: Performance of SimCode: time 6.21e-07/0.4577, allocations: 0 / 0.5594 GB, free: 2.48 MB / 394.7 MB Notification: Performance of Templates: time 0.005239/0.463, allocations: 1.916 MB / 0.5613 GB, free: 0.5664 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches