Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008883/0.0008883, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.005211/0.005211, allocations: 157.2 kB / 24.7 MB, free: 9.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8739/0.8739, allocations: 177 MB / 204.9 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2469/0.2469, allocations: 34.24 MB / 295.6 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 443.4 MB, free: 1.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.429e-05/1.55e-05, allocations: 2.281 kB / 443.4 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001052/0.001067, allocations: 489 kB / 443.9 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1713/0.1724, allocations: 1.733 MB / 445.6 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.249e-05/0.1724, allocations: 0 / 445.6 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.1724, allocations: 3 kB / 445.6 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.883e-06/0.1724, allocations: 3 kB / 445.6 MB, free: 43.51 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0008584/0.1733, allocations: 253.3 kB / 445.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.447e-05/0.1733, allocations: 4 kB / 445.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.063e-05/0.1734, allocations: 2.906 kB / 445.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.705e-05/0.1734, allocations: 0 / 445.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.893e-05/0.1734, allocations: 0 / 445.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.144e-06/0.1734, allocations: 7.531 kB / 445.9 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004442/0.1739, allocations: 447.6 kB / 446.3 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.115e-06/0.1739, allocations: 2.938 kB / 446.3 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.1739, allocations: 2.062 kB / 446.3 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.1742, allocations: 339.3 kB / 446.7 MB, free: 43.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1742, allocations: 0 / 446.7 MB, free: 43.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.1742, allocations: 3.156 kB / 446.7 MB, free: 43.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1742, allocations: 3.281 kB / 446.7 MB, free: 43.23 MB / 410.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.0002654/0.1745, allocations: 313.2 kB / 447 MB, free: 42.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1745, allocations: 9.219 kB / 447 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.1746, allocations: 7.344 kB / 447 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.131e-05/0.1746, allocations: 109.8 kB / 447.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1746, allocations: 384 / 447.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.1746, allocations: 5.156 kB / 447.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.375e-05/0.1747, allocations: 54.75 kB / 447.1 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1747, allocations: 3.062 kB / 447.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.1747, allocations: 384 / 447.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1747, allocations: 3.938 kB / 447.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.837e-05/0.1747, allocations: 30.42 kB / 447.2 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.145e-05/0.1748, allocations: 98.89 kB / 447.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.622e-05/0.1748, allocations: 43.34 kB / 447.3 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.43e-05/0.1749, allocations: 39.19 kB / 447.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.615e-06/0.1749, allocations: 7.344 kB / 447.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.1749, allocations: 59.64 kB / 447.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.1749, allocations: 0 / 447.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001468/0.175, allocations: 111.8 kB / 447.5 MB, free: 42.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.1751, allocations: 88.14 kB / 447.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.553e-05/0.1751, allocations: 89.86 kB / 447.7 MB, free: 42.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.408e-06/0.1751, allocations: 28.42 kB / 447.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.661e-06/0.1751, allocations: 83.7 kB / 447.8 MB, free: 41.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.1751, allocations: 3.266 kB / 447.8 MB, free: 41.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.087e-05/0.1751, allocations: 12.41 kB / 447.8 MB, free: 41.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.71e-05/0.1752, allocations: 310.8 kB / 448.1 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.382e-05/0.1752, allocations: 32.42 kB / 448.2 MB, free: 41.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-06/0.1752, allocations: 33.03 kB / 448.2 MB, free: 41.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.777e-05/0.1752, allocations: 61.61 kB / 448.3 MB, free: 41.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1752, allocations: 1.781 kB / 448.3 MB, free: 41.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.583e-05/0.1752, allocations: 90.95 kB / 448.4 MB, free: 41.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.1753, allocations: 31.08 kB / 448.4 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1753, allocations: 0 / 448.4 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1753, allocations: 2.656 kB / 448.4 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.1753, allocations: 5.25 kB / 448.4 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1753, allocations: 6.516 kB / 448.4 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.26e-05/0.1753, allocations: 0 / 448.4 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1753, allocations: 4 kB / 448.4 MB, free: 41.34 MB / 410.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 3.615e-05/0.1753, allocations: 139.9 kB / 448.5 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-06/0.1754, allocations: 6.234 kB / 448.5 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.869e-06/0.1754, allocations: 7.031 kB / 448.6 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.1754, allocations: 0 / 448.6 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1754, allocations: 0 / 448.6 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1754, allocations: 3.938 kB / 448.6 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.197e-05/0.1754, allocations: 100.1 kB / 448.7 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.1754, allocations: 0 / 448.7 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1754, allocations: 0 / 448.7 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.1754, allocations: 2.688 kB / 448.7 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.1754, allocations: 10.12 kB / 448.7 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.1754, allocations: 0 / 448.7 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1754, allocations: 0 / 448.7 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.697e-05/0.1755, allocations: 123.3 kB / 448.8 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-06/0.1755, allocations: 2.906 kB / 448.8 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.1755, allocations: 3.125 kB / 448.8 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.07e-06/0.1755, allocations: 0 / 448.8 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.08e-05/0.1755, allocations: 0 / 448.8 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.1755, allocations: 2.938 kB / 448.8 MB, free: 40.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.596e-06/0.1755, allocations: 83.16 kB / 448.9 MB, free: 40.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1755, allocations: 0 / 448.9 MB, free: 40.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002043/0.1757, allocations: 68.78 kB / 448.9 MB, free: 40.81 MB / 410.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.0003386/0.176, allocations: 202.4 kB / 449.1 MB, free: 40.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.9e-05/0.1761, allocations: 112 kB / 449.2 MB, free: 40.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1761, allocations: 0 / 449.2 MB, free: 40.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.254e-05/0.1761, allocations: 80.08 kB / 449.3 MB, free: 40.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001026/0.1762, allocations: 3.906 kB / 449.3 MB, free: 40.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001493/0.1764, allocations: 133.5 kB / 449.5 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.385e-05/0.1764, allocations: 54.05 kB / 449.5 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.106e-05/0.1764, allocations: 11.34 kB / 449.5 MB, free: 40.24 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1764, allocations: 0 / 449.5 MB, free: 40.24 MB / 410.7 MB Notification: Performance of Templates: time 0.002321/0.1788, allocations: 1.521 MB / 451 MB, free: 40.13 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.340656050480902]