Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4") [: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.001667/0.001667, allocations: 177.3 kB / 8.15 MB, free: 2.184 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.735/1.735, 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.001781/0.001781, allocations: 90.92 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.4794/0.4794, allocations: 43.49 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.838e-06/9.989e-06, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3063, allocations: 58.83 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1586/0.465, allocations: 86.05 MB / 0.5494 GB, free: 13.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.4653, allocations: 75.41 kB / 0.5495 GB, free: 12.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02893/0.4943, allocations: 7.234 MB / 0.5565 GB, free: 5.703 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.015e-05/0.4944, allocations: 4 kB / 0.5565 GB, free: 5.699 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.0007114/0.4951, allocations: 0.5403 MB / 0.5571 GB, free: 5.113 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.4951, allocations: 11.31 kB / 0.5571 GB, free: 5.105 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.4953, allocations: 47.44 kB / 0.5571 GB, free: 5.059 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006569/0.4959, allocations: 323.3 kB / 0.5574 GB, free: 4.699 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.496, allocations: 0 / 0.5574 GB, free: 4.699 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.496, allocations: 4 kB / 0.5574 GB, free: 4.695 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.66e-05/0.4961, allocations: 12 kB / 0.5574 GB, free: 4.684 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.4962, allocations: 41.69 kB / 0.5575 GB, free: 4.637 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.4963, allocations: 0 / 0.5575 GB, free: 4.637 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.4963, allocations: 0 / 0.5575 GB, free: 4.637 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.4963, allocations: 7.906 kB / 0.5575 GB, free: 4.629 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007677/0.4971, allocations: 421.1 kB / 0.5579 GB, free: 4.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.4973, allocations: 29.72 kB / 0.5579 GB, free: 4.145 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.709e-05/0.4973, allocations: 8.859 kB / 0.5579 GB, free: 4.133 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.4974, allocations: 4.078 kB / 0.5579 GB, free: 4.129 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.4974, allocations: 34.56 kB / 0.558 GB, free: 4.086 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 3.637e-06/0.4974, allocations: 4 kB / 0.558 GB, free: 4.082 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006272/0.4981, allocations: 180 kB / 0.5581 GB, free: 3.898 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.4982, allocations: 51.41 kB / 0.5582 GB, free: 3.836 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001877/0.5, allocations: 0.7473 MB / 0.5589 GB, free: 3.082 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.5001, allocations: 25.7 kB / 0.5589 GB, free: 3.051 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.631e-05/0.5002, allocations: 166.5 kB / 0.5591 GB, free: 2.887 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.5002, allocations: 15.75 kB / 0.5591 GB, free: 2.871 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.5002, allocations: 0 / 0.5591 GB, free: 2.871 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.5004, allocations: 314.8 kB / 0.5594 GB, free: 2.555 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.917e-05/0.5004, allocations: 12 kB / 0.5594 GB, free: 2.543 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.172e-05/0.5005, allocations: 4 kB / 0.5594 GB, free: 2.539 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.161e-05/0.5005, allocations: 11.98 kB / 0.5594 GB, free: 2.527 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5005, allocations: 0 / 0.5594 GB, free: 2.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001569/0.5007, allocations: 57.61 kB / 0.5595 GB, free: 2.465 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.5007, allocations: 7.281 kB / 0.5595 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5008, allocations: 3.938 kB / 0.5595 GB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.5008, allocations: 4 kB / 0.5595 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.5009, allocations: 20.17 kB / 0.5595 GB, free: 2.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.501, allocations: 0 / 0.5595 GB, free: 2.434 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.114e-05/0.501, allocations: 19.92 kB / 0.5596 GB, free: 2.414 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.5011, allocations: 0 / 0.5596 GB, free: 2.414 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.607e-05/0.5011, allocations: 35.27 kB / 0.5596 GB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.5013, allocations: 43.44 kB / 0.5596 GB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003129/0.5016, allocations: 113.2 kB / 0.5597 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.5016, allocations: 0 / 0.5597 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5016, allocations: 0 / 0.5597 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.5016, allocations: 4.047 kB / 0.5597 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.5027, allocations: 0.5379 MB / 0.5603 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5028, allocations: 0 / 0.5603 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.5029, allocations: 19.98 kB / 0.5603 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.5029, allocations: 0 / 0.5603 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.5029, allocations: 3.906 kB / 0.5603 GB, free: 1.602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.5029, allocations: 0 / 0.5603 GB, free: 1.602 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5029, allocations: 4 kB / 0.5603 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002697/0.5032, allocations: 186.9 kB / 0.5605 GB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002813/0.5035, allocations: 164.6 kB / 0.5606 GB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.853e-05/0.5036, allocations: 7.906 kB / 0.5606 GB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.5038, allocations: 7.984 kB / 0.5606 GB, free: 1.203 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.5038, allocations: 4 kB / 0.5606 GB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.5039, allocations: 0 / 0.5606 GB, free: 1.199 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001159/0.505, allocations: 0.6082 MB / 0.5612 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004157/0.5055, allocations: 51.94 kB / 0.5613 GB, free: 0.543 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.0009036/0.5064, allocations: 314.4 kB / 0.5616 GB, free: 272 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001457/0.5065, allocations: 27.94 kB / 0.5616 GB, free: 244 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5066, allocations: 4 kB / 0.5616 GB, free: 240 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.375e-05/0.5066, allocations: 12 kB / 0.5616 GB, free: 228 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.507, allocations: 29.81 kB / 0.5617 GB, free: 200 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.5091, allocations: 0.7364 MB / 0.5624 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000723/0.5098, allocations: 0.8606 MB / 0.5632 GB, free: 14.52 MB / 410.7 MB Notification: Performance of SimCode: time 1.233e-06/0.5098, allocations: 0 / 0.5632 GB, free: 14.52 MB / 410.7 MB Notification: Performance of Templates: time 0.01194/0.5218, allocations: 4.192 MB / 0.5673 GB, free: 10.32 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches