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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000993/0.000993, allocations: 80.8 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 166.9 kB / 24.91 MB, free: 9.152 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.042/1.042, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2383/0.2383, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.668e-05, allocations: 2.312 kB / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001897/0.001923, allocations: 0.538 MB / 323.8 MB, free: 9.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002514/0.004437, allocations: 1.783 MB / 325.6 MB, free: 7.355 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.76e-05/0.004454, allocations: 0 / 325.6 MB, free: 7.355 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.344e-05/0.004468, allocations: 0 / 325.6 MB, free: 7.355 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.853e-06/0.004475, allocations: 0 / 325.6 MB, free: 7.355 MB / 298.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.0009724/0.005447, allocations: 243 kB / 325.8 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.156e-05/0.005499, allocations: 7.984 kB / 325.8 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.721e-05/0.005536, allocations: 0 / 325.8 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.842e-05/0.005564, allocations: 0 / 325.8 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.018e-05/0.005584, allocations: 3.984 kB / 325.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.735e-06/0.005592, allocations: 3.938 kB / 325.8 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009116/0.006504, allocations: 466.9 kB / 326.3 MB, free: 6.645 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.605e-06/0.006511, allocations: 0 / 326.3 MB, free: 6.645 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.548e-05/0.006527, allocations: 12.59 kB / 326.3 MB, free: 6.633 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004719/0.006999, allocations: 351.1 kB / 326.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.007002, allocations: 0 / 326.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.007003, allocations: 0 / 326.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.007007, allocations: 0 / 326.6 MB, free: 6.289 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.0003021/0.00731, allocations: 285.9 kB / 326.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.007348, allocations: 8.031 kB / 326.9 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.706e-05/0.007375, allocations: 4.938 kB / 326.9 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.306e-05/0.007438, allocations: 101.8 kB / 327 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.007449, allocations: 4.312 kB / 327 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.007459, allocations: 8.375 kB / 327 MB, free: 5.832 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.174e-05/0.007531, allocations: 55.97 kB / 327.1 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.007538, allocations: 192 / 327.1 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.007544, allocations: 384 / 327.1 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.007552, allocations: 7.938 kB / 327.1 MB, free: 5.758 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.802e-05/0.00757, allocations: 33.62 kB / 327.1 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.379e-05/0.007644, allocations: 57.05 kB / 327.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.856e-05/0.007692, allocations: 52.22 kB / 327.2 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.007711, allocations: 34.66 kB / 327.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-06/0.007715, allocations: 0 / 327.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.007749, allocations: 56.27 kB / 327.3 MB, free: 5.469 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.00775, allocations: 4 kB / 327.3 MB, free: 5.465 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001312/0.007881, allocations: 114.8 kB / 327.4 MB, free: 5.328 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.007919, allocations: 77.11 kB / 327.5 MB, free: 5.234 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.762e-05/0.007957, allocations: 89.86 kB / 327.6 MB, free: 5.137 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.007967, allocations: 25.7 kB / 327.6 MB, free: 5.105 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.308e-05/0.007991, allocations: 80.14 kB / 327.7 MB, free: 5.023 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.008012, allocations: 5.203 kB / 327.7 MB, free: 5.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.008038, allocations: 9.719 kB / 327.7 MB, free: 5.004 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.547e-05/0.008134, allocations: 334.7 kB / 328 MB, free: 4.668 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.229e-05/0.008156, allocations: 25.7 kB / 328.1 MB, free: 4.637 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.395e-05/0.00817, allocations: 29.83 kB / 328.1 MB, free: 4.602 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.792e-05/0.008218, allocations: 60.27 kB / 328.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.00822, allocations: 0 / 328.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.86e-05/0.008288, allocations: 85.09 kB / 328.2 MB, free: 4.426 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.008321, allocations: 33.7 kB / 328.3 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.008325, allocations: 0 / 328.3 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.00834, allocations: 3.984 kB / 328.3 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.008341, allocations: 0 / 328.3 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/0.008344, allocations: 0 / 328.3 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.558e-05/0.008359, allocations: 4.031 kB / 328.3 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.872e-06/0.008366, allocations: 11.94 kB / 328.3 MB, free: 4.367 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 7.38e-05/0.00844, allocations: 135.5 kB / 328.4 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-06/0.008447, allocations: 4 kB / 328.4 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.047e-06/0.008457, allocations: 3 kB / 328.4 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.008459, allocations: 0 / 328.4 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.00846, allocations: 0 / 328.4 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.008462, allocations: 0 / 328.4 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.646e-05/0.008518, allocations: 65.84 kB / 328.5 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.00852, allocations: 0 / 328.5 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-06/0.008521, allocations: 0 / 328.5 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.008523, allocations: 7.938 kB / 328.5 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-06/0.008527, allocations: 0 / 328.5 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.008528, allocations: 0 / 328.5 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008529, allocations: 0 / 328.5 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.656e-05/0.008616, allocations: 120.5 kB / 328.6 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-06/0.008622, allocations: 8.328 kB / 328.6 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.008635, allocations: 7.938 kB / 328.6 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.698e-06/0.008644, allocations: 4 kB / 328.6 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.027e-05/0.008655, allocations: 0 / 328.6 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.008657, allocations: 0 / 328.6 MB, free: 3.957 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.526e-06/0.008666, allocations: 8.891 kB / 328.7 MB, free: 3.945 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008666, allocations: 0 / 328.7 MB, free: 3.945 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002947/0.008961, allocations: 63.8 kB / 328.7 MB, free: 3.883 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.0004495/0.00941, allocations: 188 kB / 328.9 MB, free: 3.707 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.009528, allocations: 119.7 kB / 329 MB, free: 3.562 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.009532, allocations: 4 kB / 329 MB, free: 3.559 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.675e-05/0.009569, allocations: 85.95 kB / 329.1 MB, free: 3.453 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.875e-05/0.009627, allocations: 11.94 kB / 329.1 MB, free: 3.441 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001613/0.009789, allocations: 105.3 kB / 329.2 MB, free: 3.305 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.465e-05/0.009823, allocations: 59.28 kB / 329.3 MB, free: 3.227 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.761e-06/0.009829, allocations: 0 / 329.3 MB, free: 3.227 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.009868, allocations: 51.38 kB / 329.3 MB, free: 3.176 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009869, allocations: 0 / 329.3 MB, free: 3.176 MB / 298.7 MB Notification: Performance of Templates: time 0.004534/0.0144, allocations: 1.896 MB / 331.2 MB, free: 1.285 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.9232034883461893]