Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.002467/0.002466, allocations: 182.1 kB / 8.146 MB, free: 0.8594 MB / 6.77 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.2 MB / 213.7 MB, free: 8.574 MB / 178.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001251/0.00125, allocations: 88.42 kB / 261.8 MB, free: 5.141 MB / 210.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2608/0.2608, allocations: 43.5 MB / 353.2 MB, free: 11.4 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 9.467e-06/9.608e-06, allocations: 4 kB / 417.7 MB, free: 68.55 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1034, allocations: 58.85 MB / 476.5 MB, free: 9.652 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3908/0.4943, allocations: 85.51 MB / 0.5489 GB, free: 11.25 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003761/0.4948, allocations: 75.19 kB / 0.549 GB, free: 11.21 MB / 370.8 MB Notification: Performance of FrontEnd: time 0.01494/0.5097, allocations: 3.163 MB / 0.552 GB, free: 8.625 MB / 370.8 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.5098, allocations: 4 kB / 0.552 GB, free: 8.621 MB / 370.8 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.0004685/0.5103, allocations: 369.2 kB / 0.5524 GB, free: 8.227 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.5103, allocations: 8.031 kB / 0.5524 GB, free: 8.219 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/0.5104, allocations: 11.91 kB / 0.5524 GB, free: 8.207 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.5107, allocations: 186.7 kB / 0.5526 GB, free: 7.988 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.5107, allocations: 3.906 kB / 0.5526 GB, free: 7.984 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.5107, allocations: 4 kB / 0.5526 GB, free: 7.98 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.396e-05/0.5108, allocations: 11.5 kB / 0.5526 GB, free: 7.973 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.511, allocations: 37.44 kB / 0.5527 GB, free: 7.934 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.511, allocations: 4 kB / 0.5527 GB, free: 7.93 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.511, allocations: 3.938 kB / 0.5527 GB, free: 7.926 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.511, allocations: 0 / 0.5527 GB, free: 7.926 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.5114, allocations: 256.2 kB / 0.5529 GB, free: 7.652 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.5116, allocations: 25.16 kB / 0.5529 GB, free: 7.625 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.704e-05/0.5117, allocations: 12.67 kB / 0.5529 GB, free: 7.613 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.5117, allocations: 0 / 0.5529 GB, free: 7.613 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.5118, allocations: 34.56 kB / 0.553 GB, free: 7.57 MB / 370.8 MB Notification: Performance of pre-optimization done (n=3): time 1.472e-06/0.5118, allocations: 0 / 0.553 GB, free: 7.57 MB / 370.8 MB Notification: Performance of matching and sorting (n=5): time 0.0005173/0.5123, allocations: 104.7 kB / 0.5531 GB, free: 7.473 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.5124, allocations: 51.41 kB / 0.5531 GB, free: 7.41 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.5125, allocations: 131.1 kB / 0.5532 GB, free: 7.285 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.5126, allocations: 25.7 kB / 0.5533 GB, free: 7.254 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.5127, allocations: 150.6 kB / 0.5534 GB, free: 7.105 MB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.5127, allocations: 23.7 kB / 0.5534 GB, free: 7.086 MB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.246e-06/0.5128, allocations: 4 kB / 0.5534 GB, free: 7.082 MB / 370.8 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.5129, allocations: 314.8 kB / 0.5537 GB, free: 6.766 MB / 370.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.232e-05/0.513, allocations: 7.062 kB / 0.5537 GB, free: 6.762 MB / 370.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.966e-05/0.513, allocations: 7.125 kB / 0.5538 GB, free: 6.758 MB / 370.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.08e-05/0.5131, allocations: 11.31 kB / 0.5538 GB, free: 6.75 MB / 370.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.5131, allocations: 0 / 0.5538 GB, free: 6.75 MB / 370.8 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001344/0.5132, allocations: 60.88 kB / 0.5538 GB, free: 6.691 MB / 370.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.5132, allocations: 7.938 kB / 0.5538 GB, free: 6.684 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.5133, allocations: 0 / 0.5538 GB, free: 6.684 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.5133, allocations: 4 kB / 0.5538 GB, free: 6.68 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.5134, allocations: 15.98 kB / 0.5539 GB, free: 6.664 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.5134, allocations: 3.906 kB / 0.5539 GB, free: 6.66 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.726e-05/0.5135, allocations: 8 kB / 0.5539 GB, free: 6.652 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.5135, allocations: 0 / 0.5539 GB, free: 6.652 MB / 370.8 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.22e-05/0.5136, allocations: 30.8 kB / 0.5539 GB, free: 6.621 MB / 370.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.5137, allocations: 11.91 kB / 0.5539 GB, free: 6.609 MB / 370.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/0.5139, allocations: 68.98 kB / 0.554 GB, free: 6.543 MB / 370.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.5139, allocations: 144 / 0.554 GB, free: 6.543 MB / 370.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.5139, allocations: 4 kB / 0.554 GB, free: 6.539 MB / 370.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.5139, allocations: 3.984 kB / 0.554 GB, free: 6.535 MB / 370.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.5144, allocations: 297.1 kB / 0.5543 GB, free: 6.223 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.5144, allocations: 4 kB / 0.5543 GB, free: 6.219 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.5145, allocations: 12 kB / 0.5543 GB, free: 6.207 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.5145, allocations: 4 kB / 0.5543 GB, free: 6.203 MB / 370.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.5145, allocations: 0 / 0.5543 GB, free: 6.203 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.5145, allocations: 0 / 0.5543 GB, free: 6.203 MB / 370.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.5145, allocations: 0 / 0.5543 GB, free: 6.203 MB / 370.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001903/0.5147, allocations: 161.9 kB / 0.5544 GB, free: 6.039 MB / 370.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.96e-05/0.5148, allocations: 89 kB / 0.5545 GB, free: 5.934 MB / 370.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.5149, allocations: 8.062 kB / 0.5545 GB, free: 5.926 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.515, allocations: 4 kB / 0.5545 GB, free: 5.922 MB / 370.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.5151, allocations: 11.48 kB / 0.5545 GB, free: 5.914 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.5151, allocations: 0 / 0.5545 GB, free: 5.914 MB / 370.8 MB Notification: Performance of sort global known variables: time 0.0001148/0.5152, allocations: 102.6 kB / 0.5546 GB, free: 5.82 MB / 370.8 MB Notification: Performance of remove unused functions: time 0.0002976/0.5155, allocations: 23.88 kB / 0.5547 GB, free: 5.801 MB / 370.8 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.0009199/0.5164, allocations: 310.6 kB / 0.555 GB, free: 5.547 MB / 370.8 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.5166, allocations: 31.5 kB / 0.555 GB, free: 5.523 MB / 370.8 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5166, allocations: 0 / 0.555 GB, free: 5.523 MB / 370.8 MB Notification: Performance of simCode: created simulation system equations: time 6.424e-05/0.5167, allocations: 14.88 kB / 0.555 GB, free: 5.512 MB / 370.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.517, allocations: 18.73 kB / 0.555 GB, free: 5.5 MB / 370.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004244/0.5174, allocations: 132.3 kB / 0.5551 GB, free: 5.344 MB / 370.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004129/0.5179, allocations: 0.7151 MB / 0.5558 GB, free: 4.605 MB / 370.8 MB Notification: Performance of SimCode: time 8.21e-07/0.5179, allocations: 0 / 0.5558 GB, free: 4.605 MB / 370.8 MB Notification: Performance of Templates: time 0.004354/0.5222, allocations: 1.393 MB / 0.5572 GB, free: 3.215 MB / 370.8 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches