Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24") [: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.00162/0.00162, allocations: 177.7 kB / 8.147 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.779/1.779, 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.001821/0.00182, allocations: 93.78 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.2781/0.2781, allocations: 43.49 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.518e-06/9.668e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2862, allocations: 58.84 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1591/0.4453, allocations: 86.4 MB / 0.5498 GB, free: 12.69 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/0.4457, allocations: 71.97 kB / 0.5498 GB, free: 12.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01796/0.4637, allocations: 3.857 MB / 0.5536 GB, free: 8.758 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.4638, allocations: 0 / 0.5536 GB, free: 8.758 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005382/0.4643, allocations: 382.2 kB / 0.554 GB, free: 8.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.4644, allocations: 12.03 kB / 0.554 GB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.231e-05/0.4644, allocations: 15.91 kB / 0.554 GB, free: 8.312 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.4648, allocations: 199.4 kB / 0.5542 GB, free: 8.074 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.4648, allocations: 7.906 kB / 0.5542 GB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.4648, allocations: 0 / 0.5542 GB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001197/0.465, allocations: 23.98 kB / 0.5542 GB, free: 8.043 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.4651, allocations: 49.67 kB / 0.5542 GB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.4651, allocations: 0 / 0.5542 GB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.4652, allocations: 0 / 0.5542 GB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.4652, allocations: 4 kB / 0.5543 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006274/0.4658, allocations: 293.3 kB / 0.5545 GB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.4659, allocations: 38.56 kB / 0.5546 GB, free: 7.613 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.466, allocations: 16.86 kB / 0.5546 GB, free: 7.594 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.4661, allocations: 7.984 kB / 0.5546 GB, free: 7.586 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.4661, allocations: 34.5 kB / 0.5546 GB, free: 7.543 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.783e-06/0.4661, allocations: 0 / 0.5546 GB, free: 7.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007455/0.4669, allocations: 161.2 kB / 0.5548 GB, free: 7.379 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.4669, allocations: 51.41 kB / 0.5548 GB, free: 7.316 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.4672, allocations: 157.5 kB / 0.555 GB, free: 7.152 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.4672, allocations: 25.7 kB / 0.555 GB, free: 7.121 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.4673, allocations: 158.6 kB / 0.5552 GB, free: 6.965 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.4673, allocations: 19.66 kB / 0.5552 GB, free: 6.945 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.4673, allocations: 0 / 0.5552 GB, free: 6.945 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.4675, allocations: 318.8 kB / 0.5555 GB, free: 6.625 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.885e-05/0.4676, allocations: 24.06 kB / 0.5555 GB, free: 6.602 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-05/0.4677, allocations: 16 kB / 0.5555 GB, free: 6.586 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.612e-05/0.4678, allocations: 28.2 kB / 0.5555 GB, free: 6.559 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4678, allocations: 0 / 0.5555 GB, free: 6.559 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002248/0.468, allocations: 85.58 kB / 0.5556 GB, free: 6.469 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.468, allocations: 7.938 kB / 0.5556 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4681, allocations: 0 / 0.5556 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.4681, allocations: 4 kB / 0.5556 GB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.4683, allocations: 23.98 kB / 0.5557 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.4683, allocations: 4 kB / 0.5557 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.4685, allocations: 15.92 kB / 0.5557 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.4685, allocations: 0 / 0.5557 GB, free: 6.414 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.85e-05/0.4686, allocations: 35.11 kB / 0.5557 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-05/0.4686, allocations: 11.81 kB / 0.5557 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.4689, allocations: 102.1 kB / 0.5558 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.469, allocations: 4 kB / 0.5558 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.469, allocations: 0 / 0.5558 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.469, allocations: 0 / 0.5558 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006065/0.4696, allocations: 355 kB / 0.5562 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.4696, allocations: 4 kB / 0.5562 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/0.4699, allocations: 23.98 kB / 0.5562 GB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.4699, allocations: 0 / 0.5562 GB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.4699, allocations: 4 kB / 0.5562 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4699, allocations: 0 / 0.5562 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/0.4699, allocations: 0 / 0.5562 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002746/0.4702, allocations: 195.5 kB / 0.5564 GB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-05/0.4703, allocations: 93 kB / 0.5565 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.4704, allocations: 0 / 0.5565 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.4705, allocations: 23.89 kB / 0.5565 GB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.4706, allocations: 0 / 0.5565 GB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.4706, allocations: 8 kB / 0.5565 GB, free: 5.484 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001641/0.4708, allocations: 128.1 kB / 0.5566 GB, free: 5.359 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003159/0.4711, allocations: 20 kB / 0.5566 GB, free: 5.34 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0008789/0.472, allocations: 304 kB / 0.5569 GB, free: 5.074 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.4723, allocations: 55.92 kB / 0.557 GB, free: 5.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4723, allocations: 0 / 0.557 GB, free: 5.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.84e-05/0.4724, allocations: 32 kB / 0.557 GB, free: 4.988 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.4727, allocations: 15.98 kB / 0.557 GB, free: 4.973 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006134/0.4733, allocations: 192.8 kB / 0.5572 GB, free: 4.758 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004686/0.4738, allocations: 0.727 MB / 0.5579 GB, free: 4.004 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4739, allocations: 0 / 0.5579 GB, free: 4.004 MB / 394.7 MB Notification: Performance of Templates: time 0.005261/0.4791, allocations: 1.736 MB / 0.5596 GB, free: 2.27 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches