Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.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.CombiTable1D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1") translateModel(ModelicaTest.Tables.CombiTable1D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1") [: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.002498/0.002498, allocations: 175.6 kB / 8.148 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.707/1.707, 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.001313/0.001312, allocations: 94.72 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.2631/0.2631, allocations: 43.49 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.877e-06/9.158e-06, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.286, allocations: 58.83 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1615/0.4476, allocations: 85.63 MB / 0.549 GB, free: 13.47 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.4479, allocations: 71.97 kB / 0.5491 GB, free: 13.4 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01484/0.4628, allocations: 3.176 MB / 0.5522 GB, free: 10.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.4628, allocations: 0 / 0.5522 GB, free: 10.23 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004572/0.4633, allocations: 378.2 kB / 0.5525 GB, free: 9.812 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.4634, allocations: 12.03 kB / 0.5525 GB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.4634, allocations: 3.906 kB / 0.5525 GB, free: 9.797 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.4637, allocations: 194.8 kB / 0.5527 GB, free: 9.566 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.4637, allocations: 3.906 kB / 0.5527 GB, free: 9.562 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.4638, allocations: 4 kB / 0.5527 GB, free: 9.559 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.754e-05/0.4639, allocations: 15.94 kB / 0.5527 GB, free: 9.543 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.464, allocations: 49.67 kB / 0.5528 GB, free: 9.488 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.464, allocations: 4 kB / 0.5528 GB, free: 9.484 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.464, allocations: 0 / 0.5528 GB, free: 9.484 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.4641, allocations: 0 / 0.5528 GB, free: 9.484 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.4645, allocations: 257.4 kB / 0.553 GB, free: 9.195 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.4647, allocations: 37.7 kB / 0.5531 GB, free: 9.152 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.787e-05/0.4648, allocations: 12.86 kB / 0.5531 GB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.4648, allocations: 0 / 0.5531 GB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.4649, allocations: 30.56 kB / 0.5531 GB, free: 9.098 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.402e-06/0.4649, allocations: 0 / 0.5531 GB, free: 9.098 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005633/0.4655, allocations: 109.4 kB / 0.5532 GB, free: 8.984 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.4655, allocations: 55.41 kB / 0.5533 GB, free: 8.918 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.4657, allocations: 130.6 kB / 0.5534 GB, free: 8.781 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.4657, allocations: 25.7 kB / 0.5534 GB, free: 8.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.801e-05/0.4658, allocations: 154.5 kB / 0.5536 GB, free: 8.598 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.4658, allocations: 19.72 kB / 0.5536 GB, free: 8.578 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.4659, allocations: 0 / 0.5536 GB, free: 8.578 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.466, allocations: 310.8 kB / 0.5539 GB, free: 8.266 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.521e-05/0.4661, allocations: 12 kB / 0.5539 GB, free: 8.254 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.9e-05/0.4661, allocations: 19.92 kB / 0.5539 GB, free: 8.234 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.999e-05/0.4662, allocations: 12 kB / 0.5539 GB, free: 8.223 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4662, allocations: 0 / 0.5539 GB, free: 8.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000155/0.4664, allocations: 57.69 kB / 0.554 GB, free: 8.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.4664, allocations: 4 kB / 0.554 GB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.4664, allocations: 4 kB / 0.554 GB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.4664, allocations: 0 / 0.554 GB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.4666, allocations: 19.92 kB / 0.554 GB, free: 8.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.4666, allocations: 7.906 kB / 0.554 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.46e-05/0.4667, allocations: 4 kB / 0.554 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.4667, allocations: 7.984 kB / 0.554 GB, free: 8.113 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 (5): * Single equations (assignments): 5 * 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 4.867e-05/0.4667, allocations: 31.11 kB / 0.5541 GB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.4668, allocations: 7.906 kB / 0.5541 GB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.467, allocations: 73.86 kB / 0.5541 GB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.4671, allocations: 0 / 0.5541 GB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4671, allocations: 4 kB / 0.5541 GB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4671, allocations: 0 / 0.5541 GB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.4676, allocations: 315.3 kB / 0.5544 GB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.4676, allocations: 4.062 kB / 0.5545 GB, free: 7.633 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.4677, allocations: 15.98 kB / 0.5545 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4677, allocations: 4 kB / 0.5545 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.4677, allocations: 0 / 0.5545 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4678, allocations: 7.938 kB / 0.5545 GB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4678, allocations: 0 / 0.5545 GB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002091/0.468, allocations: 167.4 kB / 0.5546 GB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.4681, allocations: 89 kB / 0.5547 GB, free: 7.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.4681, allocations: 0 / 0.5547 GB, free: 7.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.4683, allocations: 4 kB / 0.5547 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.4683, allocations: 11.98 kB / 0.5547 GB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.4683, allocations: 0 / 0.5547 GB, free: 7.305 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001096/0.4684, allocations: 100.4 kB / 0.5548 GB, free: 7.207 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002975/0.4688, allocations: 27.92 kB / 0.5549 GB, free: 7.18 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 (5): * Single equations (assignments): 5 * 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.0008897/0.4697, allocations: 304.6 kB / 0.5551 GB, free: 6.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.4698, allocations: 32 kB / 0.5552 GB, free: 6.879 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4698, allocations: 7.938 kB / 0.5552 GB, free: 6.871 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.541e-05/0.4699, allocations: 16 kB / 0.5552 GB, free: 6.855 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.4702, allocations: 23.75 kB / 0.5552 GB, free: 6.832 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004474/0.4707, allocations: 141.3 kB / 0.5554 GB, free: 6.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003971/0.4711, allocations: 0.7114 MB / 0.5561 GB, free: 5.922 MB / 394.7 MB Notification: Performance of SimCode: time 6.72e-07/0.4711, allocations: 0 / 0.5561 GB, free: 5.922 MB / 394.7 MB Notification: Performance of Templates: time 0.004271/0.4754, allocations: 1.427 MB / 0.5574 GB, free: 4.496 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches