Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.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.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23") [: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.001768/0.001768, allocations: 175.1 kB / 8.147 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.713/1.713, 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.001244/0.001244, allocations: 84.11 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.3247/0.3247, allocations: 43.5 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.957e-06/8.977e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3018, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1602/0.4621, allocations: 87.54 MB / 0.5509 GB, free: 11.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.4624, allocations: 71.95 kB / 0.5509 GB, free: 11.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03884/0.5013, allocations: 8.604 MB / 0.5593 GB, free: 2.828 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.025e-05/0.5014, allocations: 12 kB / 0.5593 GB, free: 2.816 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001127/0.5025, allocations: 0.6471 MB / 0.56 GB, free: 2.125 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.5026, allocations: 8.031 kB / 0.56 GB, free: 2.117 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.5027, allocations: 55.25 kB / 0.56 GB, free: 2.062 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.5039, allocations: 494.8 kB / 0.5605 GB, free: 1.535 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.504, allocations: 4 kB / 0.5605 GB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.504, allocations: 4 kB / 0.5605 GB, free: 1.527 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003005/0.5043, allocations: 79.97 kB / 0.5606 GB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003516/0.5047, allocations: 135.1 kB / 0.5607 GB, free: 1.305 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.5047, allocations: 3.906 kB / 0.5607 GB, free: 1.301 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.5048, allocations: 4 kB / 0.5607 GB, free: 1.297 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.5048, allocations: 4 kB / 0.5607 GB, free: 1.293 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.5066, allocations: 0.7195 MB / 0.5614 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.5069, allocations: 113.4 kB / 0.5615 GB, free: 412 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.5071, allocations: 49.84 kB / 0.5616 GB, free: 356 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/0.5071, allocations: 11.92 kB / 0.5616 GB, free: 344 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.5071, allocations: 30.56 kB / 0.5616 GB, free: 304 kB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.665e-06/0.5072, allocations: 0 / 0.5616 GB, free: 304 kB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.002587/0.5098, allocations: 0.5917 MB / 0.5622 GB, free: 15.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.5098, allocations: 77.11 kB / 0.5623 GB, free: 15.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.5116, allocations: 0.7688 MB / 0.563 GB, free: 14.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.5116, allocations: 25.7 kB / 0.5631 GB, free: 14.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.597e-05/0.5117, allocations: 162.8 kB / 0.5632 GB, free: 14.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.687e-05/0.5118, allocations: 67.19 kB / 0.5633 GB, free: 14.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/0.5118, allocations: 4 kB / 0.5633 GB, free: 14.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.512, allocations: 318.8 kB / 0.5636 GB, free: 14.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.5122, allocations: 75.97 kB / 0.5637 GB, free: 14.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.5125, allocations: 97.06 kB / 0.5637 GB, free: 14.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.5128, allocations: 79.95 kB / 0.5638 GB, free: 13.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5128, allocations: 0 / 0.5638 GB, free: 13.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000662/0.5135, allocations: 217.5 kB / 0.564 GB, free: 13.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.5135, allocations: 8 kB / 0.564 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.5135, allocations: 4 kB / 0.564 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.5136, allocations: 0 / 0.564 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/0.5142, allocations: 63.89 kB / 0.5641 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.5142, allocations: 4 kB / 0.5641 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.5145, allocations: 27.97 kB / 0.5641 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.5146, allocations: 12 kB / 0.5641 GB, free: 13.65 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 8.917e-05/0.5147, allocations: 34.95 kB / 0.5642 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002555/0.5149, allocations: 55.25 kB / 0.5642 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.516, allocations: 334.3 kB / 0.5646 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.516, allocations: 7.984 kB / 0.5646 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.516, allocations: 0 / 0.5646 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.5161, allocations: 0 / 0.5646 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/0.5182, allocations: 0.9233 MB / 0.5655 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5183, allocations: 3.938 kB / 0.5655 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005997/0.5189, allocations: 67.89 kB / 0.5655 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.5189, allocations: 0 / 0.5655 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.262e-05/0.5189, allocations: 4 kB / 0.5655 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.519, allocations: 3.984 kB / 0.5655 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.519, allocations: 0 / 0.5655 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008913/0.5199, allocations: 459.6 kB / 0.566 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003439/0.5202, allocations: 180.3 kB / 0.5661 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.5204, allocations: 0 / 0.5661 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005163/0.5209, allocations: 35.97 kB / 0.5662 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.696e-05/0.521, allocations: 11.97 kB / 0.5662 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.49e-05/0.5211, allocations: 12 kB / 0.5662 GB, free: 11.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.001246/0.5223, allocations: 0.6006 MB / 0.5668 GB, free: 10.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006248/0.523, allocations: 83.89 kB / 0.5669 GB, free: 10.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0009016/0.5239, allocations: 311.7 kB / 0.5672 GB, free: 10.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006136/0.5245, allocations: 187.9 kB / 0.5673 GB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5245, allocations: 0 / 0.5673 GB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003058/0.5248, allocations: 107.9 kB / 0.5675 GB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007543/0.5256, allocations: 61.81 kB / 0.5675 GB, free: 10.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/0.5282, allocations: 0.8289 MB / 0.5683 GB, free: 9.281 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/0.5292, allocations: 0.9386 MB / 0.5692 GB, free: 8.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5293, allocations: 3.938 kB / 0.5692 GB, free: 8.316 MB / 410.7 MB Notification: Performance of Templates: time 0.0154/0.5447, allocations: 6.417 MB / 0.5755 GB, free: 1.895 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches