Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001243/0.001243, allocations: 178.6 kB / 16.08 MB, free: 5.234 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.6 MB / 222.4 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007207/0.0007207, allocations: 86.92 kB / 270.8 MB, free: 8.121 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3073/0.3073, allocations: 43.68 MB / 362.7 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002874/0.0002875, allocations: 8 kB / 432.3 MB, free: 5.02 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1008, allocations: 58.84 MB / 491.1 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.0005321/0.1014, allocations: 232.3 kB / 491.4 MB, free: 9.816 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006345/0.1078, allocations: 7.026 MB / 498.4 MB, free: 2.238 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.197e-05/0.1078, allocations: 0 / 498.4 MB, free: 2.238 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.828e-06/0.1078, allocations: 0 / 498.4 MB, free: 2.238 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.258e-06/0.1078, allocations: 0 / 498.4 MB, free: 2.238 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000814/0.1087, allocations: 191.5 kB / 498.6 MB, free: 2.051 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.742e-05/0.1087, allocations: 4 kB / 498.6 MB, free: 2.047 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.1087, allocations: 3.984 kB / 498.6 MB, free: 2.043 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.574e-05/0.1088, allocations: 0 / 498.6 MB, free: 2.043 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.641e-05/0.1088, allocations: 0 / 498.6 MB, free: 2.043 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.619e-06/0.1088, allocations: 0 / 498.6 MB, free: 2.043 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000581/0.1094, allocations: 375.3 kB / 499 MB, free: 1.676 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.484e-06/0.1094, allocations: 4 kB / 499 MB, free: 1.672 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.1094, allocations: 25.7 kB / 499 MB, free: 1.641 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004245/0.1099, allocations: 307.3 kB / 499.3 MB, free: 1.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1099, allocations: 0 / 499.3 MB, free: 1.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1099, allocations: 4 kB / 499.3 MB, free: 1.336 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.1099, allocations: 0 / 499.3 MB, free: 1.336 MB / 378.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.0003297/0.1102, allocations: 380.6 kB / 499.7 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.1103, allocations: 8.031 kB / 499.7 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.1103, allocations: 8.922 kB / 499.7 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.81e-05/0.1104, allocations: 164.4 kB / 499.8 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.1104, allocations: 4.375 kB / 499.8 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-06/0.1104, allocations: 384 / 499.8 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.881e-05/0.1105, allocations: 33.83 kB / 499.9 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.1105, allocations: 0 / 499.9 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.1106, allocations: 0 / 499.9 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1106, allocations: 0 / 499.9 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.533e-05/0.1106, allocations: 3.938 kB / 499.9 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001167/0.1107, allocations: 153.7 kB / 0.4883 GB, free: 464 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.455e-05/0.1108, allocations: 18.58 kB / 0.4883 GB, free: 436 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.311e-05/0.1108, allocations: 4.859 kB / 0.4883 GB, free: 428 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.598e-06/0.1108, allocations: 8.031 kB / 0.4883 GB, free: 420 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/0.1108, allocations: 60.2 kB / 0.4884 GB, free: 344 kB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1108, allocations: 0 / 0.4884 GB, free: 344 kB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001533/0.111, allocations: 75.23 kB / 0.4885 GB, free: 256 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.1111, allocations: 81.23 kB / 0.4886 GB, free: 156 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.843e-05/0.1111, allocations: 89.86 kB / 0.4886 GB, free: 56 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.1111, allocations: 29.64 kB / 0.4887 GB, free: 20 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1708/0.282, allocations: 80.14 kB / 0.4887 GB, free: 44.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.282, allocations: 0 / 0.4887 GB, free: 44.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.2821, allocations: 0.8125 kB / 0.4887 GB, free: 44.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.736e-05/0.2821, allocations: 311.8 kB / 0.489 GB, free: 44.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.548e-05/0.2821, allocations: 0.875 kB / 0.489 GB, free: 44.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.458e-06/0.2822, allocations: 0.9688 kB / 0.489 GB, free: 44.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.038e-05/0.2822, allocations: 61.94 kB / 0.4891 GB, free: 44.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2822, allocations: 0 / 0.4891 GB, free: 44.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.635e-05/0.2823, allocations: 69.52 kB / 0.4892 GB, free: 43.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.2824, allocations: 32.67 kB / 0.4892 GB, free: 43.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2824, allocations: 0 / 0.4892 GB, free: 43.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2824, allocations: 1.703 kB / 0.4892 GB, free: 43.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.2824, allocations: 0 / 0.4892 GB, free: 43.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2824, allocations: 4.781 kB / 0.4892 GB, free: 43.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.22e-05/0.2824, allocations: 1.891 kB / 0.4892 GB, free: 43.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.2825, allocations: 1.281 kB / 0.4892 GB, free: 43.92 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.686e-05/0.2825, allocations: 140.5 kB / 0.4893 GB, free: 43.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.2825, allocations: 2.609 kB / 0.4893 GB, free: 43.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.201e-05/0.2825, allocations: 7.469 kB / 0.4894 GB, free: 43.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2826, allocations: 4.641 kB / 0.4894 GB, free: 43.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2826, allocations: 0 / 0.4894 GB, free: 43.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.2826, allocations: 1.094 kB / 0.4894 GB, free: 43.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.455e-05/0.2826, allocations: 147.2 kB / 0.4895 GB, free: 43.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2826, allocations: 0.5625 kB / 0.4895 GB, free: 43.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/0.2826, allocations: 1.125 kB / 0.4895 GB, free: 43.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.2827, allocations: 0 / 0.4895 GB, free: 43.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.2827, allocations: 4.062 kB / 0.4895 GB, free: 43.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2827, allocations: 3.938 kB / 0.4895 GB, free: 43.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2827, allocations: 7.25 kB / 0.4895 GB, free: 43.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.706e-05/0.2827, allocations: 88.2 kB / 0.4896 GB, free: 43.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.423e-05/0.2828, allocations: 80.69 kB / 0.4897 GB, free: 43.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.2828, allocations: 1.125 kB / 0.4897 GB, free: 43.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.017e-06/0.2828, allocations: 3.938 kB / 0.4897 GB, free: 43.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.105e-05/0.2828, allocations: 5.344 kB / 0.4897 GB, free: 43.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.2828, allocations: 1.906 kB / 0.4897 GB, free: 43.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.314e-05/0.2828, allocations: 80.08 kB / 0.4898 GB, free: 43.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2829, allocations: 2.953 kB / 0.4898 GB, free: 43.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003958/0.2833, allocations: 65.22 kB / 0.4898 GB, free: 43.32 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004093/0.2837, allocations: 198.1 kB / 0.49 GB, free: 43.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.019e-05/0.2838, allocations: 60.97 kB / 0.4901 GB, free: 43.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.2838, allocations: 0 / 0.4901 GB, free: 43.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.112e-05/0.2838, allocations: 59.75 kB / 0.4901 GB, free: 43.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.284, allocations: 3.375 kB / 0.4901 GB, free: 43.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001621/0.2841, allocations: 74.77 kB / 0.4902 GB, free: 43.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.779e-05/0.2842, allocations: 0.6714 MB / 0.4909 GB, free: 42.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.551e-06/0.2842, allocations: 4.172 kB / 0.4909 GB, free: 42.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.418e-06/0.2843, allocations: 8.625 kB / 0.4909 GB, free: 42.31 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2843, allocations: 3.828 kB / 0.4909 GB, free: 42.31 MB / 378.7 MB Notification: Performance of Templates: time 0.004549/0.2888, allocations: 1.682 MB / 0.4925 GB, free: 42.2 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches