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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001107, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009349/0.0009349, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9851/0.9851, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2646/0.2646, allocations: 34.86 MB / 296.6 MB, free: 460 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 325.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.153e-05, allocations: 2.312 kB / 325.9 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001095/0.001116, allocations: 0.5006 MB / 326.4 MB, free: 6.688 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.002877, allocations: 1.788 MB / 328.2 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.543e-05/0.002892, allocations: 4 kB / 328.2 MB, free: 4.871 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.248e-05/0.002905, allocations: 0 / 328.2 MB, free: 4.871 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.292e-06/0.002911, allocations: 0 / 328.2 MB, free: 4.871 MB / 298.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.0008037/0.003715, allocations: 251 kB / 328.4 MB, free: 4.625 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.332e-05/0.003758, allocations: 4 kB / 328.4 MB, free: 4.621 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.838e-05/0.003797, allocations: 8.688 kB / 328.4 MB, free: 4.613 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.766e-05/0.003824, allocations: 4 kB / 328.4 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.758e-05/0.003842, allocations: 0 / 328.4 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.402e-06/0.003848, allocations: 0 / 328.4 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004995/0.004348, allocations: 451 kB / 328.9 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.775e-06/0.004356, allocations: 0 / 328.9 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.364e-05/0.004369, allocations: 4 kB / 328.9 MB, free: 4.164 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003407/0.00471, allocations: 347 kB / 329.2 MB, free: 3.824 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.004713, allocations: 4 kB / 329.2 MB, free: 3.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.004714, allocations: 0 / 329.2 MB, free: 3.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.986e-06/0.004717, allocations: 4 kB / 329.2 MB, free: 3.816 MB / 298.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.000242/0.004959, allocations: 289.9 kB / 329.5 MB, free: 3.504 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.004988, allocations: 8.031 kB / 329.5 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.142e-05/0.00501, allocations: 4.938 kB / 329.5 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.819e-05/0.005058, allocations: 101.8 kB / 329.6 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.005066, allocations: 4.375 kB / 329.6 MB, free: 3.363 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.005074, allocations: 4.359 kB / 329.6 MB, free: 3.359 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.659e-05/0.005131, allocations: 55.97 kB / 329.7 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.568e-06/0.005135, allocations: 192 / 329.7 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-06/0.00514, allocations: 384 / 329.7 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.005145, allocations: 7.938 kB / 329.7 MB, free: 3.285 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.364e-05/0.005159, allocations: 33.64 kB / 329.7 MB, free: 3.246 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.35e-05/0.005213, allocations: 57.03 kB / 329.8 MB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.524e-05/0.005248, allocations: 52.3 kB / 329.8 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.005265, allocations: 34.61 kB / 329.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-06/0.005268, allocations: 4 kB / 329.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.005295, allocations: 60.27 kB / 329.9 MB, free: 2.988 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.005295, allocations: 0 / 329.9 MB, free: 2.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 9.946e-05/0.005395, allocations: 118.7 kB / 330 MB, free: 2.848 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.005426, allocations: 77.11 kB / 330.1 MB, free: 2.754 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.851e-05/0.005454, allocations: 93.98 kB / 330.2 MB, free: 2.652 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.005462, allocations: 25.7 kB / 330.2 MB, free: 2.621 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.921e-05/0.005481, allocations: 80.14 kB / 330.3 MB, free: 2.539 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.005497, allocations: 5.375 kB / 330.3 MB, free: 2.535 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/0.005515, allocations: 9.719 kB / 330.3 MB, free: 2.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.71e-05/0.005582, allocations: 314.8 kB / 330.6 MB, free: 2.203 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/0.005597, allocations: 29.7 kB / 330.7 MB, free: 2.168 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.018e-05/0.005608, allocations: 25.7 kB / 330.7 MB, free: 2.137 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.785e-05/0.005645, allocations: 68.25 kB / 330.8 MB, free: 2.055 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.005647, allocations: 4.062 kB / 330.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.601e-05/0.005693, allocations: 85.05 kB / 330.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.005719, allocations: 37.69 kB / 330.9 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.005724, allocations: 0 / 330.9 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.005732, allocations: 0 / 330.9 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.535e-06/0.005735, allocations: 3.938 kB / 330.9 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-06/0.005737, allocations: 0 / 330.9 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.798e-06/0.005747, allocations: 0 / 330.9 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.005754, allocations: 7.938 kB / 330.9 MB, free: 1.895 MB / 298.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.554e-05/0.00581, allocations: 131.5 kB / 331 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-06/0.005815, allocations: 8.031 kB / 331 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.373e-06/0.005822, allocations: 3 kB / 331 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.005823, allocations: 0 / 331 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.005825, allocations: 0 / 331 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.005828, allocations: 3.984 kB / 331 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.219e-05/0.00587, allocations: 69.83 kB / 331.1 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.005871, allocations: 0 / 331.1 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.9e-07/0.005871, allocations: 0 / 331.1 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.71e-07/0.005872, allocations: 0 / 331.1 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-06/0.005875, allocations: 0 / 331.1 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.51e-07/0.005875, allocations: 0 / 331.1 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.005876, allocations: 4 kB / 331.1 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.132e-05/0.005937, allocations: 120.4 kB / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-06/0.005943, allocations: 8.344 kB / 331.2 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.005953, allocations: 4 kB / 331.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.947e-06/0.005957, allocations: 0 / 331.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.923e-06/0.005964, allocations: 4 kB / 331.2 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.005965, allocations: 0 / 331.2 MB, free: 1.484 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.19e-06/0.00597, allocations: 4.859 kB / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00597, allocations: 0 / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001702/0.006141, allocations: 63.8 kB / 331.3 MB, free: 1.414 MB / 298.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.0003246/0.006465, allocations: 193 kB / 331.5 MB, free: 1.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.549e-05/0.006551, allocations: 119.6 kB / 331.6 MB, free: 1.086 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.006553, allocations: 0 / 331.6 MB, free: 1.086 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.046e-05/0.006583, allocations: 85.97 kB / 331.7 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.343e-05/0.006626, allocations: 13.05 kB / 331.7 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001312/0.006758, allocations: 112.9 kB / 331.8 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.299e-05/0.006781, allocations: 51.36 kB / 331.9 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.01e-06/0.006786, allocations: 0 / 331.9 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.006818, allocations: 55.36 kB / 331.9 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of SimCode: time 6.92e-07/0.006819, allocations: 0 / 331.9 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of Templates: time 0.003257/0.01008, allocations: 1.899 MB / 333.8 MB, free: 14.8 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8598370063118637]