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.002051/0.002051, allocations: 178 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.021/2.021, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 92.28 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3447/0.3447, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.615e-05/2.62e-05, allocations: 224 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4104, allocations: 58.86 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7031/1.114, allocations: 195.4 MB / 0.6567 GB, free: 113.1 MB / 475.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/1.114, allocations: 65.28 kB / 0.6568 GB, free: 113.1 MB / 475.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03031/1.144, allocations: 6.974 MB / 0.6636 GB, free: 112.2 MB / 475.1 MB Notification: Performance of FrontEnd: time 1.684e-06/1.144, allocations: 0 / 0.6636 GB, free: 112.2 MB / 475.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/1.144, allocations: 0 / 0.6636 GB, free: 112.2 MB / 475.1 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.000453/1.145, allocations: 405.5 kB / 0.6639 GB, free: 111.7 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/1.145, allocations: 11.66 kB / 0.664 GB, free: 111.7 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/1.145, allocations: 0 / 0.664 GB, free: 111.7 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.551e-05/1.145, allocations: 163 kB / 0.6641 GB, free: 111.5 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/1.145, allocations: 0 / 0.6641 GB, free: 111.5 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/1.145, allocations: 0 / 0.6641 GB, free: 111.5 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.4e-05/1.145, allocations: 3.812 kB / 0.6641 GB, free: 111.5 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.411e-05/1.145, allocations: 37.05 kB / 0.6642 GB, free: 111.5 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/1.145, allocations: 0 / 0.6642 GB, free: 111.5 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/1.145, allocations: 0 / 0.6642 GB, free: 111.5 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/1.145, allocations: 4 kB / 0.6642 GB, free: 111.5 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.783e-05/1.145, allocations: 133.4 kB / 0.6643 GB, free: 111.3 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.507e-05/1.145, allocations: 14.58 kB / 0.6643 GB, free: 111.3 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.549e-05/1.145, allocations: 8.844 kB / 0.6643 GB, free: 111.3 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.767e-06/1.145, allocations: 0 / 0.6643 GB, free: 111.3 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/1.145, allocations: 64.98 kB / 0.6644 GB, free: 111.2 MB / 475.1 MB Notification: Performance of pre-optimization done (n=1): time 1.583e-06/1.145, allocations: 0 / 0.6644 GB, free: 111.2 MB / 475.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001727/1.146, allocations: 41.2 kB / 0.6644 GB, free: 111.2 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/1.146, allocations: 81.02 kB / 0.6645 GB, free: 111.1 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.34e-05/1.146, allocations: 85 kB / 0.6646 GB, free: 111 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/1.146, allocations: 25.7 kB / 0.6646 GB, free: 111 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.646e-05/1.146, allocations: 150.6 kB / 0.6647 GB, free: 110.8 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/1.146, allocations: 0 / 0.6647 GB, free: 110.8 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/1.146, allocations: 0 / 0.6647 GB, free: 110.8 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 5.561e-05/1.146, allocations: 314.4 kB / 0.665 GB, free: 110.5 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.819e-06/1.146, allocations: 4.031 kB / 0.665 GB, free: 110.5 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.613e-06/1.146, allocations: 7.75 kB / 0.665 GB, free: 110.5 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.465e-05/1.146, allocations: 0 / 0.665 GB, free: 110.5 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.146, allocations: 0 / 0.665 GB, free: 110.5 MB / 475.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.712e-05/1.146, allocations: 41 kB / 0.6651 GB, free: 110.5 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/1.146, allocations: 33.22 kB / 0.6651 GB, free: 110.4 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/1.146, allocations: 0 / 0.6651 GB, free: 110.4 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/1.146, allocations: 0 / 0.6651 GB, free: 110.4 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.884e-06/1.146, allocations: 0 / 0.6651 GB, free: 110.4 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/1.146, allocations: 7.938 kB / 0.6651 GB, free: 110.4 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.883e-05/1.146, allocations: 4 kB / 0.6651 GB, free: 110.4 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/1.146, allocations: 0 / 0.6651 GB, free: 110.4 MB / 475.1 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 6.267e-05/1.146, allocations: 126.7 kB / 0.6652 GB, free: 110.3 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/1.146, allocations: 7.828 kB / 0.6653 GB, free: 110.3 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.351e-05/1.146, allocations: 7.688 kB / 0.6653 GB, free: 110.3 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/1.146, allocations: 4 kB / 0.6653 GB, free: 110.3 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.146, allocations: 0 / 0.6653 GB, free: 110.3 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/1.146, allocations: 3.609 kB / 0.6653 GB, free: 110.3 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.181e-05/1.146, allocations: 126.1 kB / 0.6654 GB, free: 110.1 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/1.146, allocations: 4 kB / 0.6654 GB, free: 110.1 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/1.146, allocations: 0 / 0.6654 GB, free: 110.1 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/1.146, allocations: 0 / 0.6654 GB, free: 110.1 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/1.146, allocations: 3.953 kB / 0.6654 GB, free: 110.1 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.146, allocations: 0 / 0.6654 GB, free: 110.1 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.146, allocations: 0 / 0.6654 GB, free: 110.1 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/1.147, allocations: 63.83 kB / 0.6655 GB, free: 110 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/1.147, allocations: 81.05 kB / 0.6655 GB, free: 109.9 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/1.147, allocations: 4 kB / 0.6655 GB, free: 109.9 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.376e-05/1.147, allocations: 3.953 kB / 0.6655 GB, free: 109.9 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.987e-05/1.147, allocations: 3.906 kB / 0.6655 GB, free: 109.9 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/1.147, allocations: 8.438 kB / 0.6656 GB, free: 109.9 MB / 475.1 MB Notification: Performance of sorting global known variables: time 1.566e-05/1.147, allocations: 75.28 kB / 0.6656 GB, free: 109.9 MB / 475.1 MB Notification: Performance of sort global known variables: time 3.61e-07/1.147, allocations: 0 / 0.6656 GB, free: 109.9 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.0005639/1.147, allocations: 85.98 kB / 0.6657 GB, free: 109.8 MB / 475.1 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.0006208/1.148, allocations: 208.4 kB / 0.6659 GB, free: 109.7 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 8.978e-05/1.148, allocations: 55.31 kB / 0.666 GB, free: 109.6 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.148, allocations: 0 / 0.666 GB, free: 109.6 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 2.347e-05/1.148, allocations: 59.25 kB / 0.666 GB, free: 109.6 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001037/1.148, allocations: 0 / 0.666 GB, free: 109.6 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001522/1.148, allocations: 81.23 kB / 0.6661 GB, free: 109.5 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/1.149, allocations: 0.6801 MB / 0.6668 GB, free: 108.8 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.598e-06/1.149, allocations: 7.438 kB / 0.6668 GB, free: 108.8 MB / 475.1 MB Notification: Performance of SimCode: time 6.52e-07/1.149, allocations: 0 / 0.6668 GB, free: 108.8 MB / 475.1 MB Notification: Performance of Templates: time 0.005035/1.154, allocations: 1.877 MB / 0.6686 GB, free: 108.5 MB / 475.1 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