Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.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.CombiTable2D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27") translateModel(ModelicaTest.Tables.CombiTable2D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27") [: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.002638/0.002645, allocations: 174 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.774/1.774, 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.001237/0.001237, allocations: 90.02 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.257/0.257, allocations: 43.5 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.338e-06/9.488e-06, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.303, allocations: 58.83 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.177/0.48, allocations: 86.02 MB / 0.5494 GB, free: 13.08 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.4804, allocations: 63.97 kB / 0.5494 GB, free: 13.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01777/0.4982, allocations: 3.828 MB / 0.5532 GB, free: 9.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.591e-05/0.4982, allocations: 4 kB / 0.5532 GB, free: 9.176 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00059/0.4988, allocations: 394 kB / 0.5535 GB, free: 8.746 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.4989, allocations: 12.02 kB / 0.5536 GB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.499, allocations: 7.906 kB / 0.5536 GB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.4993, allocations: 206.7 kB / 0.5538 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.4993, allocations: 7.078 kB / 0.5538 GB, free: 8.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.4994, allocations: 8 kB / 0.5538 GB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001004/0.4995, allocations: 12 kB / 0.5538 GB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.4996, allocations: 45.62 kB / 0.5538 GB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.4996, allocations: 0 / 0.5538 GB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.4996, allocations: 4 kB / 0.5538 GB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4997, allocations: 0 / 0.5538 GB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.5002, allocations: 273.4 kB / 0.5541 GB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.5003, allocations: 34.58 kB / 0.5541 GB, free: 8.059 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.306e-05/0.5003, allocations: 12.86 kB / 0.5541 GB, free: 8.043 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.5004, allocations: 0 / 0.5541 GB, free: 8.043 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.5004, allocations: 38.5 kB / 0.5542 GB, free: 7.996 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.803e-06/0.5004, allocations: 0 / 0.5542 GB, free: 7.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007419/0.5012, allocations: 141.3 kB / 0.5543 GB, free: 7.852 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.5013, allocations: 51.41 kB / 0.5544 GB, free: 7.789 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.5015, allocations: 161.4 kB / 0.5545 GB, free: 7.625 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.5016, allocations: 25.7 kB / 0.5545 GB, free: 7.594 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.5017, allocations: 158.5 kB / 0.5547 GB, free: 7.438 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.5017, allocations: 27.7 kB / 0.5547 GB, free: 7.41 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.5017, allocations: 0 / 0.5547 GB, free: 7.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5019, allocations: 310.8 kB / 0.555 GB, free: 7.098 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.537e-05/0.5019, allocations: 16 kB / 0.555 GB, free: 7.082 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.213e-05/0.502, allocations: 15.94 kB / 0.555 GB, free: 7.066 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.329e-05/0.5021, allocations: 15.98 kB / 0.5551 GB, free: 7.051 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5021, allocations: 0 / 0.5551 GB, free: 7.051 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002018/0.5023, allocations: 69.83 kB / 0.5551 GB, free: 6.977 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.5023, allocations: 7.281 kB / 0.5551 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.5023, allocations: 4 kB / 0.5551 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.5024, allocations: 3.938 kB / 0.5551 GB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.5026, allocations: 31.91 kB / 0.5552 GB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.5026, allocations: 0 / 0.5552 GB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.5028, allocations: 16 kB / 0.5552 GB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.5028, allocations: 3.984 kB / 0.5552 GB, free: 6.914 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 (7): * Single equations (assignments): 7 * 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 6.337e-05/0.5029, allocations: 31.02 kB / 0.5552 GB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.997e-05/0.5029, allocations: 15.84 kB / 0.5552 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.5032, allocations: 86.16 kB / 0.5553 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.5033, allocations: 0 / 0.5553 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5033, allocations: 0 / 0.5553 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.5033, allocations: 4.141 kB / 0.5553 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005776/0.5039, allocations: 346.9 kB / 0.5557 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.5039, allocations: 0 / 0.5557 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.5041, allocations: 23.97 kB / 0.5557 GB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.575e-06/0.5042, allocations: 4 kB / 0.5557 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.5042, allocations: 0 / 0.5557 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.5042, allocations: 4 kB / 0.5557 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.5042, allocations: 3.906 kB / 0.5557 GB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002373/0.5044, allocations: 167.4 kB / 0.5558 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.408e-05/0.5045, allocations: 96.91 kB / 0.5559 GB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.5046, allocations: 4 kB / 0.5559 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.5048, allocations: 15.98 kB / 0.556 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.5048, allocations: 4 kB / 0.556 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.5049, allocations: 0 / 0.556 GB, free: 6.039 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001815/0.505, allocations: 140.1 kB / 0.5561 GB, free: 5.902 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003318/0.5054, allocations: 20 kB / 0.5561 GB, free: 5.883 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 (7): * Single equations (assignments): 7 * 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.0008618/0.5063, allocations: 309.3 kB / 0.5564 GB, free: 5.609 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.5065, allocations: 39.98 kB / 0.5564 GB, free: 5.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5065, allocations: 0 / 0.5564 GB, free: 5.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.8e-05/0.5066, allocations: 31.92 kB / 0.5565 GB, free: 5.539 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.5069, allocations: 8.609 kB / 0.5565 GB, free: 5.531 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005733/0.5075, allocations: 180.8 kB / 0.5567 GB, free: 5.324 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004841/0.508, allocations: 0.727 MB / 0.5574 GB, free: 4.57 MB / 394.7 MB Notification: Performance of SimCode: time 1.182e-06/0.508, allocations: 3.938 kB / 0.5574 GB, free: 4.566 MB / 394.7 MB Notification: Performance of Templates: time 0.005071/0.5131, allocations: 1.693 MB / 0.559 GB, free: 2.875 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches