Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 105.3 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3408/0.3408, allocations: 44.13 MB / 386.1 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 63.84 kB / 457.7 MB, free: 2.277 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3013, allocations: 60.8 MB / 0.5064 GB, free: 38.42 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001928/0.3033, allocations: 0.5533 MB / 0.5069 GB, free: 38.1 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002303/0.3056, allocations: 1.763 MB / 0.5086 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.254e-05/0.3057, allocations: 4 kB / 0.5087 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.3057, allocations: 0 / 0.5087 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.119e-06/0.3057, allocations: 0 / 0.5087 GB, free: 36.85 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:120:3-169:18:writable] Warning: Pure function ‘ModelicaTest.Math.Polynomials‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0008496/0.3066, allocations: 185.6 kB / 0.5088 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.21e-05/0.3066, allocations: 3 kB / 0.5088 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.3067, allocations: 0 / 0.5088 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.372e-05/0.3067, allocations: 4 kB / 0.5088 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.72e-05/0.3067, allocations: 11.02 kB / 0.5088 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.649e-06/0.3067, allocations: 3.938 kB / 0.5088 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005579/0.3073, allocations: 386.6 kB / 0.5092 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.796e-06/0.3073, allocations: 3.984 kB / 0.5092 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.826e-05/0.3073, allocations: 6.5 kB / 0.5092 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000443/0.3078, allocations: 300.4 kB / 0.5095 GB, free: 36.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3078, allocations: 0 / 0.5095 GB, free: 36.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.3078, allocations: 0 / 0.5095 GB, free: 36.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.3078, allocations: 0 / 0.5095 GB, free: 36.57 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.0003293/0.3081, allocations: 393 kB / 0.5099 GB, free: 36.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.3082, allocations: 12.06 kB / 0.5099 GB, free: 36.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.3082, allocations: 3.656 kB / 0.5099 GB, free: 36.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.195e-05/0.3083, allocations: 160.4 kB / 0.5101 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.263e-06/0.3083, allocations: 384 / 0.5101 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.3083, allocations: 384 / 0.5101 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.959e-05/0.3084, allocations: 32.7 kB / 0.5101 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.3084, allocations: 0 / 0.5101 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.3084, allocations: 0 / 0.5101 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.3084, allocations: 14.06 kB / 0.5101 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.734e-05/0.3085, allocations: 3.938 kB / 0.5101 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.701e-05/0.3085, allocations: 148.5 kB / 0.5102 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.737e-05/0.3086, allocations: 14.58 kB / 0.5103 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.279e-05/0.3086, allocations: 7.422 kB / 0.5103 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.3086, allocations: 0 / 0.5103 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.3086, allocations: 71.38 kB / 0.5103 GB, free: 35.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.3087, allocations: 2.5 kB / 0.5103 GB, free: 35.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001455/0.3088, allocations: 64.78 kB / 0.5104 GB, free: 35.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.3089, allocations: 83.36 kB / 0.5105 GB, free: 35.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.375e-05/0.3089, allocations: 89.86 kB / 0.5106 GB, free: 35.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.3089, allocations: 25.7 kB / 0.5106 GB, free: 35.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.447e-06/0.3089, allocations: 80.14 kB / 0.5107 GB, free: 35.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.3089, allocations: 0 / 0.5107 GB, free: 35.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.309, allocations: 12.69 kB / 0.5107 GB, free: 35.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.067e-05/0.309, allocations: 318.8 kB / 0.511 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.003e-05/0.3091, allocations: 2.594 kB / 0.511 GB, free: 34.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.209e-06/0.3091, allocations: 0 / 0.511 GB, free: 34.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.094e-05/0.3091, allocations: 62.23 kB / 0.511 GB, free: 34.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3091, allocations: 0 / 0.511 GB, free: 34.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.648e-05/0.3092, allocations: 63.56 kB / 0.5111 GB, free: 34.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.3092, allocations: 39.02 kB / 0.5111 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3092, allocations: 4.094 kB / 0.5111 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.3092, allocations: 0 / 0.5111 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.495e-06/0.3092, allocations: 6.344 kB / 0.5112 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.3092, allocations: 3.938 kB / 0.5112 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.636e-05/0.3093, allocations: 0 / 0.5112 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.3093, allocations: 0 / 0.5112 GB, free: 34.71 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.051e-05/0.3093, allocations: 138.1 kB / 0.5113 GB, free: 34.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-06/0.3093, allocations: 3.938 kB / 0.5113 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.026e-05/0.3094, allocations: 3.125 kB / 0.5113 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.3094, allocations: 6.531 kB / 0.5113 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3094, allocations: 0 / 0.5113 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3094, allocations: 3.328 kB / 0.5113 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.383e-05/0.3094, allocations: 144.9 kB / 0.5114 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3094, allocations: 0 / 0.5114 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.91e-07/0.3095, allocations: 0 / 0.5114 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.3095, allocations: 3.938 kB / 0.5114 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/0.3095, allocations: 3.984 kB / 0.5115 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3095, allocations: 3.188 kB / 0.5115 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3095, allocations: 6.703 kB / 0.5115 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.3097, allocations: 0.638 MB / 0.5121 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.64e-05/0.3097, allocations: 83.02 kB / 0.5122 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.3097, allocations: 3.938 kB / 0.5122 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-06/0.3097, allocations: 0 / 0.5122 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.3098, allocations: 6.625 kB / 0.5122 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.3098, allocations: 0 / 0.5122 GB, free: 33.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.085e-05/0.3098, allocations: 79.31 kB / 0.5122 GB, free: 33.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3098, allocations: 0 / 0.5122 GB, free: 33.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000448/0.3102, allocations: 65.59 kB / 0.5123 GB, free: 33.47 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.0003884/0.3106, allocations: 182.2 kB / 0.5125 GB, free: 33.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.384e-05/0.3107, allocations: 69.06 kB / 0.5125 GB, free: 33.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3107, allocations: 3.938 kB / 0.5126 GB, free: 33.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.818e-05/0.3108, allocations: 54.38 kB / 0.5126 GB, free: 33.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.3109, allocations: 9.672 kB / 0.5126 GB, free: 33.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001641/0.3111, allocations: 182.4 kB / 0.5128 GB, free: 33.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.182e-05/0.3111, allocations: 0.677 MB / 0.5134 GB, free: 32.31 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.31e-06/0.3112, allocations: 0 / 0.5134 GB, free: 32.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.025e-06/0.3112, allocations: 7.438 kB / 0.5135 GB, free: 32.31 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3112, allocations: 4.125 kB / 0.5135 GB, free: 32.3 MB / 378.7 MB Notification: Performance of Templates: time 0.003753/0.3149, allocations: 1.62 MB / 0.515 GB, free: 32.17 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches