Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.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.001747/0.001747, allocations: 171.2 kB / 8.149 MB, free: 2.223 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.881/1.881, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.001281/0.001281, allocations: 98.3 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.2919/0.2919, allocations: 43.49 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.154e-05/1.169e-05, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2975, allocations: 58.84 MB / 476.5 MB, free: 5.074 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1543/0.4519, allocations: 85.56 MB / 0.5489 GB, free: 13.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.4522, allocations: 71.23 kB / 0.549 GB, free: 13.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01693/0.4692, allocations: 3.544 MB / 0.5525 GB, free: 9.895 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.277e-05/0.4692, allocations: 8 kB / 0.5525 GB, free: 9.887 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.0004791/0.4697, allocations: 386.1 kB / 0.5528 GB, free: 9.465 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.4698, allocations: 12.02 kB / 0.5528 GB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.4698, allocations: 7.906 kB / 0.5528 GB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.4702, allocations: 205.6 kB / 0.553 GB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.4702, allocations: 8 kB / 0.5531 GB, free: 9.199 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.4702, allocations: 0 / 0.5531 GB, free: 9.199 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.476e-05/0.4703, allocations: 12 kB / 0.5531 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.873e-05/0.4704, allocations: 41.69 kB / 0.5531 GB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.4705, allocations: 0 / 0.5531 GB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.4705, allocations: 0 / 0.5531 GB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.4705, allocations: 0 / 0.5531 GB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.471, allocations: 265.3 kB / 0.5534 GB, free: 8.844 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.4712, allocations: 29.72 kB / 0.5534 GB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.846e-05/0.4713, allocations: 12.86 kB / 0.5534 GB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.4713, allocations: 0 / 0.5534 GB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.4713, allocations: 38.64 kB / 0.5534 GB, free: 8.746 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.4713, allocations: 0 / 0.5534 GB, free: 8.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005352/0.4719, allocations: 105.2 kB / 0.5535 GB, free: 8.637 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.4719, allocations: 51.41 kB / 0.5536 GB, free: 8.574 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.4723, allocations: 181.3 kB / 0.5538 GB, free: 8.391 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.4723, allocations: 25.7 kB / 0.5538 GB, free: 8.359 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.4724, allocations: 150.6 kB / 0.5539 GB, free: 8.211 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.4724, allocations: 15.75 kB / 0.5539 GB, free: 8.195 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-06/0.4724, allocations: 0 / 0.5539 GB, free: 8.195 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.4726, allocations: 318.8 kB / 0.5542 GB, free: 7.875 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.345e-05/0.4726, allocations: 12 kB / 0.5543 GB, free: 7.863 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.428e-05/0.4727, allocations: 11.98 kB / 0.5543 GB, free: 7.852 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.319e-05/0.4727, allocations: 8 kB / 0.5543 GB, free: 7.844 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.4727, allocations: 0 / 0.5543 GB, free: 7.844 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001529/0.4729, allocations: 57.8 kB / 0.5543 GB, free: 7.781 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.4729, allocations: 11.98 kB / 0.5543 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4729, allocations: 0 / 0.5543 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.473, allocations: 0 / 0.5543 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.4731, allocations: 19.94 kB / 0.5544 GB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.4731, allocations: 3.984 kB / 0.5544 GB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.001e-05/0.4732, allocations: 7.984 kB / 0.5544 GB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.4732, allocations: 4 kB / 0.5544 GB, free: 7.734 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.323e-05/0.4733, allocations: 27.27 kB / 0.5544 GB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.413e-05/0.4734, allocations: 11.95 kB / 0.5544 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.4736, allocations: 85.83 kB / 0.5545 GB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.4736, allocations: 0 / 0.5545 GB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4737, allocations: 0 / 0.5545 GB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.4737, allocations: 0 / 0.5545 GB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.4742, allocations: 323 kB / 0.5548 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4742, allocations: 0 / 0.5548 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.4743, allocations: 12 kB / 0.5548 GB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.4743, allocations: 0 / 0.5548 GB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.4744, allocations: 4 kB / 0.5548 GB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.4744, allocations: 3.984 kB / 0.5548 GB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4744, allocations: 0 / 0.5548 GB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001909/0.4746, allocations: 159.3 kB / 0.555 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.833e-05/0.4747, allocations: 93 kB / 0.5551 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.4747, allocations: 256 / 0.5551 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.4749, allocations: 23.83 kB / 0.5551 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.4749, allocations: 4 kB / 0.5551 GB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.475, allocations: 0 / 0.5551 GB, free: 6.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001996/0.4752, allocations: 160.1 kB / 0.5552 GB, free: 6.754 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003064/0.4755, allocations: 16 kB / 0.5553 GB, free: 6.738 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.0008431/0.4763, allocations: 299.8 kB / 0.5555 GB, free: 6.477 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.4765, allocations: 31.94 kB / 0.5556 GB, free: 6.445 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4765, allocations: 0 / 0.5556 GB, free: 6.445 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.211e-05/0.4766, allocations: 19.98 kB / 0.5556 GB, free: 6.426 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.4769, allocations: 11.98 kB / 0.5556 GB, free: 6.414 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005533/0.4775, allocations: 177.5 kB / 0.5558 GB, free: 6.203 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000383/0.4779, allocations: 0.7192 MB / 0.5565 GB, free: 5.457 MB / 394.7 MB Notification: Performance of SimCode: time 7.61e-07/0.4779, allocations: 4 kB / 0.5565 GB, free: 5.453 MB / 394.7 MB Notification: Performance of Templates: time 0.00475/0.4827, allocations: 1.562 MB / 0.558 GB, free: 3.891 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches