Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001505/0.001505, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.934/1.934, allocations: 205.4 MB / 222.5 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 98.08 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5083/0.5083, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004772/0.0004772, allocations: 8 kB / 431.4 MB, free: 6.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1272, allocations: 58.85 MB / 490.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6159/0.7431, allocations: 196.1 MB / 0.6703 GB, free: 2.43 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.7434, allocations: 63.97 kB / 0.6703 GB, free: 2.367 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3526/1.096, allocations: 7.047 MB / 0.6772 GB, free: 150.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.693e-06/1.096, allocations: 0 / 0.6772 GB, free: 150.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/1.096, allocations: 1.125 kB / 0.6772 GB, free: 150.2 MB / 490.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.0005067/1.097, allocations: 405.8 kB / 0.6776 GB, free: 149.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/1.097, allocations: 8.469 kB / 0.6776 GB, free: 149.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/1.097, allocations: 11.62 kB / 0.6776 GB, free: 149.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.424e-05/1.097, allocations: 159.1 kB / 0.6778 GB, free: 149.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/1.097, allocations: 0.8438 kB / 0.6778 GB, free: 149.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/1.097, allocations: 4.906 kB / 0.6778 GB, free: 149.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.04e-05/1.097, allocations: 33.25 kB / 0.6778 GB, free: 149.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/1.097, allocations: 0.9062 kB / 0.6778 GB, free: 149.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/1.097, allocations: 0 / 0.6778 GB, free: 149.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/1.097, allocations: 2.062 kB / 0.6778 GB, free: 149.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.353e-05/1.097, allocations: 2.406 kB / 0.6778 GB, free: 149.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001042/1.097, allocations: 154.1 kB / 0.6779 GB, free: 149.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.927e-05/1.097, allocations: 27.27 kB / 0.678 GB, free: 149.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.989e-06/1.097, allocations: 4.875 kB / 0.678 GB, free: 149.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/1.097, allocations: 57.39 kB / 0.678 GB, free: 149.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/1.097, allocations: 0 / 0.678 GB, free: 149.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001688/1.097, allocations: 66.33 kB / 0.6781 GB, free: 149.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/1.097, allocations: 83.75 kB / 0.6782 GB, free: 149.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.261e-05/1.097, allocations: 88.25 kB / 0.6783 GB, free: 149 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/1.097, allocations: 26.92 kB / 0.6783 GB, free: 149 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.551e-05/1.098, allocations: 154.7 kB / 0.6784 GB, free: 148.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/1.098, allocations: 2.031 kB / 0.6784 GB, free: 148.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-06/1.098, allocations: 0.9062 kB / 0.6784 GB, free: 148.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.008e-05/1.098, allocations: 315.1 kB / 0.6787 GB, free: 148.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/1.098, allocations: 0.9688 kB / 0.6787 GB, free: 148.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.144e-06/1.098, allocations: 1.875 kB / 0.6787 GB, free: 148.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.657e-05/1.098, allocations: 30.66 kB / 0.6788 GB, free: 148.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.098, allocations: 0 / 0.6788 GB, free: 148.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.146e-05/1.098, allocations: 65.16 kB / 0.6788 GB, free: 148.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/1.098, allocations: 35.31 kB / 0.6789 GB, free: 148.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.098, allocations: 2.578 kB / 0.6789 GB, free: 148.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/1.098, allocations: 1 kB / 0.6789 GB, free: 148.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.433e-06/1.098, allocations: 0 / 0.6789 GB, free: 148.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/1.098, allocations: 0 / 0.6789 GB, free: 148.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.806e-05/1.098, allocations: 1.031 kB / 0.6789 GB, free: 148.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/1.098, allocations: 1.188 kB / 0.6789 GB, free: 148.4 MB / 490.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 () * Number of clocked 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 6.613e-05/1.098, allocations: 146.3 kB / 0.679 GB, free: 148.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.778e-06/1.098, allocations: 4.906 kB / 0.679 GB, free: 148.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.282e-05/1.098, allocations: 6.594 kB / 0.679 GB, free: 148.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.098, allocations: 0.9375 kB / 0.679 GB, free: 148.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.098, allocations: 0 / 0.679 GB, free: 148.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.098, allocations: 1.188 kB / 0.679 GB, free: 148.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.671e-05/1.098, allocations: 146.2 kB / 0.6792 GB, free: 148.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/1.098, allocations: 3.953 kB / 0.6792 GB, free: 148.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-06/1.098, allocations: 3.469 kB / 0.6792 GB, free: 148.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/1.098, allocations: 0.8438 kB / 0.6792 GB, free: 148.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/1.098, allocations: 1.094 kB / 0.6792 GB, free: 148.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/1.098, allocations: 7.938 kB / 0.6792 GB, free: 148 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.098, allocations: 5.094 kB / 0.6792 GB, free: 148 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.622e-05/1.098, allocations: 88.84 kB / 0.6793 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.313e-05/1.098, allocations: 82.47 kB / 0.6793 GB, free: 147.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/1.098, allocations: 0 / 0.6793 GB, free: 147.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.132e-05/1.098, allocations: 1.125 kB / 0.6793 GB, free: 147.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-05/1.098, allocations: 1.344 kB / 0.6793 GB, free: 147.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-06/1.098, allocations: 7.969 kB / 0.6794 GB, free: 147.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 1.557e-05/1.098, allocations: 80.44 kB / 0.6794 GB, free: 147.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.098, allocations: 0 / 0.6794 GB, free: 147.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005737/1.099, allocations: 83.44 kB / 0.6795 GB, free: 147.7 MB / 490.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) * Number of clocked states: 0 () * 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.0006095/1.1, allocations: 198.6 kB / 0.6797 GB, free: 147.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.894e-05/1.1, allocations: 63.88 kB / 0.6798 GB, free: 147.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.1, allocations: 0 / 0.6798 GB, free: 147.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.707e-05/1.1, allocations: 54.97 kB / 0.6798 GB, free: 147.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.57e-05/1.1, allocations: 4.047 kB / 0.6798 GB, free: 147.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001737/1.1, allocations: 97.62 kB / 0.6799 GB, free: 147.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/1.1, allocations: 0.6744 MB / 0.6806 GB, free: 146.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.058e-05/1.1, allocations: 8.344 kB / 0.6806 GB, free: 146.7 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/1.1, allocations: 128 / 0.6806 GB, free: 146.7 MB / 490.7 MB Notification: Performance of Templates: time 0.005466/1.106, allocations: 1.861 MB / 0.6824 GB, free: 146.5 MB / 490.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/jenkins1/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