Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20") translateModel(ModelicaTest.Tables.CombiTable2D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20") [: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.002195/0.002195, allocations: 174.5 kB / 8.148 MB, free: 2.223 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.765/1.765, 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.001817/0.001817, allocations: 89.53 kB / 261.8 MB, free: 13.63 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.2616/0.2616, allocations: 43.49 MB / 353.2 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.055e-05/1.071e-05, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.2988, allocations: 58.84 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1617/0.4606, allocations: 87.77 MB / 0.5511 GB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/0.461, allocations: 79.45 kB / 0.5512 GB, free: 11.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0352/0.4962, allocations: 7.926 MB / 0.5589 GB, free: 3.293 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.314e-05/0.4963, allocations: 8 kB / 0.5589 GB, free: 3.285 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007983/0.4971, allocations: 0.5599 MB / 0.5595 GB, free: 2.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.4971, allocations: 8.031 kB / 0.5595 GB, free: 2.672 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.4973, allocations: 39.53 kB / 0.5595 GB, free: 2.633 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007579/0.498, allocations: 337.1 kB / 0.5598 GB, free: 2.262 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.4981, allocations: 4 kB / 0.5598 GB, free: 2.258 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.4981, allocations: 15.92 kB / 0.5598 GB, free: 2.242 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000199/0.4984, allocations: 51.98 kB / 0.5599 GB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.4986, allocations: 84.52 kB / 0.56 GB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.4986, allocations: 0 / 0.56 GB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.4986, allocations: 0 / 0.56 GB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.4987, allocations: 7.906 kB / 0.56 GB, free: 2.098 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009255/0.4996, allocations: 480.8 kB / 0.5604 GB, free: 1.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.4998, allocations: 77.58 kB / 0.5605 GB, free: 1.508 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.544e-05/0.4999, allocations: 28.86 kB / 0.5605 GB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.4999, allocations: 0 / 0.5605 GB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.5, allocations: 34.56 kB / 0.5606 GB, free: 1.434 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.5, allocations: 4 kB / 0.5606 GB, free: 1.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001104/0.5011, allocations: 308.9 kB / 0.5609 GB, free: 1.121 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.5012, allocations: 51.41 kB / 0.5609 GB, free: 1.059 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009621/0.5021, allocations: 473 kB / 0.5614 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.5022, allocations: 25.7 kB / 0.5614 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.246e-05/0.5023, allocations: 166.8 kB / 0.5616 GB, free: 404 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.836e-05/0.5024, allocations: 67.05 kB / 0.5616 GB, free: 336 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/0.5024, allocations: 0 / 0.5616 GB, free: 336 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5025, allocations: 314.8 kB / 0.5619 GB, free: 12 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.5027, allocations: 35.98 kB / 0.5619 GB, free: 15.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.5028, allocations: 40 kB / 0.562 GB, free: 15.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.503, allocations: 39.98 kB / 0.562 GB, free: 15.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.503, allocations: 3.906 kB / 0.562 GB, free: 15.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003624/0.5034, allocations: 136.9 kB / 0.5622 GB, free: 15.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.5034, allocations: 4 kB / 0.5622 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.5034, allocations: 4 kB / 0.5622 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.5034, allocations: 0 / 0.5622 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/0.5037, allocations: 43.91 kB / 0.5622 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.5037, allocations: 0 / 0.5622 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.054e-05/0.5038, allocations: 4 kB / 0.5622 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.5039, allocations: 4 kB / 0.5622 GB, free: 15.7 MB / 410.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 (17): * Single equations (assignments): 17 * 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.571e-05/0.5039, allocations: 35.02 kB / 0.5623 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.5041, allocations: 39.53 kB / 0.5623 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006456/0.5047, allocations: 217.1 kB / 0.5625 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.5048, allocations: 0 / 0.5625 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.5048, allocations: 3.938 kB / 0.5625 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.5048, allocations: 0 / 0.5625 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.506, allocations: 0.6157 MB / 0.5631 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.506, allocations: 4 kB / 0.5631 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.5063, allocations: 31.98 kB / 0.5631 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.5063, allocations: 0 / 0.5631 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.5064, allocations: 3.984 kB / 0.5631 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.5064, allocations: 4 kB / 0.5631 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5064, allocations: 0 / 0.5631 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004686/0.5069, allocations: 278.1 kB / 0.5634 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002159/0.5071, allocations: 144.5 kB / 0.5635 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.714e-05/0.5072, allocations: 0 / 0.5635 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.5074, allocations: 11.94 kB / 0.5636 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.649e-05/0.5075, allocations: 15.97 kB / 0.5636 GB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.5075, allocations: 4 kB / 0.5636 GB, free: 14.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0007309/0.5082, allocations: 379.2 kB / 0.5639 GB, free: 13.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000474/0.5087, allocations: 59.92 kB / 0.564 GB, free: 13.79 MB / 410.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 (17): * Single equations (assignments): 17 * 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.001479/0.5102, allocations: 0.4951 MB / 0.5645 GB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003456/0.5106, allocations: 111.9 kB / 0.5646 GB, free: 13.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5106, allocations: 0 / 0.5646 GB, free: 13.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.5108, allocations: 59.94 kB / 0.5646 GB, free: 13.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006754/0.5114, allocations: 57.59 kB / 0.5647 GB, free: 13.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.513, allocations: 0.5436 MB / 0.5652 GB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007402/0.5138, allocations: 0.8564 MB / 0.5661 GB, free: 11.66 MB / 410.7 MB Notification: Performance of SimCode: time 7.02e-07/0.5138, allocations: 0 / 0.5661 GB, free: 11.66 MB / 410.7 MB Notification: Performance of Templates: time 0.01177/0.5256, allocations: 4.686 MB / 0.5706 GB, free: 6.969 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches