Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1D.Test3,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.Test3") [: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.001602/0.001602, allocations: 180.9 kB / 8.157 MB, free: 2.207 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.722/1.722, 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.001284/0.001283, allocations: 92.36 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.2879/0.2879, allocations: 43.49 MB / 353.2 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.697e-06/8.836e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3217, allocations: 58.83 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1639/0.4857, allocations: 85.68 MB / 0.549 GB, free: 13.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.486, allocations: 71.47 kB / 0.5491 GB, free: 13.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01544/0.5015, allocations: 3.481 MB / 0.5525 GB, free: 9.863 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.5015, allocations: 0 / 0.5525 GB, free: 9.863 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.0005059/0.5021, allocations: 390 kB / 0.5529 GB, free: 9.438 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.5021, allocations: 8.031 kB / 0.5529 GB, free: 9.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.5022, allocations: 7.906 kB / 0.5529 GB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.5025, allocations: 198.8 kB / 0.5531 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.5025, allocations: 3.906 kB / 0.5531 GB, free: 9.184 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.5025, allocations: 8 kB / 0.5531 GB, free: 9.176 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.464e-05/0.5026, allocations: 12 kB / 0.5531 GB, free: 9.164 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.813e-05/0.5027, allocations: 41.69 kB / 0.5531 GB, free: 9.117 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.5028, allocations: 0 / 0.5531 GB, free: 9.117 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.5028, allocations: 3.984 kB / 0.5531 GB, free: 9.113 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.5028, allocations: 0 / 0.5531 GB, free: 9.113 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.5033, allocations: 277.4 kB / 0.5534 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.5035, allocations: 33.7 kB / 0.5534 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.517e-05/0.5036, allocations: 8.859 kB / 0.5535 GB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.5036, allocations: 3.984 kB / 0.5535 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.5036, allocations: 34.56 kB / 0.5535 GB, free: 8.707 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.5037, allocations: 0 / 0.5535 GB, free: 8.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005196/0.5042, allocations: 125.2 kB / 0.5536 GB, free: 8.578 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.5042, allocations: 51.41 kB / 0.5537 GB, free: 8.516 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.5045, allocations: 161.4 kB / 0.5538 GB, free: 8.352 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.5045, allocations: 25.7 kB / 0.5538 GB, free: 8.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/0.5046, allocations: 150.6 kB / 0.554 GB, free: 8.172 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.5046, allocations: 23.7 kB / 0.554 GB, free: 8.148 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/0.5047, allocations: 0 / 0.554 GB, free: 8.148 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.5048, allocations: 318.8 kB / 0.5543 GB, free: 7.828 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.233e-05/0.5049, allocations: 12 kB / 0.5543 GB, free: 7.816 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.623e-05/0.5049, allocations: 11.94 kB / 0.5543 GB, free: 7.805 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.903e-05/0.505, allocations: 15.98 kB / 0.5543 GB, free: 7.789 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.505, allocations: 0 / 0.5543 GB, free: 7.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001509/0.5051, allocations: 61.62 kB / 0.5544 GB, free: 7.723 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.5052, allocations: 11.28 kB / 0.5544 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.5052, allocations: 0 / 0.5544 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.5052, allocations: 0 / 0.5544 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.5053, allocations: 20.23 kB / 0.5544 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.5053, allocations: 0 / 0.5544 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.812e-05/0.5054, allocations: 11.91 kB / 0.5544 GB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.5054, allocations: 4 kB / 0.5544 GB, free: 7.68 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 4.813e-05/0.5055, allocations: 27.27 kB / 0.5545 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.5056, allocations: 15.89 kB / 0.5545 GB, free: 7.633 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.5058, allocations: 89.78 kB / 0.5546 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.5058, allocations: 0 / 0.5546 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.113e-05/0.5059, allocations: 3.906 kB / 0.5546 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.5059, allocations: 0 / 0.5546 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004767/0.5064, allocations: 319.1 kB / 0.5549 GB, free: 7.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.5064, allocations: 0 / 0.5549 GB, free: 7.184 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.5065, allocations: 19.98 kB / 0.5549 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.5065, allocations: 4 kB / 0.5549 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.5065, allocations: 3.906 kB / 0.5549 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.5065, allocations: 0 / 0.5549 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5066, allocations: 0 / 0.5549 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000203/0.5068, allocations: 159.4 kB / 0.5551 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-05/0.5069, allocations: 100.9 kB / 0.5552 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.5069, allocations: 0 / 0.5552 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.507, allocations: 8 kB / 0.5552 GB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.5071, allocations: 7.984 kB / 0.5552 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.5071, allocations: 0 / 0.5552 GB, free: 6.852 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001714/0.5073, allocations: 140.1 kB / 0.5553 GB, free: 6.715 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002959/0.5076, allocations: 23.92 kB / 0.5553 GB, free: 6.691 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.0008399/0.5084, allocations: 318.4 kB / 0.5556 GB, free: 6.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.5086, allocations: 35.94 kB / 0.5557 GB, free: 6.375 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5086, allocations: 0 / 0.5557 GB, free: 6.375 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.497e-05/0.5087, allocations: 16 kB / 0.5557 GB, free: 6.359 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.509, allocations: 8.594 kB / 0.5557 GB, free: 6.352 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005104/0.5095, allocations: 181.4 kB / 0.5559 GB, free: 6.137 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004255/0.5099, allocations: 0.727 MB / 0.5566 GB, free: 5.383 MB / 394.7 MB Notification: Performance of SimCode: time 2.855e-06/0.5099, allocations: 0 / 0.5566 GB, free: 5.383 MB / 394.7 MB Notification: Performance of Templates: time 0.004487/0.5144, allocations: 1.56 MB / 0.5581 GB, free: 3.824 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches