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.001185/0.001185, allocations: 79.59 kB / 21.18 MB, free: 3.391 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.001034/0.001034, allocations: 161 kB / 24.56 MB, free: 20 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 0.974/0.974, allocations: 177.1 MB / 205 MB, free: 4.789 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.2462/0.2462, allocations: 32.82 MB / 294.3 MB, free: 1.207 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.142e-06/1.142e-06, allocations: 0 / 376 MB, free: 4.715 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.779e-05, allocations: 9.406 kB / 376 MB, free: 4.707 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.000996/0.001014, allocations: 0.5007 MB / 376.5 MB, free: 4.203 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.002905, allocations: 1.783 MB / 378.3 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.64e-05/0.002922, allocations: 0 / 378.3 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.738e-05/0.002939, allocations: 0 / 378.3 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.753e-06/0.002946, allocations: 0 / 378.3 MB, free: 2.398 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.0008414/0.003787, allocations: 251.1 kB / 378.5 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.512e-05/0.003832, allocations: 0 / 378.5 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.401e-05/0.003866, allocations: 7.984 kB / 378.5 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.496e-05/0.003891, allocations: 0 / 378.5 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.947e-05/0.003911, allocations: 3.984 kB / 378.5 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.173e-06/0.003918, allocations: 0 / 378.5 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005089/0.004427, allocations: 446.9 kB / 379 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.628e-06/0.004436, allocations: 7.984 kB / 379 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.839e-05/0.004455, allocations: 4 kB / 379 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.004822, allocations: 347 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.004825, allocations: 0 / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.82e-07/0.004825, allocations: 0 / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.004829, allocations: 0 / 379.3 MB, free: 1.352 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.000297/0.005126, allocations: 421.5 kB / 379.7 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.00516, allocations: 8.031 kB / 379.7 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.005193, allocations: 0.9375 kB / 379.7 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.486e-05/0.005248, allocations: 108.6 kB / 379.8 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.005258, allocations: 384 / 379.8 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.005267, allocations: 4.375 kB / 379.9 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.341e-05/0.00535, allocations: 63.95 kB / 379.9 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.005357, allocations: 192 / 379.9 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.005366, allocations: 384 / 379.9 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.005374, allocations: 3.938 kB / 379.9 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.881e-05/0.005392, allocations: 25.7 kB / 379.9 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.356e-05/0.005476, allocations: 116.6 kB / 380.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.513e-05/0.005521, allocations: 56.84 kB / 380.1 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/0.005541, allocations: 37.38 kB / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-06/0.005546, allocations: 0 / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.005578, allocations: 63.09 kB / 380.2 MB, free: 304 kB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 5.41e-07/0.005579, allocations: 4 kB / 380.2 MB, free: 300 kB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001539/0.005733, allocations: 122.7 kB / 380.3 MB, free: 152 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.005767, allocations: 81.05 kB / 380.4 MB, free: 52 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.891e-05/0.005816, allocations: 142.2 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.005824, allocations: 25.7 kB / 380.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.563e-05/0.00585, allocations: 126.9 kB / 380.7 MB, free: 15.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.005865, allocations: 352 / 380.7 MB, free: 15.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/0.005886, allocations: 19.38 kB / 380.7 MB, free: 15.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.005987, allocations: 492.1 kB / 381.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.919e-05/0.006006, allocations: 37.83 kB / 381.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.097e-05/0.006017, allocations: 25.7 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.285e-05/0.00606, allocations: 67.08 kB / 381.3 MB, free: 15.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.006062, allocations: 0 / 381.3 MB, free: 15.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.931e-05/0.006111, allocations: 93 kB / 381.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.006138, allocations: 29.7 kB / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.006142, allocations: 3.984 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.006158, allocations: 3.938 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.226e-06/0.006161, allocations: 4 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.006167, allocations: 8.031 kB / 381.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.137e-06/0.006176, allocations: 0 / 381.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.006183, allocations: 4 kB / 381.5 MB, free: 14.89 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 6.288e-05/0.006245, allocations: 182.3 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-06/0.00625, allocations: 0 / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.618e-06/0.006259, allocations: 3 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.006261, allocations: 0 / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.006264, allocations: 0 / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.006268, allocations: 7.938 kB / 381.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.244e-05/0.00632, allocations: 108.6 kB / 381.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.006321, allocations: 4 kB / 381.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-07/0.006321, allocations: 0 / 381.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.006322, allocations: 0 / 381.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.006328, allocations: 4 kB / 381.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.006329, allocations: 0 / 381.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.00633, allocations: 0 / 381.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.098e-05/0.006401, allocations: 135.7 kB / 381.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.496e-06/0.006404, allocations: 0 / 381.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.006417, allocations: 4 kB / 381.9 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.959e-06/0.006422, allocations: 4 kB / 381.9 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.126e-05/0.006433, allocations: 0 / 381.9 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-06/0.006435, allocations: 8.016 kB / 381.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.65e-05/0.006461, allocations: 123.1 kB / 382 MB, free: 14.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006461, allocations: 0 / 382 MB, free: 14.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001939/0.006655, allocations: 71.8 kB / 382.1 MB, free: 14.17 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.0003222/0.006977, allocations: 204.3 kB / 382.3 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.341e-05/0.007071, allocations: 122.5 kB / 382.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.007072, allocations: 0 / 382.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.873e-05/0.007101, allocations: 92.73 kB / 382.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.602e-05/0.007187, allocations: 4 kB / 382.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001572/0.007344, allocations: 117.6 kB / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.726e-05/0.007371, allocations: 51.36 kB / 382.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.859e-06/0.007376, allocations: 0 / 382.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.208e-05/0.007388, allocations: 8.5 kB / 382.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.007389, allocations: 128 / 382.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of Templates: time 0.002971/0.01036, allocations: 1.682 MB / 384.4 MB, free: 11.8 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: 3.109004457015544]