Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.Test2,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.Test2") [: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.001565/0.001565, allocations: 172.2 kB / 8.145 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.691/1.691, allocations: 205.2 MB / 213.8 MB, free: 13.91 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.00123/0.00123, allocations: 85.3 kB / 261.8 MB, free: 13.61 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.2601/0.2601, allocations: 43.49 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.645e-06/7.794e-06, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3208, allocations: 58.84 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1757/0.4966, allocations: 85.62 MB / 0.549 GB, free: 13.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.4969, allocations: 75.25 kB / 0.5491 GB, free: 13.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01504/0.512, allocations: 3.176 MB / 0.5522 GB, free: 10.19 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.512, allocations: 0 / 0.5522 GB, free: 10.19 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.0004853/0.5125, allocations: 374.2 kB / 0.5525 GB, free: 9.781 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.5126, allocations: 8.031 kB / 0.5525 GB, free: 9.773 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.5126, allocations: 7.906 kB / 0.5525 GB, free: 9.766 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.513, allocations: 196.3 kB / 0.5527 GB, free: 9.535 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.513, allocations: 3.906 kB / 0.5527 GB, free: 9.531 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.513, allocations: 0 / 0.5527 GB, free: 9.531 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.572e-05/0.5131, allocations: 12 kB / 0.5527 GB, free: 9.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.854e-05/0.5132, allocations: 45.69 kB / 0.5528 GB, free: 9.469 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.5133, allocations: 7.984 kB / 0.5528 GB, free: 9.461 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.5133, allocations: 0 / 0.5528 GB, free: 9.461 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.5133, allocations: 4 kB / 0.5528 GB, free: 9.457 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.5138, allocations: 261.4 kB / 0.553 GB, free: 9.164 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.514, allocations: 33.7 kB / 0.5531 GB, free: 9.125 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.071e-05/0.5141, allocations: 16.86 kB / 0.5531 GB, free: 9.105 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.5141, allocations: 0 / 0.5531 GB, free: 9.105 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.5141, allocations: 30.56 kB / 0.5531 GB, free: 9.066 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.462e-06/0.5141, allocations: 0 / 0.5531 GB, free: 9.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005348/0.5147, allocations: 109.4 kB / 0.5532 GB, free: 8.953 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.5147, allocations: 55.41 kB / 0.5533 GB, free: 8.887 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.5149, allocations: 126.9 kB / 0.5534 GB, free: 8.754 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.515, allocations: 25.7 kB / 0.5534 GB, free: 8.723 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.351e-05/0.5151, allocations: 154.6 kB / 0.5536 GB, free: 8.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.5151, allocations: 15.7 kB / 0.5536 GB, free: 8.555 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.5151, allocations: 0 / 0.5536 GB, free: 8.555 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.5153, allocations: 318.8 kB / 0.5539 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.3e-05/0.5153, allocations: 12 kB / 0.5539 GB, free: 8.223 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.224e-05/0.5154, allocations: 12 kB / 0.5539 GB, free: 8.211 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.448e-05/0.5154, allocations: 19.92 kB / 0.5539 GB, free: 8.191 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.5155, allocations: 0 / 0.5539 GB, free: 8.191 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001667/0.5156, allocations: 61.62 kB / 0.554 GB, free: 8.125 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.5157, allocations: 4 kB / 0.554 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5157, allocations: 0 / 0.554 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.5157, allocations: 0 / 0.554 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.5158, allocations: 15.98 kB / 0.554 GB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.5159, allocations: 7.906 kB / 0.554 GB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.516, allocations: 8 kB / 0.554 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.516, allocations: 0 / 0.554 GB, free: 8.09 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 5.11e-05/0.5161, allocations: 27.11 kB / 0.554 GB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.5161, allocations: 15.83 kB / 0.5541 GB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.5164, allocations: 77.84 kB / 0.5541 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.5164, allocations: 8 kB / 0.5541 GB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.5164, allocations: 0 / 0.5541 GB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.5164, allocations: 3.938 kB / 0.5541 GB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.5169, allocations: 311.4 kB / 0.5544 GB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.517, allocations: 0 / 0.5544 GB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.5171, allocations: 16 kB / 0.5545 GB, free: 7.586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.5171, allocations: 0 / 0.5545 GB, free: 7.586 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.5171, allocations: 7.984 kB / 0.5545 GB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.5171, allocations: 4 kB / 0.5545 GB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5172, allocations: 0 / 0.5545 GB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002128/0.5174, allocations: 167.4 kB / 0.5546 GB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.651e-05/0.5175, allocations: 85.02 kB / 0.5547 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.5175, allocations: 0 / 0.5547 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.5176, allocations: 11.98 kB / 0.5547 GB, free: 7.281 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.5177, allocations: 4 kB / 0.5547 GB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.5177, allocations: 4 kB / 0.5547 GB, free: 7.273 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001115/0.5178, allocations: 104.2 kB / 0.5548 GB, free: 7.172 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002956/0.5181, allocations: 23.92 kB / 0.5549 GB, free: 7.148 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.000853/0.519, allocations: 301.5 kB / 0.5551 GB, free: 6.883 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.5192, allocations: 47.92 kB / 0.5552 GB, free: 6.836 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5192, allocations: 0 / 0.5552 GB, free: 6.836 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.368e-05/0.5193, allocations: 16 kB / 0.5552 GB, free: 6.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.5196, allocations: 19.75 kB / 0.5552 GB, free: 6.801 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004831/0.5201, allocations: 137.4 kB / 0.5554 GB, free: 6.633 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004081/0.5205, allocations: 0.7075 MB / 0.556 GB, free: 5.898 MB / 394.7 MB Notification: Performance of SimCode: time 8.72e-07/0.5205, allocations: 0 / 0.556 GB, free: 5.898 MB / 394.7 MB Notification: Performance of Templates: time 0.004402/0.5249, allocations: 1.434 MB / 0.5574 GB, free: 4.465 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches