Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") [: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.00175/0.00175, 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.797/1.797, allocations: 205.2 MB / 213.8 MB, free: 13.94 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: 97.2 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.2556/0.2556, allocations: 43.5 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.347e-06/9.428e-06, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2698, allocations: 58.83 MB / 476.5 MB, free: 5.098 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1534/0.4233, allocations: 86.85 MB / 0.5502 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.4236, allocations: 75.47 kB / 0.5503 GB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02317/0.4468, allocations: 4.847 MB / 0.555 GB, free: 7.277 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.4469, allocations: 0 / 0.555 GB, free: 7.277 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.0005585/0.4474, allocations: 398 kB / 0.5554 GB, free: 6.844 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.4475, allocations: 8.031 kB / 0.5554 GB, free: 6.836 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.4476, allocations: 11.91 kB / 0.5554 GB, free: 6.824 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.448, allocations: 206.8 kB / 0.5556 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.448, allocations: 0 / 0.5556 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.448, allocations: 11.94 kB / 0.5556 GB, free: 6.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.666e-05/0.4482, allocations: 23.92 kB / 0.5556 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.4483, allocations: 41.69 kB / 0.5557 GB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.4483, allocations: 4 kB / 0.5557 GB, free: 6.496 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.4483, allocations: 0 / 0.5557 GB, free: 6.496 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4483, allocations: 0 / 0.5557 GB, free: 6.496 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.4488, allocations: 277.3 kB / 0.5559 GB, free: 6.188 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.449, allocations: 58.61 kB / 0.556 GB, free: 6.121 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.782e-05/0.449, allocations: 20.97 kB / 0.556 GB, free: 6.098 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.4491, allocations: 0 / 0.556 GB, free: 6.098 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.4492, allocations: 63.31 kB / 0.5561 GB, free: 6.023 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 4.068e-06/0.4492, allocations: 0 / 0.5561 GB, free: 6.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005612/0.4498, allocations: 137.2 kB / 0.5562 GB, free: 5.883 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.4498, allocations: 51.41 kB / 0.5563 GB, free: 5.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.4501, allocations: 158.7 kB / 0.5564 GB, free: 5.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.4501, allocations: 29.7 kB / 0.5564 GB, free: 5.625 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/0.4502, allocations: 150.6 kB / 0.5566 GB, free: 5.477 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.4502, allocations: 27.64 kB / 0.5566 GB, free: 5.449 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.4503, allocations: 0 / 0.5566 GB, free: 5.449 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.4504, allocations: 314.8 kB / 0.5569 GB, free: 5.133 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-05/0.4505, allocations: 20 kB / 0.5569 GB, free: 5.113 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.4506, allocations: 33.7 kB / 0.557 GB, free: 5.074 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.898e-05/0.4507, allocations: 16 kB / 0.557 GB, free: 5.059 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4508, allocations: 0 / 0.557 GB, free: 5.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003422/0.4511, allocations: 93.5 kB / 0.5571 GB, free: 4.961 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.4511, allocations: 11.28 kB / 0.5571 GB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.4512, allocations: 0 / 0.5571 GB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.4512, allocations: 4.031 kB / 0.5571 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.4514, allocations: 12 kB / 0.5571 GB, free: 4.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.4514, allocations: 4 kB / 0.5571 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.468e-05/0.4515, allocations: 3.984 kB / 0.5571 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.4516, allocations: 4 kB / 0.5571 GB, free: 4.926 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 8.674e-05/0.4517, allocations: 37.16 kB / 0.5571 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.4517, allocations: 15.81 kB / 0.5571 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004062/0.4521, allocations: 106.3 kB / 0.5572 GB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.4522, allocations: 0 / 0.5572 GB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4522, allocations: 3.938 kB / 0.5573 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.4522, allocations: 0 / 0.5573 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007199/0.4529, allocations: 363.9 kB / 0.5576 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.453, allocations: 0 / 0.5576 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.798e-05/0.4531, allocations: 11.94 kB / 0.5576 GB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4531, allocations: 0 / 0.5576 GB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.4531, allocations: 8.172 kB / 0.5576 GB, free: 4.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.4531, allocations: 8.031 kB / 0.5576 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4532, allocations: 0 / 0.5576 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003644/0.4535, allocations: 205.9 kB / 0.5578 GB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.325e-05/0.4536, allocations: 88.92 kB / 0.5579 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.904e-05/0.4537, allocations: 0 / 0.5579 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.4539, allocations: 15.92 kB / 0.5579 GB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.454, allocations: 8 kB / 0.5579 GB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.454, allocations: 0 / 0.5579 GB, free: 3.973 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002055/0.4542, allocations: 132.1 kB / 0.5581 GB, free: 3.844 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005136/0.4548, allocations: 23.94 kB / 0.5581 GB, free: 3.82 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.001278/0.4561, allocations: 351.7 kB / 0.5584 GB, free: 3.512 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002393/0.4563, allocations: 55.92 kB / 0.5585 GB, free: 3.457 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4564, allocations: 0 / 0.5585 GB, free: 3.457 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.4565, allocations: 31.94 kB / 0.5585 GB, free: 3.426 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005019/0.457, allocations: 24.5 kB / 0.5585 GB, free: 3.402 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006497/0.4577, allocations: 182.4 kB / 0.5587 GB, free: 3.184 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005063/0.4582, allocations: 0.727 MB / 0.5594 GB, free: 2.43 MB / 394.7 MB Notification: Performance of SimCode: time 8.31e-07/0.4582, allocations: 0 / 0.5594 GB, free: 2.43 MB / 394.7 MB Notification: Performance of Templates: time 0.007198/0.4654, allocations: 1.916 MB / 0.5613 GB, free: 0.5156 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches