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.00149/0.00149, allocations: 74.33 kB / 21.24 MB, free: 0.5469 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.001603/0.001603, allocations: 159 kB / 24.49 MB, free: 3.723 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.559/1.559, allocations: 177.2 MB / 204.9 MB, free: 9.023 MB / 190.1 MB " [Timeout remaining time 178] 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.2047/0.2047, allocations: 32.81 MB / 294.1 MB, free: 24 kB / 270.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 63.91 kB / 440.5 MB, free: 9.453 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3088, allocations: 65.44 MB / 0.4941 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001516/0.3103, allocations: 497 kB / 0.4946 GB, free: 31.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.3123, allocations: 1.731 MB / 0.4963 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.563e-05/0.3123, allocations: 0 / 0.4963 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.3123, allocations: 0 / 0.4963 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.514e-06/0.3123, allocations: 0 / 0.4963 GB, free: 29.88 MB / 446.1 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.0009491/0.3133, allocations: 258.8 kB / 0.4965 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.42e-05/0.3133, allocations: 3.984 kB / 0.4965 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.3134, allocations: 0 / 0.4965 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.487e-05/0.3134, allocations: 7.031 kB / 0.4966 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.658e-05/0.3134, allocations: 0 / 0.4966 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.021e-06/0.3134, allocations: 3.938 kB / 0.4966 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006557/0.3141, allocations: 447.2 kB / 0.497 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.494e-06/0.3141, allocations: 0 / 0.497 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.632e-05/0.3141, allocations: 0 / 0.497 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.3145, allocations: 305.9 kB / 0.4973 GB, free: 29.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3145, allocations: 4 kB / 0.4973 GB, free: 29.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3145, allocations: 0 / 0.4973 GB, free: 29.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.3145, allocations: 0 / 0.4973 GB, free: 29.58 MB / 446.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.0002682/0.3147, allocations: 314.6 kB / 0.4976 GB, free: 29.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.3148, allocations: 9.656 kB / 0.4976 GB, free: 29.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.571e-05/0.3148, allocations: 0.9375 kB / 0.4976 GB, free: 29.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.538e-05/0.3148, allocations: 105.8 kB / 0.4977 GB, free: 29.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.733e-06/0.3148, allocations: 384 / 0.4977 GB, free: 29.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.3149, allocations: 4.375 kB / 0.4977 GB, free: 29.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.403e-05/0.3149, allocations: 66.31 kB / 0.4978 GB, free: 29.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.315, allocations: 0 / 0.4978 GB, free: 29.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.315, allocations: 4 kB / 0.4978 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.315, allocations: 3.125 kB / 0.4978 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.36e-05/0.315, allocations: 29.64 kB / 0.4978 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.302e-05/0.3151, allocations: 96.55 kB / 0.4979 GB, free: 28.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.329e-05/0.3151, allocations: 55.77 kB / 0.4979 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.527e-05/0.3151, allocations: 33.78 kB / 0.498 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.839e-06/0.3151, allocations: 0 / 0.498 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.3152, allocations: 59.45 kB / 0.498 GB, free: 28.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.3152, allocations: 0 / 0.498 GB, free: 28.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001597/0.3153, allocations: 128.6 kB / 0.4981 GB, free: 28.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.3154, allocations: 80.36 kB / 0.4982 GB, free: 28.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.069e-05/0.3154, allocations: 93.81 kB / 0.4983 GB, free: 28.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.801e-06/0.3154, allocations: 25.7 kB / 0.4983 GB, free: 28.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.598e-06/0.3154, allocations: 80.14 kB / 0.4984 GB, free: 28.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.3154, allocations: 0 / 0.4984 GB, free: 28.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/0.3154, allocations: 17 kB / 0.4984 GB, free: 28.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.102e-05/0.3155, allocations: 314.3 kB / 0.4987 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.315e-05/0.3155, allocations: 28.98 kB / 0.4988 GB, free: 27.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.949e-06/0.3155, allocations: 33.7 kB / 0.4988 GB, free: 27.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.199e-05/0.3155, allocations: 67.55 kB / 0.4989 GB, free: 27.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3155, allocations: 3.938 kB / 0.4989 GB, free: 27.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.461e-05/0.3156, allocations: 89.97 kB / 0.4989 GB, free: 27.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.3156, allocations: 31.95 kB / 0.499 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.3156, allocations: 0 / 0.499 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3156, allocations: 3.938 kB / 0.499 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.3156, allocations: 0 / 0.499 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.3156, allocations: 0 / 0.499 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.566e-05/0.3156, allocations: 4 kB / 0.499 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.3156, allocations: 3.125 kB / 0.499 GB, free: 27.66 MB / 446.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 4.482e-05/0.3157, allocations: 139 kB / 0.4991 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-06/0.3157, allocations: 3.031 kB / 0.4991 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.238e-06/0.3157, allocations: 6.938 kB / 0.4991 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.3157, allocations: 0 / 0.4991 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3157, allocations: 0 / 0.4991 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3157, allocations: 0 / 0.4991 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.75e-05/0.3158, allocations: 99.89 kB / 0.4992 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3158, allocations: 0 / 0.4992 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.3158, allocations: 0 / 0.4992 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.3158, allocations: 0 / 0.4992 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.3158, allocations: 3.125 kB / 0.4992 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3158, allocations: 7.938 kB / 0.4992 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3158, allocations: 3.938 kB / 0.4992 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.888e-05/0.3158, allocations: 116.6 kB / 0.4993 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-06/0.3158, allocations: 0 / 0.4993 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.3159, allocations: 0 / 0.4993 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.012e-05/0.3159, allocations: 7.125 kB / 0.4994 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.013e-05/0.3159, allocations: 7.938 kB / 0.4994 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.3159, allocations: 0 / 0.4994 GB, free: 27.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.137e-05/0.3159, allocations: 78.84 kB / 0.4994 GB, free: 27.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3159, allocations: 0 / 0.4994 GB, free: 27.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002767/0.3162, allocations: 64.69 kB / 0.4995 GB, free: 27.14 MB / 446.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.000376/0.3165, allocations: 197.2 kB / 0.4997 GB, free: 27.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.283e-05/0.3166, allocations: 110 kB / 0.4998 GB, free: 26.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3166, allocations: 3.312 kB / 0.4998 GB, free: 26.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.17e-05/0.3166, allocations: 87.91 kB / 0.4999 GB, free: 26.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.3168, allocations: 4 kB / 0.4999 GB, free: 26.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001345/0.3169, allocations: 110.6 kB / 0.5 GB, free: 26.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.218e-05/0.3169, allocations: 54.83 kB / 0.5 GB, free: 26.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.51e-06/0.3169, allocations: 7.375 kB / 0.5 GB, free: 26.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.568e-06/0.3169, allocations: 8.5 kB / 0.5001 GB, free: 26.57 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3169, allocations: 0 / 0.5001 GB, free: 26.57 MB / 446.1 MB Notification: Performance of Templates: time 0.003998/0.3209, allocations: 1.645 MB / 0.5017 GB, free: 26.42 MB / 446.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.896905472967774]