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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001173, allocations: 112.9 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 183 kB / 19.39 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 243.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2026/0.2026, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.317, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001437/0.3185, allocations: 0.4991 MB / 0.52 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.3204, allocations: 1.746 MB / 0.5217 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.3204, allocations: 0 / 0.5217 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.199e-05/0.3204, allocations: 1.438 kB / 0.5217 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.63e-06/0.3204, allocations: 0 / 0.5217 GB, free: 2.066 MB / 382.1 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.0008826/0.3213, allocations: 227.3 kB / 0.522 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.784e-05/0.3214, allocations: 9.75 kB / 0.522 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.403e-05/0.3214, allocations: 2.891 kB / 0.522 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.343e-05/0.3214, allocations: 0 / 0.522 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.623e-05/0.3215, allocations: 1.219 kB / 0.522 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.22e-06/0.3215, allocations: 4 kB / 0.522 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006056/0.3221, allocations: 410.8 kB / 0.5224 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.835e-06/0.3221, allocations: 0 / 0.5224 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.937e-05/0.3221, allocations: 5.969 kB / 0.5224 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004559/0.3226, allocations: 298.9 kB / 0.5227 GB, free: 1.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3226, allocations: 0.7969 kB / 0.5227 GB, free: 1.766 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3226, allocations: 1.438 kB / 0.5227 GB, free: 1.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.3226, allocations: 0 / 0.5227 GB, free: 1.766 MB / 382.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.0003046/0.3229, allocations: 398.3 kB / 0.523 GB, free: 1.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.323, allocations: 9.391 kB / 0.5231 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.323, allocations: 4.938 kB / 0.5231 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.416e-05/0.3231, allocations: 161.8 kB / 0.5232 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3231, allocations: 1.75 kB / 0.5232 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.3231, allocations: 1.844 kB / 0.5232 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.765e-05/0.3232, allocations: 32.64 kB / 0.5232 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.3232, allocations: 0 / 0.5232 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-06/0.3232, allocations: 1.469 kB / 0.5233 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3232, allocations: 0.75 kB / 0.5233 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.556e-05/0.3232, allocations: 1.469 kB / 0.5233 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.957e-05/0.3233, allocations: 152.5 kB / 0.5234 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.593e-05/0.3233, allocations: 20.77 kB / 0.5234 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.106e-05/0.3234, allocations: 7 kB / 0.5234 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-06/0.3234, allocations: 0 / 0.5234 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.3234, allocations: 61.81 kB / 0.5235 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.3234, allocations: 1.375 kB / 0.5235 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001371/0.3235, allocations: 69.17 kB / 0.5236 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.937e-05/0.3236, allocations: 86.39 kB / 0.5236 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.812e-05/0.3236, allocations: 90.52 kB / 0.5237 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.981e-06/0.3236, allocations: 25.7 kB / 0.5237 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.826e-06/0.3236, allocations: 80.14 kB / 0.5238 GB, free: 432 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.3236, allocations: 1.438 kB / 0.5238 GB, free: 432 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.3237, allocations: 11.66 kB / 0.5238 GB, free: 416 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.719e-05/0.3237, allocations: 317.4 kB / 0.5241 GB, free: 92 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.3237, allocations: 5.594 kB / 0.5241 GB, free: 88 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.92e-06/0.3237, allocations: 0 / 0.5241 GB, free: 88 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.171e-05/0.3238, allocations: 65.28 kB / 0.5242 GB, free: 12 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3238, allocations: 0 / 0.5242 GB, free: 12 kB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.721e-05/0.3239, allocations: 59.88 kB / 0.5243 GB, free: 15.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.3239, allocations: 38.38 kB / 0.5243 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.3239, allocations: 9.391 kB / 0.5243 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.3239, allocations: 0 / 0.5243 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.3239, allocations: 1.312 kB / 0.5243 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.324, allocations: 4.562 kB / 0.5243 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.498e-05/0.324, allocations: 1.062 kB / 0.5243 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.324, allocations: 1.703 kB / 0.5243 GB, free: 15.9 MB / 398.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 () * 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 7.625e-05/0.3241, allocations: 137.7 kB / 0.5244 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/0.3241, allocations: 5.891 kB / 0.5245 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.06e-05/0.3241, allocations: 7.578 kB / 0.5245 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.3241, allocations: 1.656 kB / 0.5245 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3241, allocations: 0 / 0.5245 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.3242, allocations: 86.45 kB / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.3242, allocations: 1.562 kB / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-06/0.3242, allocations: 0 / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-06/0.3242, allocations: 2.656 kB / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001078/0.3243, allocations: 193.2 kB / 0.5247 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001263/0.3244, allocations: 242 kB / 0.525 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.694e-05/0.3245, allocations: 7.75 kB / 0.525 GB, free: 15.19 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.351e-05/0.3245, allocations: 75.28 kB / 0.525 GB, free: 15.11 MB / 398.1 MB Notification: Performance of Backend: time 2.71e-07/0.3245, allocations: 0 / 0.525 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007091/0.3252, allocations: 244.2 kB / 0.5253 GB, free: 14.95 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003184/0.3256, allocations: 0.5791 MB / 0.5258 GB, free: 14.31 MB / 398.1 MB Notification: Performance of Templates: time 0.004895/0.3305, allocations: 1.969 MB / 0.5278 GB, free: 13.7 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches