Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") [: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.001666/0.001665, allocations: 172.5 kB / 8.147 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.684/1.684, 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.001261/0.00126, allocations: 87.78 kB / 261.8 MB, free: 13.63 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.2929/0.2929, allocations: 43.49 MB / 353.2 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.001e-05/1.017e-05, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2728, allocations: 58.85 MB / 476.6 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1553/0.4281, allocations: 86.89 MB / 0.5502 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.4285, allocations: 71.47 kB / 0.5503 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02428/0.4528, allocations: 4.988 MB / 0.5552 GB, free: 7.152 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.074e-05/0.4528, allocations: 7.938 kB / 0.5552 GB, free: 7.145 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.0005926/0.4534, allocations: 382.2 kB / 0.5555 GB, free: 6.727 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.4535, allocations: 16.02 kB / 0.5556 GB, free: 6.711 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.649e-05/0.4536, allocations: 11.91 kB / 0.5556 GB, free: 6.699 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.454, allocations: 217.6 kB / 0.5558 GB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.4541, allocations: 3.984 kB / 0.5558 GB, free: 6.445 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.4541, allocations: 4 kB / 0.5558 GB, free: 6.441 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001032/0.4542, allocations: 16 kB / 0.5558 GB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.4544, allocations: 49.67 kB / 0.5559 GB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.4544, allocations: 3.906 kB / 0.5559 GB, free: 6.367 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.4544, allocations: 4 kB / 0.5559 GB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.4544, allocations: 4 kB / 0.5559 GB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004877/0.4549, allocations: 265.5 kB / 0.5561 GB, free: 6.062 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.4551, allocations: 50.59 kB / 0.5562 GB, free: 6.004 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.774e-05/0.4552, allocations: 16.98 kB / 0.5562 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.4552, allocations: 8 kB / 0.5562 GB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.4554, allocations: 59.39 kB / 0.5562 GB, free: 5.906 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.565e-06/0.4554, allocations: 0 / 0.5562 GB, free: 5.906 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005857/0.456, allocations: 145.1 kB / 0.5564 GB, free: 5.758 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.456, allocations: 51.41 kB / 0.5564 GB, free: 5.695 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.4563, allocations: 166.2 kB / 0.5566 GB, free: 5.527 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.4564, allocations: 25.7 kB / 0.5566 GB, free: 5.496 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.4564, allocations: 154.6 kB / 0.5568 GB, free: 5.344 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.4565, allocations: 23.7 kB / 0.5568 GB, free: 5.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.4565, allocations: 0 / 0.5568 GB, free: 5.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.4567, allocations: 318.8 kB / 0.5571 GB, free: 5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.797e-05/0.4567, allocations: 12 kB / 0.5571 GB, free: 4.988 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.876e-05/0.4568, allocations: 33.7 kB / 0.5571 GB, free: 4.949 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.549e-05/0.4569, allocations: 23.94 kB / 0.5572 GB, free: 4.926 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.4569, allocations: 3.906 kB / 0.5572 GB, free: 4.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002333/0.4572, allocations: 89.67 kB / 0.5572 GB, free: 4.828 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.4572, allocations: 7.438 kB / 0.5573 GB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4572, allocations: 4 kB / 0.5573 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.4572, allocations: 0 / 0.5573 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.4574, allocations: 15.94 kB / 0.5573 GB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4574, allocations: 0 / 0.5573 GB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.269e-05/0.4575, allocations: 7.984 kB / 0.5573 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.4575, allocations: 4 kB / 0.5573 GB, free: 4.793 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.107e-05/0.4576, allocations: 36.31 kB / 0.5573 GB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.4577, allocations: 11.91 kB / 0.5573 GB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003576/0.458, allocations: 102.2 kB / 0.5574 GB, free: 4.637 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.4581, allocations: 7.906 kB / 0.5574 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.4581, allocations: 0 / 0.5574 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4581, allocations: 0 / 0.5574 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006012/0.4587, allocations: 367.8 kB / 0.5578 GB, free: 4.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4587, allocations: 4.031 kB / 0.5578 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.535e-05/0.4588, allocations: 12.17 kB / 0.5578 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.4588, allocations: 8 kB / 0.5578 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.4589, allocations: 4 kB / 0.5578 GB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.4589, allocations: 288 / 0.5578 GB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.4589, allocations: 4 kB / 0.5578 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002951/0.4592, allocations: 209.8 kB / 0.558 GB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.874e-05/0.4593, allocations: 96.86 kB / 0.5581 GB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.4594, allocations: 3.984 kB / 0.5581 GB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.4595, allocations: 7.984 kB / 0.5581 GB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.4596, allocations: 4 kB / 0.5581 GB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.4596, allocations: 11.92 kB / 0.5581 GB, free: 3.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000186/0.4598, allocations: 140.1 kB / 0.5583 GB, free: 3.684 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000343/0.4601, allocations: 31.98 kB / 0.5583 GB, free: 3.652 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.0009929/0.4611, allocations: 340.1 kB / 0.5586 GB, free: 3.355 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.4614, allocations: 52 kB / 0.5587 GB, free: 3.305 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4614, allocations: 0 / 0.5587 GB, free: 3.305 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.906e-05/0.4615, allocations: 39.91 kB / 0.5587 GB, free: 3.266 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.462, allocations: 28.44 kB / 0.5587 GB, free: 3.238 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/0.4626, allocations: 182.2 kB / 0.5589 GB, free: 3.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004236/0.463, allocations: 0.7308 MB / 0.5596 GB, free: 2.262 MB / 394.7 MB Notification: Performance of SimCode: time 9.61e-07/0.463, allocations: 0 / 0.5596 GB, free: 2.262 MB / 394.7 MB Notification: Performance of Templates: time 0.005725/0.4688, allocations: 1.947 MB / 0.5615 GB, free: 324 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches