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.00169/0.00169, allocations: 83.92 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001819/0.001819, allocations: 164 kB / 23.95 MB, free: 4.152 MB / 14.72 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.452/1.452, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.218/0.218, allocations: 34.28 MB / 295 MB, free: 14.57 MB / 286.1 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.373e-06/1.373e-06, allocations: 0 / 442.7 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.609e-05, allocations: 2.281 kB / 442.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.00143/0.001456, allocations: 0.4972 MB / 443.2 MB, free: 4.918 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002664/0.00412, allocations: 1.736 MB / 444.9 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.37e-05/0.004133, allocations: 0 / 444.9 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.155e-05/0.004145, allocations: 0 / 444.9 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.892e-06/0.004151, allocations: 0 / 444.9 MB, free: 3.16 MB / 366.1 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.001043/0.005194, allocations: 251 kB / 445.1 MB, free: 2.914 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.417e-05/0.005238, allocations: 0 / 445.1 MB, free: 2.914 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.005276, allocations: 11.98 kB / 445.1 MB, free: 2.902 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.108e-05/0.005298, allocations: 0 / 445.1 MB, free: 2.902 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.618e-05/0.005314, allocations: 0 / 445.1 MB, free: 2.902 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.251e-06/0.00532, allocations: 3.938 kB / 445.1 MB, free: 2.898 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008078/0.006128, allocations: 450.9 kB / 445.6 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.223e-06/0.006135, allocations: 0 / 445.6 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.474e-05/0.00615, allocations: 0 / 445.6 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005524/0.006702, allocations: 351.1 kB / 445.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.006705, allocations: 0 / 445.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.006705, allocations: 0 / 445.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.006709, allocations: 4 kB / 445.9 MB, free: 2.109 MB / 366.1 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.0004353/0.007145, allocations: 315.6 kB / 446.2 MB, free: 1.766 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.00718, allocations: 12.03 kB / 446.3 MB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.007209, allocations: 0.9375 kB / 446.3 MB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.071e-05/0.0073, allocations: 101.8 kB / 446.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.007314, allocations: 384 / 446.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.007329, allocations: 4.375 kB / 446.4 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.007432, allocations: 51.97 kB / 446.4 MB, free: 1.562 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.007441, allocations: 192 / 446.4 MB, free: 1.562 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.007448, allocations: 4.312 kB / 446.4 MB, free: 1.559 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.007457, allocations: 11.92 kB / 446.4 MB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.059e-05/0.007487, allocations: 33.64 kB / 446.5 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001182/0.007606, allocations: 97.27 kB / 446.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.269e-05/0.007678, allocations: 48.31 kB / 446.6 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.805e-05/0.007706, allocations: 30.56 kB / 446.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.007722, allocations: 4.062 kB / 446.6 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.007771, allocations: 56.27 kB / 446.7 MB, free: 1.207 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.007772, allocations: 0 / 446.7 MB, free: 1.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002053/0.007977, allocations: 122.7 kB / 446.8 MB, free: 1.062 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.008032, allocations: 81.05 kB / 446.9 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.942e-05/0.008082, allocations: 93.98 kB / 447 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.008105, allocations: 29.7 kB / 447 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.008143, allocations: 80.14 kB / 447.1 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.00816, allocations: 7.938 kB / 447.1 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.008188, allocations: 13.72 kB / 447.1 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.008333, allocations: 310.8 kB / 447.4 MB, free: 416 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.531e-05/0.008358, allocations: 29.7 kB / 447.4 MB, free: 380 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.729e-05/0.008386, allocations: 25.7 kB / 447.5 MB, free: 348 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.559e-05/0.008441, allocations: 60.27 kB / 447.5 MB, free: 272 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.008443, allocations: 0 / 447.5 MB, free: 272 kB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.59e-05/0.008538, allocations: 101.1 kB / 447.6 MB, free: 152 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.008581, allocations: 33.7 kB / 447.7 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.008585, allocations: 0 / 447.7 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.008598, allocations: 0 / 447.7 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.008599, allocations: 0 / 447.7 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.008605, allocations: 3.938 kB / 447.7 MB, free: 108 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.418e-05/0.008619, allocations: 0 / 447.7 MB, free: 108 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.008626, allocations: 3.984 kB / 447.7 MB, free: 104 kB / 366.1 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 0.1831/0.1917, allocations: 139.5 kB / 447.8 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.1918, allocations: 0 / 447.8 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.729e-05/0.1918, allocations: 7.938 kB / 447.8 MB, free: 19.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1918, allocations: 0.8438 kB / 447.8 MB, free: 19.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.1918, allocations: 0.7812 kB / 447.8 MB, free: 19.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1918, allocations: 3.75 kB / 447.8 MB, free: 19.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.616e-05/0.1919, allocations: 95.02 kB / 447.9 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1919, allocations: 0.8438 kB / 447.9 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-06/0.1919, allocations: 0.6094 kB / 447.9 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1919, allocations: 2.641 kB / 447.9 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.1919, allocations: 0.5625 kB / 447.9 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1919, allocations: 3.547 kB / 447.9 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1919, allocations: 2.562 kB / 447.9 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.192, allocations: 124.3 kB / 448 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-06/0.1921, allocations: 1.859 kB / 448 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.1921, allocations: 0.9688 kB / 448 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.602e-05/0.1921, allocations: 5.578 kB / 448 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.1921, allocations: 1.625 kB / 448 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.1921, allocations: 5.375 kB / 448.1 MB, free: 18.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.951e-05/0.1921, allocations: 78.97 kB / 448.1 MB, free: 18.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 3e-08/0.1921, allocations: 0 / 448.1 MB, free: 18.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004779/0.1926, allocations: 68.08 kB / 448.2 MB, free: 18.78 MB / 366.1 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.0005537/0.1932, allocations: 199.5 kB / 448.4 MB, free: 18.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001333/0.1933, allocations: 110.3 kB / 448.5 MB, free: 18.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/0.1933, allocations: 1.188 kB / 448.5 MB, free: 18.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.439e-05/0.1933, allocations: 83.98 kB / 448.6 MB, free: 18.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.1935, allocations: 1.906 kB / 448.6 MB, free: 18.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002269/0.1937, allocations: 110.6 kB / 448.7 MB, free: 18.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.567e-05/0.1938, allocations: 54.17 kB / 448.7 MB, free: 18.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.764e-06/0.1938, allocations: 8.406 kB / 448.8 MB, free: 18.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.211e-05/0.1938, allocations: 9.656 kB / 448.8 MB, free: 18.27 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1938, allocations: 0 / 448.8 MB, free: 18.27 MB / 366.1 MB Notification: Performance of Templates: time 0.00571/0.1995, allocations: 1.65 MB / 450.4 MB, free: 18.2 MB / 366.1 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: 4.788046054542065]