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.001111/0.001111, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.00165/0.00165, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.016/1.016, allocations: 177.1 MB / 205 MB, free: 5.602 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.2598/0.2598, allocations: 32.81 MB / 294.3 MB, free: 1.223 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.894e-06/1.894e-06, allocations: 0 / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/2.948e-05, allocations: 6.25 kB / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001348/0.001377, allocations: 0.5038 MB / 376.5 MB, free: 4.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.003775, allocations: 1.787 MB / 378.3 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.192e-05/0.003796, allocations: 0 / 378.3 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.003819, allocations: 0 / 378.3 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.773e-06/0.003826, allocations: 0 / 378.3 MB, free: 2.352 MB / 346.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.001112/0.004938, allocations: 247.1 kB / 378.5 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.31e-05/0.005002, allocations: 7.984 kB / 378.5 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.567e-05/0.005047, allocations: 4 kB / 378.5 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.502e-05/0.005082, allocations: 4 kB / 378.5 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.139e-05/0.005104, allocations: 0 / 378.5 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.005113, allocations: 3.938 kB / 378.6 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006901/0.005804, allocations: 447 kB / 379 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.005819, allocations: 0 / 379 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.831e-05/0.005847, allocations: 3.984 kB / 379 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005581/0.006405, allocations: 347 kB / 379.3 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.00641, allocations: 0 / 379.3 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.006412, allocations: 0 / 379.3 MB, free: 1.309 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.00642, allocations: 4 kB / 379.3 MB, free: 1.305 MB / 346.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.0004501/0.00687, allocations: 421.5 kB / 379.7 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.006914, allocations: 8.031 kB / 379.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.481e-05/0.006959, allocations: 0.9375 kB / 379.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.141e-05/0.00703, allocations: 104.6 kB / 379.9 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.007043, allocations: 4.375 kB / 379.9 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.007052, allocations: 384 / 379.9 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.007157, allocations: 55.97 kB / 379.9 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.007164, allocations: 192 / 379.9 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.007177, allocations: 4.359 kB / 379.9 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.007186, allocations: 7.938 kB / 379.9 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.046e-05/0.007206, allocations: 33.64 kB / 380 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001123/0.007319, allocations: 108.6 kB / 380.1 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.125e-05/0.00738, allocations: 48.77 kB / 380.1 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.363e-05/0.007403, allocations: 37.48 kB / 380.2 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-06/0.00741, allocations: 0 / 380.2 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.007454, allocations: 63.08 kB / 380.2 MB, free: 268 kB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.007455, allocations: 0 / 380.2 MB, free: 268 kB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001994/0.007654, allocations: 122.8 kB / 380.3 MB, free: 120 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.007696, allocations: 81.05 kB / 380.4 MB, free: 20 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.353e-05/0.007759, allocations: 150.4 kB / 380.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.00777, allocations: 25.7 kB / 380.6 MB, free: 15.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.705e-05/0.007807, allocations: 126.9 kB / 380.7 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.007828, allocations: 352 / 380.7 MB, free: 15.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.007859, allocations: 23.38 kB / 380.7 MB, free: 15.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.008006, allocations: 492.1 kB / 381.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.851e-05/0.008045, allocations: 29.7 kB / 381.2 MB, free: 15.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.028e-05/0.008065, allocations: 25.7 kB / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.155e-05/0.008137, allocations: 63.09 kB / 381.3 MB, free: 15.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.00814, allocations: 0 / 381.3 MB, free: 15.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001072/0.008247, allocations: 105 kB / 381.4 MB, free: 14.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/0.008284, allocations: 33.64 kB / 381.5 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/0.008292, allocations: 0 / 381.5 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.008309, allocations: 0 / 381.5 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.431e-06/0.008315, allocations: 0 / 381.5 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.008323, allocations: 7.938 kB / 381.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.735e-05/0.008341, allocations: 0 / 381.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.00835, allocations: 3.984 kB / 381.5 MB, free: 14.86 MB / 362.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 9.402e-05/0.008444, allocations: 182.3 kB / 381.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-06/0.008451, allocations: 4.031 kB / 381.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.298e-05/0.008464, allocations: 3 kB / 381.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.008466, allocations: 0 / 381.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.008471, allocations: 0 / 381.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.008477, allocations: 7.922 kB / 381.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.86e-05/0.008556, allocations: 116.6 kB / 381.8 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.008557, allocations: 0 / 381.8 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-07/0.008558, allocations: 0 / 381.8 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.008559, allocations: 0 / 381.8 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.008568, allocations: 4 kB / 381.8 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.008569, allocations: 4 kB / 381.8 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.008569, allocations: 4 kB / 381.8 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.564e-05/0.008665, allocations: 135.7 kB / 381.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-06/0.008669, allocations: 0 / 381.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.008683, allocations: 4 kB / 381.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.48e-06/0.008689, allocations: 0 / 381.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.311e-05/0.008702, allocations: 0 / 381.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.008706, allocations: 4 kB / 381.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.157e-05/0.008738, allocations: 123.1 kB / 382.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008738, allocations: 0 / 382.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002533/0.008991, allocations: 67.8 kB / 382.1 MB, free: 14.13 MB / 362.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.0004684/0.00946, allocations: 200.3 kB / 382.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.009611, allocations: 122.5 kB / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.009613, allocations: 3.938 kB / 382.4 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.306e-05/0.009656, allocations: 88.8 kB / 382.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.00979, allocations: 4.125 kB / 382.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002298/0.01002, allocations: 117.6 kB / 382.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.726e-05/0.01006, allocations: 59.34 kB / 382.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.552e-06/0.01006, allocations: 0 / 382.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.01008, allocations: 8.5 kB / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01008, allocations: 0 / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of Templates: time 0.004633/0.01472, allocations: 1.901 MB / 384.6 MB, free: 11.53 MB / 362.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 -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.902173552196473]