Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001677/0.001677, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001071/0.001071, allocations: 108.6 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3612/0.3612, allocations: 44.83 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 63.89 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3633, allocations: 62.01 MB / 0.5151 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001493/0.3648, allocations: 0.5519 MB / 0.5157 GB, free: 37.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.3667, allocations: 1.813 MB / 0.5175 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.648e-06/0.3667, allocations: 0 / 0.5175 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.329e-05/0.3667, allocations: 6.844 kB / 0.5175 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.769e-06/0.3667, allocations: 0 / 0.5175 GB, free: 36.2 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0006703/0.3674, allocations: 187.6 kB / 0.5176 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.965e-05/0.3675, allocations: 0 / 0.5176 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.446e-05/0.3675, allocations: 2.719 kB / 0.5176 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.257e-05/0.3675, allocations: 0 / 0.5176 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.32e-05/0.3675, allocations: 3.938 kB / 0.5176 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.859e-06/0.3675, allocations: 0 / 0.5176 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000486/0.368, allocations: 400.9 kB / 0.518 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.013e-06/0.3681, allocations: 4 kB / 0.518 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.422e-05/0.3681, allocations: 0 / 0.518 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004151/0.3685, allocations: 301.8 kB / 0.5183 GB, free: 35.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3685, allocations: 2.812 kB / 0.5183 GB, free: 35.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3685, allocations: 0 / 0.5183 GB, free: 35.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.247e-06/0.3685, allocations: 0 / 0.5183 GB, free: 35.91 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.0003236/0.3689, allocations: 389.7 kB / 0.5187 GB, free: 35.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3689, allocations: 6.094 kB / 0.5187 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.3689, allocations: 7.812 kB / 0.5187 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.857e-05/0.369, allocations: 167.9 kB / 0.5189 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.369, allocations: 384 / 0.5189 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.369, allocations: 384 / 0.5189 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.861e-05/0.3691, allocations: 36.89 kB / 0.5189 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.3691, allocations: 0 / 0.5189 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.3691, allocations: 0 / 0.5189 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3691, allocations: 0 / 0.5189 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.62e-05/0.3692, allocations: 6.734 kB / 0.5189 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.287e-05/0.3693, allocations: 149.1 kB / 0.5191 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.328e-05/0.3693, allocations: 21.52 kB / 0.5191 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.303e-05/0.3693, allocations: 7.734 kB / 0.5191 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-06/0.3693, allocations: 0 / 0.5191 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.3694, allocations: 64.14 kB / 0.5191 GB, free: 34.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.3694, allocations: 0 / 0.5191 GB, free: 34.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001519/0.3695, allocations: 67.72 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.3696, allocations: 77.23 kB / 0.5193 GB, free: 34.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.29e-05/0.3696, allocations: 93.86 kB / 0.5194 GB, free: 34.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.492e-06/0.3696, allocations: 25.7 kB / 0.5194 GB, free: 34.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.098e-05/0.3696, allocations: 80.14 kB / 0.5195 GB, free: 34.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.3696, allocations: 2.875 kB / 0.5195 GB, free: 34.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/0.3697, allocations: 9.719 kB / 0.5195 GB, free: 34.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.919e-05/0.3697, allocations: 317.4 kB / 0.5198 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-06/0.3698, allocations: 0 / 0.5198 GB, free: 34.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-06/0.3698, allocations: 0 / 0.5198 GB, free: 34.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.433e-05/0.3698, allocations: 75.17 kB / 0.5199 GB, free: 34.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3698, allocations: 2.812 kB / 0.5199 GB, free: 34.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.87e-05/0.3699, allocations: 61.19 kB / 0.5199 GB, free: 34.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.3699, allocations: 35.48 kB / 0.52 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3699, allocations: 0 / 0.52 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3699, allocations: 0 / 0.52 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.3699, allocations: 3.938 kB / 0.52 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3699, allocations: 0 / 0.52 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.46e-05/0.37, allocations: 2.844 kB / 0.52 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.37, allocations: 4.031 kB / 0.52 GB, free: 34.05 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.926e-05/0.37, allocations: 138.8 kB / 0.5201 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-06/0.3701, allocations: 3.938 kB / 0.5201 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.977e-06/0.3701, allocations: 6.922 kB / 0.5201 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.3701, allocations: 0 / 0.5201 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3701, allocations: 0 / 0.5201 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3701, allocations: 3.938 kB / 0.5201 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.543e-05/0.3701, allocations: 145.6 kB / 0.5202 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3702, allocations: 0 / 0.5202 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.3702, allocations: 4 kB / 0.5203 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3702, allocations: 3.938 kB / 0.5203 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.3702, allocations: 3.422 kB / 0.5203 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.3702, allocations: 3.344 kB / 0.5203 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3702, allocations: 0 / 0.5203 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.3704, allocations: 0.6388 MB / 0.5209 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.523e-05/0.3704, allocations: 80.44 kB / 0.521 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.3704, allocations: 2.812 kB / 0.521 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-06/0.3705, allocations: 0 / 0.521 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.107e-05/0.3705, allocations: 0 / 0.521 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.3705, allocations: 2.812 kB / 0.521 GB, free: 32.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.209e-05/0.3705, allocations: 75.28 kB / 0.521 GB, free: 32.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3705, allocations: 0 / 0.521 GB, free: 32.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004077/0.3709, allocations: 63.36 kB / 0.5211 GB, free: 32.84 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.0003572/0.3713, allocations: 200 kB / 0.5213 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.596e-05/0.3714, allocations: 60.91 kB / 0.5213 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3714, allocations: 0 / 0.5213 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.612e-05/0.3714, allocations: 58.12 kB / 0.5214 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001111/0.3715, allocations: 9.016 kB / 0.5214 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001522/0.3717, allocations: 178.7 kB / 0.5216 GB, free: 32.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.996e-05/0.3718, allocations: 0.672 MB / 0.5222 GB, free: 31.67 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.671e-06/0.3718, allocations: 0 / 0.5222 GB, free: 31.67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.951e-06/0.3718, allocations: 7.438 kB / 0.5222 GB, free: 31.66 MB / 378.7 MB Notification: Performance of SimCode: time 1.9e-07/0.3718, allocations: 0 / 0.5222 GB, free: 31.66 MB / 378.7 MB Notification: Performance of Templates: time 0.003456/0.3752, allocations: 1.629 MB / 0.5238 GB, free: 31.52 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches