Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1D.Test7,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.Test7") [: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.001644/0.001644, allocations: 171.4 kB / 8.146 MB, free: 2.195 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.651/1.651, allocations: 205.2 MB / 213.8 MB, free: 13.9 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.001323/0.001323, allocations: 93.45 kB / 261.8 MB, free: 13.59 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.2979/0.2979, allocations: 43.48 MB / 353.2 MB, free: 2.008 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.668e-06/9.849e-06, allocations: 0 / 417.7 MB, free: 40.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3289, allocations: 58.84 MB / 476.5 MB, free: 5.066 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.156/0.4849, allocations: 85.62 MB / 0.549 GB, free: 13.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/0.4853, allocations: 75.47 kB / 0.5491 GB, free: 13.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01578/0.5011, allocations: 3.231 MB / 0.5522 GB, free: 10.13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.5011, allocations: 0 / 0.5522 GB, free: 10.13 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.0004856/0.5016, allocations: 370.2 kB / 0.5526 GB, free: 9.727 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.5017, allocations: 8.031 kB / 0.5526 GB, free: 9.719 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.24e-05/0.5018, allocations: 11.81 kB / 0.5526 GB, free: 9.707 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.5021, allocations: 190.9 kB / 0.5528 GB, free: 9.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.5021, allocations: 0 / 0.5528 GB, free: 9.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.5021, allocations: 8 kB / 0.5528 GB, free: 9.473 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.211e-05/0.5023, allocations: 15.98 kB / 0.5528 GB, free: 9.457 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.5024, allocations: 41.69 kB / 0.5528 GB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.5024, allocations: 0 / 0.5528 GB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.5024, allocations: 0 / 0.5528 GB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.5024, allocations: 0 / 0.5528 GB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.5029, allocations: 273.4 kB / 0.5531 GB, free: 9.105 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.5032, allocations: 25.72 kB / 0.5531 GB, free: 9.074 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.174e-05/0.5032, allocations: 12.94 kB / 0.5531 GB, free: 9.059 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.5033, allocations: 7.906 kB / 0.5531 GB, free: 9.051 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.5033, allocations: 34.56 kB / 0.5532 GB, free: 9.008 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.794e-06/0.5033, allocations: 0 / 0.5532 GB, free: 9.008 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005926/0.5039, allocations: 117.2 kB / 0.5533 GB, free: 8.887 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.504, allocations: 55.41 kB / 0.5533 GB, free: 8.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.5042, allocations: 129.2 kB / 0.5535 GB, free: 8.684 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.5042, allocations: 25.7 kB / 0.5535 GB, free: 8.652 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.5043, allocations: 150.6 kB / 0.5536 GB, free: 8.504 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.5043, allocations: 23.73 kB / 0.5537 GB, free: 8.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.5044, allocations: 0 / 0.5537 GB, free: 8.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5045, allocations: 318.8 kB / 0.554 GB, free: 8.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.38e-05/0.5046, allocations: 15.94 kB / 0.554 GB, free: 8.145 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.82e-05/0.5046, allocations: 8 kB / 0.554 GB, free: 8.137 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.971e-05/0.5047, allocations: 15.98 kB / 0.554 GB, free: 8.121 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.5047, allocations: 0 / 0.554 GB, free: 8.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001622/0.5049, allocations: 57.69 kB / 0.5541 GB, free: 8.059 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.5049, allocations: 8 kB / 0.5541 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.5049, allocations: 0 / 0.5541 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.5049, allocations: 0 / 0.5541 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.5051, allocations: 28.17 kB / 0.5541 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.5051, allocations: 0 / 0.5541 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.76e-05/0.5052, allocations: 8 kB / 0.5541 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.5052, allocations: 7.938 kB / 0.5541 GB, free: 8.008 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.639e-05/0.5053, allocations: 31.02 kB / 0.5541 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.552e-05/0.5053, allocations: 7.906 kB / 0.5541 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.5056, allocations: 77.86 kB / 0.5542 GB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.5056, allocations: 0 / 0.5542 GB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.5056, allocations: 3.984 kB / 0.5542 GB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.5056, allocations: 4 kB / 0.5542 GB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005011/0.5062, allocations: 311 kB / 0.5545 GB, free: 7.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.5062, allocations: 4 kB / 0.5545 GB, free: 7.516 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.5063, allocations: 11.98 kB / 0.5545 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.5063, allocations: 8 kB / 0.5545 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.5063, allocations: 0 / 0.5545 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.5064, allocations: 0 / 0.5545 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5064, allocations: 0 / 0.5545 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002102/0.5066, allocations: 167.4 kB / 0.5547 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.5067, allocations: 89 kB / 0.5548 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.5067, allocations: 0 / 0.5548 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.5068, allocations: 8 kB / 0.5548 GB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.5069, allocations: 7.984 kB / 0.5548 GB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.5069, allocations: 0 / 0.5548 GB, free: 7.195 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000133/0.5071, allocations: 118.7 kB / 0.5549 GB, free: 7.082 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003065/0.5074, allocations: 20 kB / 0.5549 GB, free: 7.062 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.0009469/0.5083, allocations: 315.1 kB / 0.5552 GB, free: 6.781 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.5085, allocations: 32 kB / 0.5553 GB, free: 6.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5085, allocations: 3.938 kB / 0.5553 GB, free: 6.746 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.937e-05/0.5086, allocations: 19.98 kB / 0.5553 GB, free: 6.727 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.509, allocations: 15.77 kB / 0.5553 GB, free: 6.711 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.5095, allocations: 145.4 kB / 0.5554 GB, free: 6.539 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004142/0.5099, allocations: 0.7192 MB / 0.5561 GB, free: 5.793 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5099, allocations: 0 / 0.5561 GB, free: 5.793 MB / 394.7 MB Notification: Performance of Templates: time 0.004604/0.5145, allocations: 1.458 MB / 0.5576 GB, free: 4.336 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches