Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.005388/0.005388, allocations: 106.8 kB / 21.98 MB, free: 5.223 MB / 14.72 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.00184/0.00184, allocations: 216.6 kB / 25.29 MB, free: 3.203 MB / 14.72 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 1.435/1.435, allocations: 230.5 MB / 258.9 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2292/0.2292, allocations: 46.92 MB / 362.3 MB, free: 4.195 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-beta.om/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_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002336/0.002336, allocations: 75.88 kB / 0.4982 GB, free: 7.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3321, allocations: 66.08 MB / 0.5627 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001678/0.3338, allocations: 0.4931 MB / 0.5632 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002687/0.3364, allocations: 1.82 MB / 0.565 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.306e-05/0.3365, allocations: 0 / 0.565 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.368e-05/0.3365, allocations: 0 / 0.565 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.33e-06/0.3365, allocations: 0 / 0.565 GB, free: 1.918 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.001073/0.3376, allocations: 251.2 kB / 0.5652 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.766e-05/0.3376, allocations: 11.94 kB / 0.5652 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.3377, allocations: 3.984 kB / 0.5652 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.598e-05/0.3377, allocations: 3.984 kB / 0.5652 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.781e-05/0.3377, allocations: 7.938 kB / 0.5652 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.84e-06/0.3377, allocations: 4 kB / 0.5652 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008357/0.3385, allocations: 0.4951 MB / 0.5657 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.964e-06/0.3385, allocations: 0 / 0.5657 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.868e-05/0.3386, allocations: 3.984 kB / 0.5657 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004726/0.339, allocations: 317.7 kB / 0.566 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.339, allocations: 0 / 0.566 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3391, allocations: 4 kB / 0.566 GB, free: 0.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3391, allocations: 0 / 0.566 GB, free: 0.832 MB / 398.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.0004081/0.3395, allocations: 311.6 kB / 0.5663 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.3395, allocations: 8.031 kB / 0.5663 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.3395, allocations: 0.9375 kB / 0.5663 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.435e-05/0.3396, allocations: 110.5 kB / 0.5664 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.3396, allocations: 4.312 kB / 0.5664 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-06/0.3396, allocations: 384 / 0.5664 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.861e-05/0.3397, allocations: 35.03 kB / 0.5665 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.3398, allocations: 4 kB / 0.5665 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.3398, allocations: 0 / 0.5665 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3398, allocations: 0 / 0.5665 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.584e-05/0.3398, allocations: 0 / 0.5665 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001383/0.3399, allocations: 124.8 kB / 0.5666 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.38e-05/0.34, allocations: 18.52 kB / 0.5666 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.601e-05/0.34, allocations: 8.953 kB / 0.5666 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-06/0.34, allocations: 0 / 0.5666 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.772e-05/0.34, allocations: 64.2 kB / 0.5667 GB, free: 24 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.34, allocations: 0 / 0.5667 GB, free: 24 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002123/0.3403, allocations: 71.33 kB / 0.5668 GB, free: 15.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.3403, allocations: 77.11 kB / 0.5668 GB, free: 15.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.853e-05/0.3404, allocations: 93.81 kB / 0.5669 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.3404, allocations: 29.64 kB / 0.5669 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.191e-05/0.3404, allocations: 80.14 kB / 0.567 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.3404, allocations: 8.125 kB / 0.567 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.3405, allocations: 13.72 kB / 0.567 GB, free: 15.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3406, allocations: 318.8 kB / 0.5673 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.229e-05/0.3406, allocations: 4 kB / 0.5674 GB, free: 15.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.41e-06/0.3406, allocations: 0 / 0.5674 GB, free: 15.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.391e-05/0.3407, allocations: 64.25 kB / 0.5674 GB, free: 15.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3407, allocations: 0 / 0.5674 GB, free: 15.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.191e-05/0.3407, allocations: 59.5 kB / 0.5675 GB, free: 15.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.3408, allocations: 41.64 kB / 0.5675 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3408, allocations: 0 / 0.5675 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3408, allocations: 0 / 0.5675 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.3408, allocations: 0 / 0.5675 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3408, allocations: 3.984 kB / 0.5675 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.52e-05/0.3408, allocations: 0 / 0.5675 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.3408, allocations: 7.938 kB / 0.5675 GB, free: 15.07 MB / 414.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 9.275e-05/0.3409, allocations: 136.4 kB / 0.5677 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.3409, allocations: 3.938 kB / 0.5677 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.055e-05/0.3409, allocations: 11 kB / 0.5677 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.3409, allocations: 0 / 0.5677 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3409, allocations: 0 / 0.5677 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.341, allocations: 0 / 0.5677 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.592e-05/0.341, allocations: 116.8 kB / 0.5678 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.341, allocations: 0 / 0.5678 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.341, allocations: 4 kB / 0.5678 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3411, allocations: 3.938 kB / 0.5678 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.3411, allocations: 0 / 0.5678 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.3411, allocations: 0 / 0.5678 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3411, allocations: 0 / 0.5678 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.3412, allocations: 94.83 kB / 0.5679 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.317e-06/0.3412, allocations: 0 / 0.5679 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.3412, allocations: 3.938 kB / 0.5679 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.002e-05/0.3412, allocations: 7.938 kB / 0.5679 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.3412, allocations: 7.938 kB / 0.5679 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.3412, allocations: 0 / 0.5679 GB, free: 14.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.248e-05/0.3412, allocations: 75.31 kB / 0.568 GB, free: 14.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3412, allocations: 4 kB / 0.568 GB, free: 14.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002894/0.3415, allocations: 63.8 kB / 0.568 GB, free: 14.46 MB / 414.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.000446/0.342, allocations: 193.3 kB / 0.5682 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.3421, allocations: 59.41 kB / 0.5683 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3421, allocations: 0 / 0.5683 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.145e-05/0.3421, allocations: 59.39 kB / 0.5683 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.3422, allocations: 4 kB / 0.5683 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002107/0.3425, allocations: 106.7 kB / 0.5684 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.3427, allocations: 0.6729 MB / 0.5691 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.161e-05/0.3428, allocations: 7.438 kB / 0.5691 GB, free: 13.28 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3428, allocations: 0 / 0.5691 GB, free: 13.28 MB / 414.1 MB Notification: Performance of Templates: time 0.00359/0.3464, allocations: 1.514 MB / 0.5706 GB, free: 11.77 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 8.186487284023315]