Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4") [: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.001628/0.001628, allocations: 170.1 kB / 8.137 MB, free: 0.7344 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.755/1.755, allocations: 205.2 MB / 213.7 MB, free: 1.812 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00126/0.001259, allocations: 98.34 kB / 261.8 MB, free: 1.754 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.2495/0.2495, allocations: 43.5 MB / 353.2 MB, free: 424 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 7.845e-06/8.005e-06, allocations: 0 / 417.7 MB, free: 29.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1204, allocations: 58.85 MB / 476.5 MB, free: 2.324 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.351/0.4715, allocations: 85.59 MB / 0.549 GB, free: 8.582 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.4719, allocations: 72.33 kB / 0.549 GB, free: 8.582 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.01778/0.4897, allocations: 3.849 MB / 0.5528 GB, free: 6.578 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.846e-05/0.4897, allocations: 0 / 0.5528 GB, free: 6.578 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004356/0.4902, allocations: 399.7 kB / 0.5532 GB, free: 6.156 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.4902, allocations: 8.031 kB / 0.5532 GB, free: 6.148 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.558e-05/0.4903, allocations: 15.81 kB / 0.5532 GB, free: 6.133 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.4906, allocations: 202.5 kB / 0.5534 GB, free: 5.902 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.4906, allocations: 8 kB / 0.5534 GB, free: 5.895 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.4906, allocations: 7.891 kB / 0.5534 GB, free: 5.887 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001024/0.4908, allocations: 15.5 kB / 0.5534 GB, free: 5.875 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.4909, allocations: 53.28 kB / 0.5535 GB, free: 5.824 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.4909, allocations: 3.5 kB / 0.5535 GB, free: 5.824 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.4909, allocations: 7.938 kB / 0.5535 GB, free: 5.816 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.4909, allocations: 3.938 kB / 0.5535 GB, free: 5.812 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.4914, allocations: 283.3 kB / 0.5538 GB, free: 5.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.29e-05/0.4915, allocations: 32.72 kB / 0.5538 GB, free: 5.488 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.921e-05/0.4915, allocations: 20.8 kB / 0.5538 GB, free: 5.469 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.4916, allocations: 3.984 kB / 0.5538 GB, free: 5.465 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.4916, allocations: 30.56 kB / 0.5538 GB, free: 5.426 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 2.515e-06/0.4916, allocations: 0 / 0.5538 GB, free: 5.426 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006291/0.4923, allocations: 146.7 kB / 0.554 GB, free: 5.297 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.4923, allocations: 51.41 kB / 0.554 GB, free: 5.234 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.4926, allocations: 197.3 kB / 0.5542 GB, free: 5.059 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.4926, allocations: 28.83 kB / 0.5542 GB, free: 5.027 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.066e-05/0.4927, allocations: 154.5 kB / 0.5544 GB, free: 4.875 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.4927, allocations: 26.89 kB / 0.5544 GB, free: 4.852 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.4927, allocations: 0 / 0.5544 GB, free: 4.852 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.869e-05/0.4928, allocations: 322.9 kB / 0.5547 GB, free: 4.527 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.476e-05/0.4928, allocations: 15 kB / 0.5547 GB, free: 4.516 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.334e-05/0.4929, allocations: 11.44 kB / 0.5547 GB, free: 4.508 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.09e-05/0.493, allocations: 18.92 kB / 0.5548 GB, free: 4.496 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.493, allocations: 0 / 0.5548 GB, free: 4.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002026/0.4932, allocations: 68 kB / 0.5548 GB, free: 4.434 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.4932, allocations: 8 kB / 0.5548 GB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.4932, allocations: 0 / 0.5548 GB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4933, allocations: 0 / 0.5548 GB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.4935, allocations: 23.98 kB / 0.5549 GB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.4935, allocations: 0 / 0.5549 GB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.663e-05/0.4936, allocations: 4 kB / 0.5549 GB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.4936, allocations: 7.906 kB / 0.5549 GB, free: 4.391 MB / 362.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 (8): * Single equations (assignments): 8 * 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.91e-05/0.4936, allocations: 27.11 kB / 0.5549 GB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-05/0.4937, allocations: 15.81 kB / 0.5549 GB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.494, allocations: 108 kB / 0.555 GB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.494, allocations: 0 / 0.555 GB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4941, allocations: 0 / 0.555 GB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4941, allocations: 0 / 0.555 GB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005052/0.4946, allocations: 365.1 kB / 0.5554 GB, free: 3.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4946, allocations: 3.938 kB / 0.5554 GB, free: 3.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.4948, allocations: 31.61 kB / 0.5554 GB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.4948, allocations: 0 / 0.5554 GB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.4948, allocations: 3.984 kB / 0.5554 GB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4948, allocations: 4 kB / 0.5554 GB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4948, allocations: 3.938 kB / 0.5554 GB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001857/0.495, allocations: 177.9 kB / 0.5556 GB, free: 3.668 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-05/0.4951, allocations: 96.23 kB / 0.5557 GB, free: 3.559 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.4951, allocations: 0 / 0.5557 GB, free: 3.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.4953, allocations: 11.98 kB / 0.5557 GB, free: 3.547 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.4953, allocations: 4 kB / 0.5557 GB, free: 3.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.4953, allocations: 0 / 0.5557 GB, free: 3.543 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001863/0.4955, allocations: 171.7 kB / 0.5558 GB, free: 3.402 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000324/0.4959, allocations: 20 kB / 0.5559 GB, free: 3.383 MB / 362.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 (8): * Single equations (assignments): 8 * 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.0008002/0.4967, allocations: 310.9 kB / 0.5562 GB, free: 3.133 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.4969, allocations: 41.84 kB / 0.5562 GB, free: 3.105 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4969, allocations: 0 / 0.5562 GB, free: 3.105 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.058e-05/0.4969, allocations: 30.86 kB / 0.5562 GB, free: 3.082 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.4973, allocations: 15.84 kB / 0.5562 GB, free: 3.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005755/0.4979, allocations: 208.6 kB / 0.5564 GB, free: 2.855 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/0.4982, allocations: 0.7424 MB / 0.5572 GB, free: 2.09 MB / 362.7 MB Notification: Performance of SimCode: time 9.41e-07/0.4982, allocations: 0 / 0.5572 GB, free: 2.09 MB / 362.7 MB Notification: Performance of Templates: time 0.004573/0.5028, allocations: 1.782 MB / 0.5589 GB, free: 320 kB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches