Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials.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.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials") [: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.001622/0.001626, allocations: 171.2 kB / 8.149 MB, free: 2.223 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.628/1.628, 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.001248/0.001248, allocations: 90.77 kB / 261.8 MB, free: 13.63 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.2936/0.2936, allocations: 43.5 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.173e-06/7.224e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2703, allocations: 58.84 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.489/0.7593, allocations: 195.3 MB / 0.6561 GB, free: 112.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.7597, allocations: 67.84 kB / 0.6562 GB, free: 112.9 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.03813/0.7978, allocations: 10.38 MB / 0.6663 GB, free: 112 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.7979, allocations: 3.938 kB / 0.6663 GB, free: 112 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003764/0.7982, allocations: 397.5 kB / 0.6667 GB, free: 111.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.7983, allocations: 7.812 kB / 0.6667 GB, free: 111.6 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.7983, allocations: 0 / 0.6667 GB, free: 111.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.522e-05/0.7984, allocations: 159.1 kB / 0.6668 GB, free: 111.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.7984, allocations: 7.906 kB / 0.6668 GB, free: 111.4 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.7985, allocations: 7.141 kB / 0.6669 GB, free: 111.4 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.976e-05/0.7985, allocations: 0 / 0.6669 GB, free: 111.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.615e-05/0.7986, allocations: 33.55 kB / 0.6669 GB, free: 111.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.7986, allocations: 0 / 0.6669 GB, free: 111.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-06/0.7986, allocations: 0 / 0.6669 GB, free: 111.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.7986, allocations: 0 / 0.6669 GB, free: 111.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.452e-05/0.7987, allocations: 122.2 kB / 0.667 GB, free: 111.2 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.309e-05/0.7988, allocations: 25.83 kB / 0.667 GB, free: 111.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.496e-05/0.7988, allocations: 8.484 kB / 0.667 GB, free: 111.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.7988, allocations: 0 / 0.667 GB, free: 111.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.7988, allocations: 57.61 kB / 0.6671 GB, free: 111.1 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.332e-06/0.7988, allocations: 0 / 0.6671 GB, free: 111.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001566/0.799, allocations: 37.48 kB / 0.6671 GB, free: 111 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.7991, allocations: 77.11 kB / 0.6672 GB, free: 110.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.423e-05/0.7991, allocations: 92.12 kB / 0.6673 GB, free: 110.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.7991, allocations: 29.7 kB / 0.6673 GB, free: 110.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.62e-05/0.7991, allocations: 150.6 kB / 0.6675 GB, free: 110.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.7992, allocations: 0 / 0.6675 GB, free: 110.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.7992, allocations: 0 / 0.6675 GB, free: 110.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.795e-05/0.7993, allocations: 314.2 kB / 0.6678 GB, free: 110.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-06/0.7993, allocations: 0 / 0.6678 GB, free: 110.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.643e-06/0.7993, allocations: 3.906 kB / 0.6678 GB, free: 110.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.275e-05/0.7993, allocations: 3.938 kB / 0.6678 GB, free: 110.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.7993, allocations: 4.062 kB / 0.6678 GB, free: 110.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.411e-05/0.7994, allocations: 31.25 kB / 0.6678 GB, free: 110.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.7995, allocations: 10.62 kB / 0.6678 GB, free: 110.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.7995, allocations: 3.906 kB / 0.6678 GB, free: 110.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.7995, allocations: 0 / 0.6678 GB, free: 110.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.813e-06/0.7995, allocations: 3.938 kB / 0.6678 GB, free: 110.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.7995, allocations: 3.984 kB / 0.6678 GB, free: 110.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.414e-05/0.7995, allocations: 3.938 kB / 0.6678 GB, free: 110.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.7996, allocations: 2.062 kB / 0.6678 GB, free: 110.3 MB / 474.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: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.272e-05/0.7996, allocations: 59.34 kB / 0.6679 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-06/0.7996, allocations: 0 / 0.6679 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.289e-05/0.7997, allocations: 3 kB / 0.6679 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.7997, allocations: 0 / 0.6679 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.7997, allocations: 3.906 kB / 0.6679 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.7997, allocations: 3.516 kB / 0.6679 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.377e-05/0.7998, allocations: 129.5 kB / 0.668 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.7998, allocations: 0 / 0.668 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.011e-06/0.7998, allocations: 0 / 0.668 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.7998, allocations: 0 / 0.668 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.7998, allocations: 4 kB / 0.668 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.7998, allocations: 0 / 0.668 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.7998, allocations: 7.906 kB / 0.668 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.475e-05/0.7999, allocations: 60.66 kB / 0.6681 GB, free: 110 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.015e-05/0.8, allocations: 77.11 kB / 0.6682 GB, free: 109.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.8, allocations: 3.906 kB / 0.6682 GB, free: 109.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.377e-05/0.8, allocations: 0 / 0.6682 GB, free: 109.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.8, allocations: 3.938 kB / 0.6682 GB, free: 109.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.8, allocations: 4.031 kB / 0.6682 GB, free: 109.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.594e-05/0.8001, allocations: 77.11 kB / 0.6682 GB, free: 109.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003838/0.8005, allocations: 84.3 kB / 0.6683 GB, free: 109.8 MB / 474.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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005604/0.801, allocations: 213.2 kB / 0.6685 GB, free: 109.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.61e-05/0.8011, allocations: 33.55 kB / 0.6686 GB, free: 109.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.8011, allocations: 0 / 0.6686 GB, free: 109.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.715e-05/0.8012, allocations: 29.61 kB / 0.6686 GB, free: 109.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.639e-05/0.8013, allocations: 3.906 kB / 0.6686 GB, free: 109.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000121/0.8014, allocations: 74.7 kB / 0.6687 GB, free: 109.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.8015, allocations: 0.6874 MB / 0.6693 GB, free: 108.8 MB / 474.7 MB Notification: Performance of SimCode: time 2.224e-06/0.8015, allocations: 4.125 kB / 0.6693 GB, free: 108.8 MB / 474.7 MB Notification: Performance of Templates: time 0.004485/0.806, allocations: 1.848 MB / 0.6711 GB, free: 108.6 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches