Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5") [: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.001739/0.001738, allocations: 172.2 kB / 8.144 MB, free: 2.141 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.728/1.728, allocations: 205.2 MB / 213.8 MB, free: 13.94 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.001262/0.001262, allocations: 84.73 kB / 261.8 MB, free: 13.65 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.2563/0.2563, allocations: 43.5 MB / 353.2 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.267e-06/9.428e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3259, allocations: 58.84 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1508/0.4768, allocations: 86.43 MB / 0.5498 GB, free: 12.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.4771, allocations: 75.95 kB / 0.5498 GB, free: 12.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02962/0.5068, allocations: 7.353 MB / 0.557 GB, free: 5.203 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.729e-05/0.5069, allocations: 4 kB / 0.557 GB, free: 5.199 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007934/0.5077, allocations: 0.5442 MB / 0.5576 GB, free: 4.609 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.5077, allocations: 20.02 kB / 0.5576 GB, free: 4.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.5079, allocations: 39.44 kB / 0.5576 GB, free: 4.551 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007187/0.5086, allocations: 331.2 kB / 0.5579 GB, free: 4.184 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.5086, allocations: 0 / 0.5579 GB, free: 4.184 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.5087, allocations: 4 kB / 0.5579 GB, free: 4.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001219/0.5088, allocations: 23.98 kB / 0.558 GB, free: 4.156 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.5089, allocations: 37.7 kB / 0.558 GB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.509, allocations: 7.891 kB / 0.558 GB, free: 4.105 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.509, allocations: 4 kB / 0.558 GB, free: 4.102 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.509, allocations: 0 / 0.558 GB, free: 4.102 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009498/0.51, allocations: 425.2 kB / 0.5584 GB, free: 3.648 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.5102, allocations: 33.7 kB / 0.5584 GB, free: 3.609 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.114e-05/0.5103, allocations: 16.8 kB / 0.5585 GB, free: 3.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.5103, allocations: 4 kB / 0.5585 GB, free: 3.586 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.5104, allocations: 30.56 kB / 0.5585 GB, free: 3.547 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 3.256e-06/0.5104, allocations: 0 / 0.5585 GB, free: 3.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007142/0.5111, allocations: 196.2 kB / 0.5587 GB, free: 3.348 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.5112, allocations: 59.31 kB / 0.5587 GB, free: 3.277 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/0.5132, allocations: 0.7512 MB / 0.5595 GB, free: 2.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.5133, allocations: 25.7 kB / 0.5595 GB, free: 2.488 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.248e-05/0.5133, allocations: 154.5 kB / 0.5596 GB, free: 2.336 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.5134, allocations: 19.8 kB / 0.5597 GB, free: 2.316 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.5134, allocations: 0 / 0.5597 GB, free: 2.316 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.5136, allocations: 314.8 kB / 0.56 GB, free: 2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.381e-05/0.5136, allocations: 12 kB / 0.56 GB, free: 1.988 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.542e-05/0.5137, allocations: 15.98 kB / 0.56 GB, free: 1.973 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.227e-05/0.5137, allocations: 12 kB / 0.56 GB, free: 1.961 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5138, allocations: 8 kB / 0.56 GB, free: 1.953 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002238/0.514, allocations: 61.62 kB / 0.5601 GB, free: 1.887 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5141, allocations: 7.281 kB / 0.5601 GB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.5141, allocations: 0 / 0.5601 GB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.5141, allocations: 0 / 0.5601 GB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.5143, allocations: 15.98 kB / 0.5601 GB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.5143, allocations: 0 / 0.5601 GB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.081e-05/0.5144, allocations: 12 kB / 0.5601 GB, free: 1.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.5144, allocations: 3.938 kB / 0.5601 GB, free: 1.852 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 6.432e-05/0.5145, allocations: 35.16 kB / 0.5601 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.5146, allocations: 39.53 kB / 0.5602 GB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004108/0.5151, allocations: 125.1 kB / 0.5603 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.5151, allocations: 4.078 kB / 0.5603 GB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.5151, allocations: 3.984 kB / 0.5603 GB, free: 1.633 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.5151, allocations: 4 kB / 0.5603 GB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.5163, allocations: 0.5496 MB / 0.5608 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.5163, allocations: 0 / 0.5608 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.5165, allocations: 16.36 kB / 0.5609 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.5165, allocations: 0 / 0.5609 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.5165, allocations: 0 / 0.5609 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.5165, allocations: 4 kB / 0.5609 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.5165, allocations: 3.938 kB / 0.5609 GB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003135/0.5168, allocations: 202.9 kB / 0.5611 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002758/0.5171, allocations: 160.5 kB / 0.5612 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.538e-05/0.5172, allocations: 0 / 0.5612 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.5174, allocations: 11.98 kB / 0.5612 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.5175, allocations: 0 / 0.5612 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.5175, allocations: 4 kB / 0.5612 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001267/0.5188, allocations: 0.6122 MB / 0.5618 GB, free: 15.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004577/0.5193, allocations: 59.94 kB / 0.5619 GB, free: 15.93 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 (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.0008913/0.5202, allocations: 295.1 kB / 0.5622 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.5204, allocations: 39.98 kB / 0.5622 GB, free: 15.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5204, allocations: 0 / 0.5622 GB, free: 15.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.221e-05/0.5205, allocations: 16 kB / 0.5622 GB, free: 15.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.5209, allocations: 37.8 kB / 0.5622 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/0.523, allocations: 0.7443 MB / 0.563 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00073/0.5238, allocations: 0.8606 MB / 0.5638 GB, free: 13.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.422e-06/0.5238, allocations: 0 / 0.5638 GB, free: 13.91 MB / 410.7 MB Notification: Performance of Templates: time 0.0123/0.5361, allocations: 4.258 MB / 0.568 GB, free: 9.645 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches