Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.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.CombiTable1Ds.Test12,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.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.CombiTable1Ds.Test12") [: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.002377/0.002381, allocations: 180.9 kB / 8.154 MB, free: 2.117 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.655/1.655, allocations: 205.2 MB / 213.8 MB, free: 13.91 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.001265/0.001264, allocations: 91.72 kB / 261.8 MB, free: 13.61 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.4527/0.4527, allocations: 43.5 MB / 353.2 MB, free: 2.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.072e-05/1.073e-05, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.29, allocations: 58.84 MB / 476.5 MB, free: 5.066 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1576/0.4476, allocations: 85.52 MB / 0.5489 GB, free: 13.55 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.4479, allocations: 63.97 kB / 0.549 GB, free: 13.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01522/0.4632, allocations: 3.242 MB / 0.5521 GB, free: 10.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.978e-05/0.4632, allocations: 8 kB / 0.5521 GB, free: 10.25 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.0004779/0.4637, allocations: 366.2 kB / 0.5525 GB, free: 9.844 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.4638, allocations: 12.03 kB / 0.5525 GB, free: 9.832 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.4639, allocations: 11.84 kB / 0.5525 GB, free: 9.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.4642, allocations: 190.9 kB / 0.5527 GB, free: 9.594 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.4642, allocations: 4 kB / 0.5527 GB, free: 9.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.4643, allocations: 0 / 0.5527 GB, free: 9.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.87e-05/0.4644, allocations: 12 kB / 0.5527 GB, free: 9.578 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.4645, allocations: 41.69 kB / 0.5527 GB, free: 9.531 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.4645, allocations: 3.906 kB / 0.5527 GB, free: 9.527 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.4645, allocations: 0 / 0.5527 GB, free: 9.527 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.4645, allocations: 0 / 0.5527 GB, free: 9.527 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.465, allocations: 261.4 kB / 0.553 GB, free: 9.234 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.4652, allocations: 29.7 kB / 0.553 GB, free: 9.199 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.852e-05/0.4653, allocations: 12.86 kB / 0.553 GB, free: 9.184 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.4653, allocations: 0 / 0.553 GB, free: 9.184 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.4653, allocations: 34.56 kB / 0.5531 GB, free: 9.141 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 5.16e-06/0.4654, allocations: 4 kB / 0.5531 GB, free: 9.137 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005608/0.4659, allocations: 101.4 kB / 0.5532 GB, free: 9.031 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.466, allocations: 55.34 kB / 0.5532 GB, free: 8.965 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.4662, allocations: 140.4 kB / 0.5534 GB, free: 8.824 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.4663, allocations: 25.7 kB / 0.5534 GB, free: 8.793 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.409e-05/0.4663, allocations: 162.5 kB / 0.5535 GB, free: 8.633 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.4664, allocations: 19.72 kB / 0.5536 GB, free: 8.613 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-06/0.4664, allocations: 0 / 0.5536 GB, free: 8.613 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.4666, allocations: 314.8 kB / 0.5539 GB, free: 8.297 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.617e-05/0.4666, allocations: 8 kB / 0.5539 GB, free: 8.289 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.334e-05/0.4667, allocations: 12 kB / 0.5539 GB, free: 8.277 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.518e-05/0.4667, allocations: 12.17 kB / 0.5539 GB, free: 8.262 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.4668, allocations: 0 / 0.5539 GB, free: 8.262 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001496/0.4669, allocations: 53.7 kB / 0.5539 GB, free: 8.203 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.4669, allocations: 7.281 kB / 0.5539 GB, free: 8.199 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.467, allocations: 4 kB / 0.5539 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.467, allocations: 7.938 kB / 0.554 GB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.4671, allocations: 16.12 kB / 0.554 GB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.4672, allocations: 3.906 kB / 0.554 GB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.528e-05/0.4672, allocations: 7.984 kB / 0.554 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.4673, allocations: 0 / 0.554 GB, free: 8.16 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 5.316e-05/0.4673, allocations: 35.11 kB / 0.554 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/0.4674, allocations: 11.89 kB / 0.554 GB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.4676, allocations: 65.86 kB / 0.5541 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.4676, allocations: 0 / 0.5541 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.4677, allocations: 0 / 0.5541 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.4677, allocations: 7.891 kB / 0.5541 GB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004833/0.4682, allocations: 307.1 kB / 0.5544 GB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4682, allocations: 0 / 0.5544 GB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.4683, allocations: 16 kB / 0.5544 GB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.4683, allocations: 0 / 0.5544 GB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.4684, allocations: 7.906 kB / 0.5544 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4684, allocations: 0 / 0.5544 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4684, allocations: 0 / 0.5544 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002051/0.4686, allocations: 159.7 kB / 0.5546 GB, free: 7.488 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.898e-05/0.4687, allocations: 89 kB / 0.5546 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.4687, allocations: 8.062 kB / 0.5547 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.4689, allocations: 8 kB / 0.5547 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.4689, allocations: 7.891 kB / 0.5547 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.4689, allocations: 0 / 0.5547 GB, free: 7.359 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001528/0.4691, allocations: 123.3 kB / 0.5548 GB, free: 7.238 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003175/0.4694, allocations: 23.92 kB / 0.5548 GB, free: 7.215 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.0008925/0.4703, allocations: 295.3 kB / 0.5551 GB, free: 6.957 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001527/0.4705, allocations: 35.92 kB / 0.5551 GB, free: 6.922 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4705, allocations: 0 / 0.5551 GB, free: 6.922 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.898e-05/0.4706, allocations: 16 kB / 0.5551 GB, free: 6.906 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.4709, allocations: 19.78 kB / 0.5552 GB, free: 6.887 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004966/0.4714, allocations: 153.3 kB / 0.5553 GB, free: 6.703 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004233/0.4719, allocations: 0.7186 MB / 0.556 GB, free: 5.961 MB / 394.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4719, allocations: 0 / 0.556 GB, free: 5.961 MB / 394.7 MB Notification: Performance of Templates: time 0.00466/0.4765, allocations: 1.469 MB / 0.5574 GB, free: 4.492 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches