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.001467/0.001467, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001193/0.001193, allocations: 165 kB / 24.99 MB, free: 8.758 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.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.2597/0.2597, allocations: 32.81 MB / 294.6 MB, free: 1.285 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: 5.035 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.637e-05, allocations: 6.25 kB / 376 MB, free: 5.027 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.0009702/0.0009866, allocations: 0.5047 MB / 376.5 MB, free: 4.52 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.002868, allocations: 1.771 MB / 378.3 MB, free: 2.727 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.039e-05/0.002888, allocations: 4 kB / 378.3 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.002904, allocations: 0 / 378.3 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.041e-06/0.00291, allocations: 0 / 378.3 MB, free: 2.723 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.0007428/0.003653, allocations: 247.1 kB / 378.5 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.5e-05/0.003698, allocations: 4 kB / 378.5 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.414e-05/0.003732, allocations: 11.97 kB / 378.5 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.416e-05/0.003756, allocations: 4 kB / 378.5 MB, free: 2.461 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.524e-05/0.003771, allocations: 0 / 378.5 MB, free: 2.461 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.003783, allocations: 0 / 378.5 MB, free: 2.461 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004817/0.004264, allocations: 450.9 kB / 379 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.605e-06/0.004272, allocations: 0 / 379 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.846e-05/0.00429, allocations: 7.984 kB / 379 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003426/0.004633, allocations: 343.1 kB / 379.3 MB, free: 1.676 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.004635, allocations: 3.938 kB / 379.3 MB, free: 1.672 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.004636, allocations: 0 / 379.3 MB, free: 1.672 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.00464, allocations: 0 / 379.3 MB, free: 1.672 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.0003229/0.004962, allocations: 417.6 kB / 379.7 MB, free: 1.223 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.005, allocations: 8.031 kB / 379.7 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.005035, allocations: 4.938 kB / 379.7 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.807e-05/0.005093, allocations: 104.6 kB / 379.8 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.005104, allocations: 384 / 379.8 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-06/0.005112, allocations: 4.375 kB / 379.8 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.95e-05/0.005192, allocations: 55.95 kB / 379.9 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-06/0.005198, allocations: 192 / 379.9 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.005205, allocations: 384 / 379.9 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.005212, allocations: 3.938 kB / 379.9 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.749e-05/0.00523, allocations: 37.7 kB / 379.9 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.84e-05/0.005308, allocations: 108.6 kB / 380 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.766e-05/0.005346, allocations: 52.8 kB / 380.1 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.991e-05/0.005366, allocations: 37.38 kB / 380.1 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.308e-06/0.00537, allocations: 4.062 kB / 380.1 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.005401, allocations: 59.09 kB / 380.2 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.005402, allocations: 3.938 kB / 380.2 MB, free: 0.625 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.000149/0.005551, allocations: 122.7 kB / 380.3 MB, free: 492 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.005585, allocations: 81.05 kB / 380.4 MB, free: 392 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.741e-05/0.005623, allocations: 146.4 kB / 380.5 MB, free: 232 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.627e-06/0.005631, allocations: 29.7 kB / 380.6 MB, free: 196 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.423e-05/0.005656, allocations: 126.9 kB / 380.7 MB, free: 64 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.00567, allocations: 352 / 380.7 MB, free: 64 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.005695, allocations: 23.38 kB / 380.7 MB, free: 32 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.005805, allocations: 492.1 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/0.005823, allocations: 25.7 kB / 381.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.222e-05/0.005835, allocations: 29.7 kB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.285e-05/0.005878, allocations: 63.08 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.005879, allocations: 0 / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.375e-05/0.005933, allocations: 101.1 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.005956, allocations: 33.7 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.005961, allocations: 0 / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.005972, allocations: 3.984 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.005973, allocations: 0 / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.005979, allocations: 3.938 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.897e-06/0.005988, allocations: 0 / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.005993, allocations: 4 kB / 381.4 MB, free: 15.23 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 5.998e-05/0.006053, allocations: 178.3 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-06/0.00606, allocations: 7.984 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.013e-06/0.006067, allocations: 7.031 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.006068, allocations: 0 / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.006071, allocations: 0 / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.006076, allocations: 7.938 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.832e-05/0.006124, allocations: 116.6 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.006125, allocations: 0 / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.006126, allocations: 0 / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.006127, allocations: 0 / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.006132, allocations: 0 / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.006133, allocations: 0 / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.006134, allocations: 0 / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.364e-05/0.006207, allocations: 143.7 kB / 381.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-06/0.006211, allocations: 0 / 381.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.006224, allocations: 3.938 kB / 381.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.459e-06/0.006228, allocations: 0 / 381.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.357e-05/0.006242, allocations: 8 kB / 381.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-06/0.006243, allocations: 0 / 381.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.525e-05/0.006268, allocations: 123.1 kB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006268, allocations: 0 / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001971/0.006466, allocations: 63.8 kB / 382.1 MB, free: 14.5 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.0003265/0.006792, allocations: 200.1 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.629e-05/0.006888, allocations: 122.5 kB / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.00689, allocations: 0 / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.884e-05/0.006919, allocations: 92.73 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.7e-05/0.007006, allocations: 0 / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001673/0.007173, allocations: 125.7 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.785e-05/0.007201, allocations: 51.36 kB / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.002e-06/0.007207, allocations: 0 / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.105e-05/0.007218, allocations: 12.5 kB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.007218, allocations: 0 / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of Templates: time 0.003032/0.01025, allocations: 1.687 MB / 384.4 MB, free: 12.12 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.0657580830156803]