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.001197/0.001197, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.005388/0.005388, allocations: 158.6 kB / 24.7 MB, free: 8.891 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 0.8747/0.8747, allocations: 177.1 MB / 205 MB, free: 5.73 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.2434/0.2434, allocations: 34.26 MB / 295.7 MB, free: 0.6914 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 1.623e-06/1.623e-06, allocations: 0 / 443.4 MB, free: 1.191 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/2.99e-05, allocations: 6.281 kB / 443.4 MB, free: 1.184 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001256/0.001286, allocations: 497 kB / 443.9 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1949/0.1962, allocations: 1.728 MB / 445.6 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.979e-05/0.1962, allocations: 0 / 445.6 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.083e-05/0.1962, allocations: 0.5625 kB / 445.6 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.705e-06/0.1962, allocations: 0 / 445.6 MB, free: 43.55 MB / 410.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.0008158/0.197, allocations: 259 kB / 445.9 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.764e-05/0.1971, allocations: 2.938 kB / 445.9 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.1971, allocations: 0 / 445.9 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.636e-05/0.1972, allocations: 5.5 kB / 445.9 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.668e-05/0.1972, allocations: 0 / 445.9 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.061e-06/0.1972, allocations: 0 / 445.9 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004126/0.1976, allocations: 450.1 kB / 446.3 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.755e-06/0.1976, allocations: 0 / 446.3 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.706e-05/0.1976, allocations: 0 / 446.3 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.1979, allocations: 348.7 kB / 446.7 MB, free: 43.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1979, allocations: 0 / 446.7 MB, free: 43.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1979, allocations: 0 / 446.7 MB, free: 43.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.1979, allocations: 0 / 446.7 MB, free: 43.28 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.0002579/0.1982, allocations: 320.9 kB / 447 MB, free: 42.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1982, allocations: 8.844 kB / 447 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.1983, allocations: 0.9375 kB / 447 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.448e-05/0.1983, allocations: 112.2 kB / 447.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.1983, allocations: 384 / 447.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.1983, allocations: 384 / 447.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.476e-05/0.1984, allocations: 58.56 kB / 447.2 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.1984, allocations: 6.594 kB / 447.2 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.1984, allocations: 384 / 447.2 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.1984, allocations: 5.109 kB / 447.2 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.873e-05/0.1984, allocations: 32.02 kB / 447.2 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.777e-05/0.1985, allocations: 104.1 kB / 447.3 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.498e-05/0.1985, allocations: 40.28 kB / 447.3 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.305e-05/0.1986, allocations: 33.75 kB / 447.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.1986, allocations: 0 / 447.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.1986, allocations: 62.81 kB / 447.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 5.11e-07/0.1986, allocations: 0.6562 kB / 447.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001519/0.1987, allocations: 120.3 kB / 447.6 MB, free: 42.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.1988, allocations: 84.47 kB / 447.6 MB, free: 42.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.569e-05/0.1988, allocations: 93.64 kB / 447.7 MB, free: 42.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.679e-06/0.1988, allocations: 25.7 kB / 447.8 MB, free: 42.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.424e-06/0.1988, allocations: 80.14 kB / 447.8 MB, free: 41.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.1988, allocations: 6.422 kB / 447.8 MB, free: 41.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.941e-05/0.1988, allocations: 13.72 kB / 447.9 MB, free: 41.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.781e-05/0.1989, allocations: 314.1 kB / 448.2 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.868e-06/0.1989, allocations: 25.7 kB / 448.2 MB, free: 41.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.045e-06/0.1989, allocations: 28.7 kB / 448.2 MB, free: 41.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.615e-05/0.1989, allocations: 62.27 kB / 448.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1989, allocations: 4.188 kB / 448.3 MB, free: 41.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.418e-05/0.1989, allocations: 91.89 kB / 448.4 MB, free: 41.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.199, allocations: 36.03 kB / 448.4 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.199, allocations: 0 / 448.4 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.199, allocations: 0 / 448.4 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.199, allocations: 2.688 kB / 448.4 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.199, allocations: 3.938 kB / 448.4 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.282e-05/0.199, allocations: 3.375 kB / 448.4 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.199, allocations: 3.938 kB / 448.4 MB, free: 41.38 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.737e-05/0.199, allocations: 134.4 kB / 448.5 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.017e-06/0.199, allocations: 7.094 kB / 448.6 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.025e-05/0.1991, allocations: 6.188 kB / 448.6 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1991, allocations: 0 / 448.6 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1991, allocations: 0 / 448.6 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1991, allocations: 3.938 kB / 448.6 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 2.94e-05/0.1991, allocations: 100.1 kB / 448.7 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.81e-07/0.1991, allocations: 1.594 kB / 448.7 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.1991, allocations: 1.438 kB / 448.7 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.61e-07/0.1991, allocations: 0 / 448.7 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.1991, allocations: 6.047 kB / 448.7 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.2e-07/0.1991, allocations: 4 kB / 448.7 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1991, allocations: 0 / 448.7 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.694e-05/0.1991, allocations: 123.3 kB / 448.8 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-06/0.1991, allocations: 0 / 448.8 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.085e-06/0.1992, allocations: 3 kB / 448.8 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.879e-06/0.1992, allocations: 0 / 448.8 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.139e-05/0.1992, allocations: 0 / 448.8 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.1992, allocations: 7.016 kB / 448.8 MB, free: 40.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.857e-06/0.1992, allocations: 79.22 kB / 448.9 MB, free: 40.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1992, allocations: 0 / 448.9 MB, free: 40.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001806/0.1994, allocations: 64.91 kB / 448.9 MB, free: 40.87 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.0003212/0.1997, allocations: 202.9 kB / 449.1 MB, free: 40.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.203e-05/0.1998, allocations: 120.1 kB / 449.3 MB, free: 40.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1998, allocations: 0 / 449.3 MB, free: 40.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.443e-05/0.1998, allocations: 84.05 kB / 449.3 MB, free: 40.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.977e-05/0.1999, allocations: 9.781 kB / 449.4 MB, free: 40.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001568/0.2, allocations: 135.3 kB / 449.5 MB, free: 40.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.27e-05/0.2001, allocations: 54.05 kB / 449.5 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.906e-06/0.2001, allocations: 8.5 kB / 449.5 MB, free: 40.29 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2001, allocations: 0 / 449.5 MB, free: 40.29 MB / 410.7 MB Notification: Performance of Templates: time 0.002196/0.2023, allocations: 1.514 MB / 451.1 MB, free: 40.18 MB / 410.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.325529079884291]