Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1D.Test23,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.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.001686/0.001691, allocations: 182.1 kB / 8.146 MB, free: 0.8672 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.768/1.768, allocations: 205.2 MB / 213.7 MB, free: 8.602 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.001234/0.001233, allocations: 89.38 kB / 261.8 MB, free: 5.125 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.2601/0.2601, allocations: 43.49 MB / 353.2 MB, free: 11.43 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 9.337e-06/9.478e-06, allocations: 4.219 kB / 417.7 MB, free: 68.6 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09547/0.0955, allocations: 58.85 MB / 476.5 MB, free: 9.691 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3605/0.4561, allocations: 85.98 MB / 0.5493 GB, free: 10.79 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/0.4564, allocations: 63.91 kB / 0.5494 GB, free: 10.76 MB / 370.8 MB Notification: Performance of FrontEnd: time 0.03291/0.4894, allocations: 5.795 MB / 0.5551 GB, free: 6.301 MB / 370.8 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.4894, allocations: 0 / 0.5551 GB, free: 6.301 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.0006848/0.4901, allocations: 396.9 kB / 0.5554 GB, free: 5.875 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.4902, allocations: 8.031 kB / 0.5554 GB, free: 5.867 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.477e-05/0.4903, allocations: 11.91 kB / 0.5554 GB, free: 5.855 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.4906, allocations: 190.4 kB / 0.5556 GB, free: 5.633 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.4907, allocations: 4 kB / 0.5556 GB, free: 5.629 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.4907, allocations: 0 / 0.5556 GB, free: 5.629 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001085/0.4908, allocations: 16.53 kB / 0.5556 GB, free: 5.617 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.491, allocations: 56.28 kB / 0.5557 GB, free: 5.555 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.491, allocations: 0 / 0.5557 GB, free: 5.555 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.4911, allocations: 0 / 0.5557 GB, free: 5.555 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.4911, allocations: 3.938 kB / 0.5557 GB, free: 5.551 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005922/0.4917, allocations: 262.1 kB / 0.556 GB, free: 5.27 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.492, allocations: 36.14 kB / 0.556 GB, free: 5.234 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.831e-05/0.492, allocations: 8.859 kB / 0.556 GB, free: 5.223 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.492, allocations: 4 kB / 0.556 GB, free: 5.219 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.4921, allocations: 33.97 kB / 0.556 GB, free: 5.18 MB / 370.8 MB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.4921, allocations: 0 / 0.556 GB, free: 5.18 MB / 370.8 MB Notification: Performance of matching and sorting (n=5): time 0.00054/0.4926, allocations: 110.6 kB / 0.5561 GB, free: 5.078 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.286e-05/0.4927, allocations: 77.11 kB / 0.5562 GB, free: 4.984 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.4929, allocations: 122.6 kB / 0.5563 GB, free: 4.871 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.4929, allocations: 29.7 kB / 0.5564 GB, free: 4.836 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.658e-05/0.493, allocations: 154.5 kB / 0.5565 GB, free: 4.684 MB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.4931, allocations: 11.75 kB / 0.5565 GB, free: 4.672 MB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.4931, allocations: 4 kB / 0.5565 GB, free: 4.668 MB / 370.8 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.4932, allocations: 314 kB / 0.5568 GB, free: 4.355 MB / 370.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.94e-05/0.4933, allocations: 7.25 kB / 0.5568 GB, free: 4.352 MB / 370.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-05/0.4933, allocations: 32.45 kB / 0.5569 GB, free: 4.32 MB / 370.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.04e-05/0.4934, allocations: 19.34 kB / 0.5569 GB, free: 4.305 MB / 370.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4934, allocations: 3.906 kB / 0.5569 GB, free: 4.301 MB / 370.8 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001618/0.4936, allocations: 60.69 kB / 0.5569 GB, free: 4.242 MB / 370.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.4936, allocations: 4 kB / 0.5569 GB, free: 4.238 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4936, allocations: 0 / 0.5569 GB, free: 4.238 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.4937, allocations: 0 / 0.5569 GB, free: 4.238 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.4938, allocations: 19.61 kB / 0.557 GB, free: 4.223 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.4938, allocations: 0 / 0.557 GB, free: 4.223 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.713e-05/0.4939, allocations: 15.98 kB / 0.557 GB, free: 4.207 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-06/0.4939, allocations: 3.938 kB / 0.557 GB, free: 4.203 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.719e-05/0.494, allocations: 28.31 kB / 0.557 GB, free: 4.172 MB / 370.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/0.4941, allocations: 7.906 kB / 0.557 GB, free: 4.164 MB / 370.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.4943, allocations: 84.12 kB / 0.5571 GB, free: 4.082 MB / 370.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.4943, allocations: 0 / 0.5571 GB, free: 4.082 MB / 370.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.4943, allocations: 4.312 kB / 0.5571 GB, free: 4.078 MB / 370.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4944, allocations: 4 kB / 0.5571 GB, free: 4.074 MB / 370.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/0.4948, allocations: 312.2 kB / 0.5574 GB, free: 3.75 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.4949, allocations: 0 / 0.5574 GB, free: 3.75 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.495, allocations: 15.98 kB / 0.5574 GB, free: 3.734 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.495, allocations: 0 / 0.5574 GB, free: 3.734 MB / 370.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.495, allocations: 0 / 0.5574 GB, free: 3.734 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.495, allocations: 3.938 kB / 0.5574 GB, free: 3.73 MB / 370.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.495, allocations: 0 / 0.5574 GB, free: 3.73 MB / 370.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001988/0.4953, allocations: 164.5 kB / 0.5576 GB, free: 3.566 MB / 370.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.171e-05/0.4953, allocations: 92.98 kB / 0.5577 GB, free: 3.457 MB / 370.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.4954, allocations: 0 / 0.5577 GB, free: 3.457 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.4955, allocations: 7.984 kB / 0.5577 GB, free: 3.449 MB / 370.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.4956, allocations: 4 kB / 0.5577 GB, free: 3.445 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.4956, allocations: 0 / 0.5577 GB, free: 3.445 MB / 370.8 MB Notification: Performance of sort global known variables: time 0.0001016/0.4957, allocations: 109.6 kB / 0.5578 GB, free: 3.348 MB / 370.8 MB Notification: Performance of remove unused functions: time 0.00033/0.496, allocations: 31.92 kB / 0.5578 GB, free: 3.316 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.0009557/0.497, allocations: 336.6 kB / 0.5581 GB, free: 3.043 MB / 370.8 MB Notification: Performance of simCode: created initialization part: time 0.0001668/0.4972, allocations: 34.8 kB / 0.5582 GB, free: 3.016 MB / 370.8 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4972, allocations: 0 / 0.5582 GB, free: 3.016 MB / 370.8 MB Notification: Performance of simCode: created simulation system equations: time 5.726e-05/0.4973, allocations: 19 kB / 0.5582 GB, free: 3.004 MB / 370.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.4976, allocations: 15.92 kB / 0.5582 GB, free: 2.988 MB / 370.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.498, allocations: 131 kB / 0.5583 GB, free: 2.84 MB / 370.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004092/0.4985, allocations: 0.7192 MB / 0.559 GB, free: 2.094 MB / 370.8 MB Notification: Performance of SimCode: time 1.052e-06/0.4985, allocations: 0 / 0.559 GB, free: 2.094 MB / 370.8 MB Notification: Performance of Templates: time 0.004901/0.5034, allocations: 1.62 MB / 0.5606 GB, free: 492 kB / 370.8 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches