Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78") [: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.001651/0.001651, allocations: 173.9 kB / 8.148 MB, free: 2.133 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.647/1.647, allocations: 205.2 MB / 213.8 MB, free: 13.87 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.001268/0.001267, allocations: 98.42 kB / 261.8 MB, free: 13.62 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.2718/0.2718, allocations: 43.48 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.299e-05/1.323e-05, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2742, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1545/0.4287, allocations: 87 MB / 0.5503 GB, free: 12.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.429, allocations: 75.23 kB / 0.5504 GB, free: 12 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0332/0.4622, allocations: 7.391 MB / 0.5576 GB, free: 4.605 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.146e-05/0.4623, allocations: 4 kB / 0.5576 GB, free: 4.602 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009096/0.4632, allocations: 0.5014 MB / 0.5581 GB, free: 4.055 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.4633, allocations: 8.031 kB / 0.5581 GB, free: 4.047 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.4634, allocations: 31.62 kB / 0.5582 GB, free: 4.016 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007638/0.4642, allocations: 298.9 kB / 0.5584 GB, free: 3.684 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.4643, allocations: 4 kB / 0.5584 GB, free: 3.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.4643, allocations: 4 kB / 0.5584 GB, free: 3.676 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001666/0.4645, allocations: 35.98 kB / 0.5585 GB, free: 3.641 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.4647, allocations: 95.3 kB / 0.5586 GB, free: 3.535 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.4647, allocations: 3.906 kB / 0.5586 GB, free: 3.531 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.4648, allocations: 4 kB / 0.5586 GB, free: 3.527 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4648, allocations: 0 / 0.5586 GB, free: 3.527 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009157/0.4657, allocations: 453.5 kB / 0.559 GB, free: 3.043 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.466, allocations: 105.4 kB / 0.5591 GB, free: 2.922 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.4661, allocations: 37.83 kB / 0.5591 GB, free: 2.879 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.4662, allocations: 0 / 0.5591 GB, free: 2.879 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.4664, allocations: 109 kB / 0.5593 GB, free: 2.754 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.154e-06/0.4664, allocations: 4 kB / 0.5593 GB, free: 2.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001108/0.4675, allocations: 303.8 kB / 0.5595 GB, free: 2.445 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.4676, allocations: 77.11 kB / 0.5596 GB, free: 2.352 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008961/0.4686, allocations: 410 kB / 0.56 GB, free: 1.941 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.4686, allocations: 29.7 kB / 0.56 GB, free: 1.906 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.4687, allocations: 154.8 kB / 0.5602 GB, free: 1.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.198e-05/0.4688, allocations: 51.28 kB / 0.5602 GB, free: 1.699 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/0.4688, allocations: 7.938 kB / 0.5602 GB, free: 1.691 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.469, allocations: 314.8 kB / 0.5605 GB, free: 1.375 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.4691, allocations: 32 kB / 0.5606 GB, free: 1.344 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.4693, allocations: 74.86 kB / 0.5606 GB, free: 1.262 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.4694, allocations: 43.88 kB / 0.5607 GB, free: 1.219 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4695, allocations: 4 kB / 0.5607 GB, free: 1.215 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000414/0.4699, allocations: 141.5 kB / 0.5608 GB, free: 1.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.4699, allocations: 10.81 kB / 0.5608 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.4699, allocations: 0 / 0.5608 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.47, allocations: 0 / 0.5608 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.4703, allocations: 35.92 kB / 0.5609 GB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.4703, allocations: 0 / 0.5609 GB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.4704, allocations: 7.984 kB / 0.5609 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.4704, allocations: 8.062 kB / 0.5609 GB, free: 1.012 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.845e-05/0.4705, allocations: 43.05 kB / 0.5609 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.4707, allocations: 27.62 kB / 0.561 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006286/0.4713, allocations: 196.4 kB / 0.5611 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.4713, allocations: 4 kB / 0.5611 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4713, allocations: 0 / 0.5611 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.4713, allocations: 0 / 0.5611 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.4725, allocations: 0.6403 MB / 0.5618 GB, free: 44 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.4725, allocations: 4 kB / 0.5618 GB, free: 40 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.4727, allocations: 16 kB / 0.5618 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.4727, allocations: 0 / 0.5618 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.4727, allocations: 7.984 kB / 0.5618 GB, free: 16 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.4727, allocations: 11.84 kB / 0.5618 GB, free: 4 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.4728, allocations: 3.938 kB / 0.5618 GB, free: 0 / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005734/0.4733, allocations: 378.5 kB / 0.5622 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.4735, allocations: 132.6 kB / 0.5623 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.838e-05/0.4736, allocations: 4 kB / 0.5623 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.4739, allocations: 8.375 kB / 0.5623 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.388e-05/0.474, allocations: 15.98 kB / 0.5623 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.474, allocations: 7.984 kB / 0.5623 GB, free: 15.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006185/0.4747, allocations: 336.5 kB / 0.5627 GB, free: 15.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005236/0.4752, allocations: 47.94 kB / 0.5627 GB, free: 15.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001095/0.4763, allocations: 370.9 kB / 0.5631 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003898/0.4767, allocations: 99.84 kB / 0.5631 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4768, allocations: 0 / 0.5631 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.4769, allocations: 67.91 kB / 0.5632 GB, free: 14.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007638/0.4777, allocations: 49.28 kB / 0.5633 GB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.4791, allocations: 472.8 kB / 0.5637 GB, free: 13.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005861/0.4797, allocations: 0.8131 MB / 0.5645 GB, free: 13.15 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4797, allocations: 0 / 0.5645 GB, free: 13.15 MB / 410.7 MB Notification: Performance of Templates: time 0.009018/0.4888, allocations: 3.606 MB / 0.568 GB, free: 9.551 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches