Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30") translateModel(ModelicaTest.Tables.CombiTable2D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.002376/0.002375, allocations: 178.7 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.668/1.668, 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.001657/0.001657, allocations: 81.23 kB / 261.8 MB, free: 13.48 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.3346/0.3346, allocations: 43.49 MB / 353.2 MB, free: 1.883 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.014e-05/1.044e-05, allocations: 0 / 417.7 MB, free: 40.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2826, allocations: 58.85 MB / 476.5 MB, free: 5.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1595/0.4421, allocations: 86.01 MB / 0.5494 GB, free: 12.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.4425, allocations: 67.97 kB / 0.5494 GB, free: 12.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01808/0.4606, allocations: 3.961 MB / 0.5533 GB, free: 8.879 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.4606, allocations: 0 / 0.5533 GB, free: 8.879 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.0005488/0.4612, allocations: 398.1 kB / 0.5537 GB, free: 8.445 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.4612, allocations: 8.031 kB / 0.5537 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.4613, allocations: 15.84 kB / 0.5537 GB, free: 8.422 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.4616, allocations: 204.9 kB / 0.5539 GB, free: 8.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.4617, allocations: 3.062 kB / 0.5539 GB, free: 8.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.4617, allocations: 4 kB / 0.5539 GB, free: 8.176 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000107/0.4618, allocations: 12 kB / 0.5539 GB, free: 8.164 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.4619, allocations: 45.69 kB / 0.554 GB, free: 8.113 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.462, allocations: 0 / 0.554 GB, free: 8.113 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.462, allocations: 3.906 kB / 0.554 GB, free: 8.109 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.462, allocations: 4 kB / 0.554 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004962/0.4625, allocations: 281.2 kB / 0.5542 GB, free: 7.793 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.699e-05/0.4626, allocations: 30.56 kB / 0.5543 GB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.537e-05/0.4627, allocations: 20.86 kB / 0.5543 GB, free: 7.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.4627, allocations: 0 / 0.5543 GB, free: 7.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.4628, allocations: 30.56 kB / 0.5543 GB, free: 7.691 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.4628, allocations: 0 / 0.5543 GB, free: 7.691 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007061/0.4635, allocations: 145.4 kB / 0.5545 GB, free: 7.543 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.4635, allocations: 55.31 kB / 0.5545 GB, free: 7.477 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/0.4639, allocations: 186.4 kB / 0.5547 GB, free: 7.281 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.4639, allocations: 25.7 kB / 0.5547 GB, free: 7.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.852e-05/0.464, allocations: 154.6 kB / 0.5549 GB, free: 7.098 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.4641, allocations: 27.64 kB / 0.5549 GB, free: 7.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.4641, allocations: 0 / 0.5549 GB, free: 7.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4642, allocations: 314.8 kB / 0.5552 GB, free: 6.754 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.073e-05/0.4643, allocations: 12 kB / 0.5552 GB, free: 6.742 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.676e-05/0.4644, allocations: 16 kB / 0.5552 GB, free: 6.727 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.969e-05/0.4644, allocations: 15.98 kB / 0.5552 GB, free: 6.711 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4644, allocations: 0 / 0.5552 GB, free: 6.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001871/0.4646, allocations: 73.53 kB / 0.5553 GB, free: 6.633 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.4647, allocations: 6.812 kB / 0.5553 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.4647, allocations: 0 / 0.5553 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.4647, allocations: 4.078 kB / 0.5553 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.465, allocations: 27.98 kB / 0.5553 GB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.465, allocations: 7.938 kB / 0.5553 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.4651, allocations: 19.97 kB / 0.5554 GB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.4651, allocations: 0 / 0.5554 GB, free: 6.57 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.253e-05/0.4652, allocations: 29.7 kB / 0.5554 GB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.637e-05/0.4653, allocations: 15.81 kB / 0.5554 GB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.4655, allocations: 91.31 kB / 0.5555 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4656, allocations: 0 / 0.5555 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.4656, allocations: 4 kB / 0.5555 GB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.4656, allocations: 3.906 kB / 0.5555 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005584/0.4662, allocations: 339.1 kB / 0.5558 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.4662, allocations: 4 kB / 0.5558 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.4664, allocations: 27.97 kB / 0.5559 GB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.4664, allocations: 0 / 0.5559 GB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.4664, allocations: 0 / 0.5559 GB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.4664, allocations: 7.844 kB / 0.5559 GB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.4665, allocations: 0 / 0.5559 GB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002426/0.4667, allocations: 183.3 kB / 0.556 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.438e-05/0.4668, allocations: 89 kB / 0.5561 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.4668, allocations: 4 kB / 0.5561 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.467, allocations: 11.98 kB / 0.5561 GB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.4671, allocations: 8 kB / 0.5561 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-06/0.4671, allocations: 4 kB / 0.5561 GB, free: 5.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002103/0.4673, allocations: 152.9 kB / 0.5563 GB, free: 5.531 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003311/0.4677, allocations: 31.84 kB / 0.5563 GB, free: 5.5 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.0008994/0.4686, allocations: 311.6 kB / 0.5566 GB, free: 5.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.4688, allocations: 43.98 kB / 0.5567 GB, free: 5.188 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4688, allocations: 0 / 0.5567 GB, free: 5.188 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.686e-05/0.4689, allocations: 20 kB / 0.5567 GB, free: 5.168 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.4692, allocations: 15.98 kB / 0.5567 GB, free: 5.152 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006103/0.4699, allocations: 197.2 kB / 0.5569 GB, free: 4.934 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004583/0.4703, allocations: 0.7347 MB / 0.5576 GB, free: 4.172 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4704, allocations: 0 / 0.5576 GB, free: 4.172 MB / 394.7 MB Notification: Performance of Templates: time 0.005535/0.4759, allocations: 1.746 MB / 0.5593 GB, free: 2.43 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches