Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001456/0.001456, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001589/0.001589, allocations: 165 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.037/1.037, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2392/0.2392, allocations: 34.25 MB / 295.7 MB, free: 0.7773 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.0_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.987e-06/3.987e-06, allocations: 4 kB / 378 MB, free: 2.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.892e-05, allocations: 6.312 kB / 378 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001125/0.001154, allocations: 0.5005 MB / 378.5 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.003202, allocations: 1.787 MB / 380.3 MB, free: 384 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.866e-05/0.003221, allocations: 0 / 380.3 MB, free: 384 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.003241, allocations: 0 / 380.3 MB, free: 384 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.945e-06/0.003249, allocations: 0 / 380.3 MB, free: 384 kB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.0009542/0.004203, allocations: 259 kB / 380.6 MB, free: 124 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.204e-05/0.004255, allocations: 0 / 380.6 MB, free: 124 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.634e-05/0.004292, allocations: 8 kB / 380.6 MB, free: 116 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.697e-05/0.004319, allocations: 0 / 380.6 MB, free: 116 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.688e-05/0.004336, allocations: 0 / 380.6 MB, free: 116 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.045e-06/0.004344, allocations: 3.984 kB / 380.6 MB, free: 112 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005289/0.004872, allocations: 447 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.476e-06/0.004881, allocations: 0 / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.76e-05/0.004899, allocations: 7.938 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003745/0.005273, allocations: 343 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.005276, allocations: 0 / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.005277, allocations: 8 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.005282, allocations: 0 / 381.4 MB, free: 15.32 MB / 362.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.0003172/0.005599, allocations: 413.6 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.005636, allocations: 8.031 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.005672, allocations: 0.9375 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.775e-05/0.00573, allocations: 112.6 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.005741, allocations: 384 / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.005749, allocations: 384 / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.968e-05/0.005839, allocations: 59.95 kB / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.005846, allocations: 192 / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.005854, allocations: 8.312 kB / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.005866, allocations: 3.938 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.921e-05/0.005885, allocations: 29.7 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.601e-05/0.005971, allocations: 108.6 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.034e-05/0.006021, allocations: 56.78 kB / 382.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.983e-05/0.006041, allocations: 33.39 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-06/0.006045, allocations: 0 / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.00608, allocations: 63.16 kB / 382.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.006081, allocations: 0 / 382.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001693/0.00625, allocations: 122.7 kB / 382.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.00629, allocations: 85.17 kB / 382.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.216e-05/0.006333, allocations: 142.2 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.006344, allocations: 25.7 kB / 382.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.006377, allocations: 134.8 kB / 382.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.006393, allocations: 352 / 382.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.006415, allocations: 15.38 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.006529, allocations: 0.4884 MB / 383.2 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.367e-05/0.006553, allocations: 29.69 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.514e-05/0.006568, allocations: 25.7 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.668e-05/0.006615, allocations: 67.03 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.006617, allocations: 4.062 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.057e-05/0.006687, allocations: 93.06 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.00672, allocations: 33.69 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.006726, allocations: 4 kB / 383.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.006743, allocations: 0 / 383.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.239e-06/0.006748, allocations: 0 / 383.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.006755, allocations: 3.938 kB / 383.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.516e-05/0.00678, allocations: 0 / 383.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.006789, allocations: 0 / 383.5 MB, free: 12.88 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.485e-05/0.006884, allocations: 186.3 kB / 383.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-06/0.006893, allocations: 0 / 383.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.199e-05/0.006905, allocations: 3 kB / 383.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.006912, allocations: 11.98 kB / 383.7 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.006916, allocations: 0 / 383.7 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.00692, allocations: 3.938 kB / 383.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.462e-05/0.006995, allocations: 104.6 kB / 383.8 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.006996, allocations: 0 / 383.8 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-06/0.006998, allocations: 3.938 kB / 383.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.006999, allocations: 4 kB / 383.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.485e-06/0.007007, allocations: 0 / 383.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.007008, allocations: 4 kB / 383.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.007009, allocations: 0 / 383.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.007124, allocations: 131.8 kB / 383.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-06/0.00713, allocations: 4 kB / 383.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.007147, allocations: 0 / 383.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-06/0.007154, allocations: 0 / 383.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.007168, allocations: 3.984 kB / 383.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.007172, allocations: 0 / 383.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.568e-05/0.007208, allocations: 131.1 kB / 384.1 MB, free: 12.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007208, allocations: 3.938 kB / 384.1 MB, free: 12.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003164/0.007524, allocations: 59.81 kB / 384.1 MB, free: 12.15 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.000455/0.007979, allocations: 211.7 kB / 384.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.008092, allocations: 122.4 kB / 384.5 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.008094, allocations: 0 / 384.5 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.456e-05/0.008129, allocations: 92.86 kB / 384.6 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.008252, allocations: 6.672 kB / 384.6 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001915/0.008444, allocations: 117.6 kB / 384.7 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.163e-05/0.008475, allocations: 51.36 kB / 384.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.169e-06/0.008481, allocations: 0 / 384.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.225e-05/0.008493, allocations: 8.5 kB / 384.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.008494, allocations: 0 / 384.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of Templates: time 0.004276/0.01277, allocations: 1.919 MB / 386.6 MB, free: 9.535 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 3.052996501326561]