Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2D.Test29,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.Test29") [: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.002228/0.002228, allocations: 172.1 kB / 8.146 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.609/1.609, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001279/0.001279, allocations: 86.88 kB / 261.8 MB, free: 13.64 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.2876/0.2876, allocations: 43.48 MB / 353.2 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.116e-05/1.127e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.318, allocations: 58.84 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1562/0.4743, allocations: 86.01 MB / 0.5494 GB, free: 13.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.4746, allocations: 75.47 kB / 0.5494 GB, free: 13 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01781/0.4924, allocations: 3.933 MB / 0.5533 GB, free: 9.059 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.4925, allocations: 0 / 0.5533 GB, free: 9.059 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.0005537/0.4931, allocations: 398.1 kB / 0.5537 GB, free: 8.625 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.4931, allocations: 12.03 kB / 0.5537 GB, free: 8.613 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.041e-05/0.4932, allocations: 7.906 kB / 0.5537 GB, free: 8.605 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.4935, allocations: 212.9 kB / 0.5539 GB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.4936, allocations: 4 kB / 0.5539 GB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.4936, allocations: 0 / 0.5539 GB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001001/0.4937, allocations: 16 kB / 0.5539 GB, free: 8.336 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.4938, allocations: 41.69 kB / 0.5539 GB, free: 8.289 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.4939, allocations: 0 / 0.5539 GB, free: 8.289 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.4939, allocations: 7.844 kB / 0.5539 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4939, allocations: 0 / 0.5539 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.4944, allocations: 281.3 kB / 0.5542 GB, free: 7.969 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.611e-05/0.4945, allocations: 34.56 kB / 0.5542 GB, free: 7.926 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.4946, allocations: 12.86 kB / 0.5543 GB, free: 7.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.4946, allocations: 4 kB / 0.5543 GB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.4947, allocations: 34.56 kB / 0.5543 GB, free: 7.863 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.733e-06/0.4947, allocations: 3.938 kB / 0.5543 GB, free: 7.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006939/0.4954, allocations: 133.4 kB / 0.5544 GB, free: 7.723 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.4955, allocations: 59.31 kB / 0.5545 GB, free: 7.652 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.4958, allocations: 186.4 kB / 0.5547 GB, free: 7.457 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.4958, allocations: 25.7 kB / 0.5547 GB, free: 7.426 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.281e-05/0.4959, allocations: 162.6 kB / 0.5548 GB, free: 7.266 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.496, allocations: 19.64 kB / 0.5549 GB, free: 7.246 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-06/0.496, allocations: 0 / 0.5549 GB, free: 7.246 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4961, allocations: 318.8 kB / 0.5552 GB, free: 6.926 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.122e-05/0.4962, allocations: 12 kB / 0.5552 GB, free: 6.914 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.574e-05/0.4962, allocations: 8 kB / 0.5552 GB, free: 6.906 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.23e-05/0.4963, allocations: 23.98 kB / 0.5552 GB, free: 6.883 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4963, allocations: 0 / 0.5552 GB, free: 6.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000184/0.4965, allocations: 65.55 kB / 0.5553 GB, free: 6.812 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.4965, allocations: 11.98 kB / 0.5553 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4966, allocations: 0 / 0.5553 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.4966, allocations: 0 / 0.5553 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.4968, allocations: 27.92 kB / 0.5553 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.4968, allocations: 4 kB / 0.5553 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.497, allocations: 15.98 kB / 0.5553 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.497, allocations: 4 kB / 0.5553 GB, free: 6.75 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 5.499e-05/0.4971, allocations: 29.7 kB / 0.5554 GB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/0.4971, allocations: 11.81 kB / 0.5554 GB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.4974, allocations: 99.3 kB / 0.5555 GB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4974, allocations: 0 / 0.5555 GB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.4974, allocations: 0 / 0.5555 GB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.4975, allocations: 3.906 kB / 0.5555 GB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000612/0.4981, allocations: 343.1 kB / 0.5558 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4981, allocations: 0 / 0.5558 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.4983, allocations: 27.92 kB / 0.5558 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.4983, allocations: 4 kB / 0.5558 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.4983, allocations: 3.984 kB / 0.5558 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.4984, allocations: 3.906 kB / 0.5558 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.4984, allocations: 0 / 0.5558 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002413/0.4986, allocations: 171.3 kB / 0.556 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.598e-05/0.4987, allocations: 96.95 kB / 0.5561 GB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.4988, allocations: 7.984 kB / 0.5561 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.499, allocations: 12 kB / 0.5561 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.499, allocations: 3.984 kB / 0.5561 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.499, allocations: 4 kB / 0.5561 GB, free: 5.859 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002138/0.4993, allocations: 152.9 kB / 0.5563 GB, free: 5.711 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003289/0.4996, allocations: 31.83 kB / 0.5563 GB, free: 5.68 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.0008713/0.5005, allocations: 306.9 kB / 0.5566 GB, free: 5.414 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.5007, allocations: 43.97 kB / 0.5566 GB, free: 5.371 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5007, allocations: 0 / 0.5566 GB, free: 5.371 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.376e-05/0.5008, allocations: 27.94 kB / 0.5567 GB, free: 5.344 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.5011, allocations: 16.41 kB / 0.5567 GB, free: 5.328 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000633/0.5018, allocations: 201.3 kB / 0.5569 GB, free: 5.105 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004896/0.5023, allocations: 0.727 MB / 0.5576 GB, free: 4.352 MB / 394.7 MB Notification: Performance of SimCode: time 1.223e-06/0.5023, allocations: 0 / 0.5576 GB, free: 4.352 MB / 394.7 MB Notification: Performance of Templates: time 0.005172/0.5075, allocations: 1.756 MB / 0.5593 GB, free: 2.598 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches