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.001458/0.001458, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001745/0.001745, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.517/1.517, allocations: 230.2 MB / 257.8 MB, free: 8.492 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.2314/0.2314, allocations: 46.89 MB / 361.1 MB, free: 4.645 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.003243/0.003243, allocations: 75.88 kB / 0.4967 GB, free: 8.398 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3255, allocations: 65.97 MB / 0.5612 GB, free: 34.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.00144/0.3269, allocations: 0.4884 MB / 0.5616 GB, free: 34.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.3287, allocations: 1.817 MB / 0.5634 GB, free: 32.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.524e-05/0.3287, allocations: 0 / 0.5634 GB, free: 32.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.744e-05/0.3288, allocations: 0 / 0.5634 GB, free: 32.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.272e-06/0.3288, allocations: 0 / 0.5634 GB, free: 32.93 MB / 446.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.0008625/0.3296, allocations: 231.1 kB / 0.5636 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.594e-05/0.3297, allocations: 6.922 kB / 0.5636 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.3297, allocations: 3.188 kB / 0.5636 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.903e-05/0.3297, allocations: 6.938 kB / 0.5636 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.9e-05/0.3298, allocations: 0.9688 kB / 0.5637 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.442e-06/0.3298, allocations: 0 / 0.5637 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005304/0.3303, allocations: 427 kB / 0.5641 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.732e-06/0.3303, allocations: 3.031 kB / 0.5641 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.649e-05/0.3303, allocations: 0 / 0.5641 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.3307, allocations: 307.4 kB / 0.5644 GB, free: 32.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.3307, allocations: 6.594 kB / 0.5644 GB, free: 32.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3307, allocations: 3.938 kB / 0.5644 GB, free: 32.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3307, allocations: 0 / 0.5644 GB, free: 32.62 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.0002828/0.331, allocations: 394.9 kB / 0.5647 GB, free: 32.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.331, allocations: 10.19 kB / 0.5647 GB, free: 32.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.531e-05/0.331, allocations: 0.9375 kB / 0.5648 GB, free: 32.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.579e-05/0.3311, allocations: 163.4 kB / 0.5649 GB, free: 32.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.3311, allocations: 1.219 kB / 0.5649 GB, free: 32.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.3311, allocations: 384 / 0.5649 GB, free: 32.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.869e-05/0.3312, allocations: 34.56 kB / 0.5649 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.3312, allocations: 2 kB / 0.5649 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-06/0.3312, allocations: 3.562 kB / 0.5649 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3312, allocations: 0 / 0.5649 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.587e-05/0.3312, allocations: 3.062 kB / 0.5649 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.127e-05/0.3313, allocations: 152.1 kB / 0.5651 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.62e-05/0.3313, allocations: 21.58 kB / 0.5651 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.158e-05/0.3313, allocations: 4.859 kB / 0.5651 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.3313, allocations: 0 / 0.5651 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.3314, allocations: 67.3 kB / 0.5652 GB, free: 31.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.3314, allocations: 0.75 kB / 0.5652 GB, free: 31.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001393/0.3315, allocations: 67.25 kB / 0.5652 GB, free: 31.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.3315, allocations: 77.11 kB / 0.5653 GB, free: 31.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.65e-05/0.3315, allocations: 96.42 kB / 0.5654 GB, free: 31.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.172e-06/0.3316, allocations: 25.7 kB / 0.5654 GB, free: 31.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.235e-06/0.3316, allocations: 85.27 kB / 0.5655 GB, free: 31.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.3316, allocations: 0 / 0.5655 GB, free: 31.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.3316, allocations: 13.38 kB / 0.5655 GB, free: 31.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.883e-05/0.3316, allocations: 315.6 kB / 0.5658 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.717e-06/0.3316, allocations: 0 / 0.5658 GB, free: 30.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-06/0.3317, allocations: 4.625 kB / 0.5658 GB, free: 30.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.392e-05/0.3317, allocations: 59.45 kB / 0.5659 GB, free: 30.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3317, allocations: 3.734 kB / 0.5659 GB, free: 30.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.83e-05/0.3317, allocations: 65.19 kB / 0.566 GB, free: 30.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.3318, allocations: 39.3 kB / 0.566 GB, free: 30.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3318, allocations: 0 / 0.566 GB, free: 30.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.3318, allocations: 0 / 0.566 GB, free: 30.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.243e-06/0.3318, allocations: 3.375 kB / 0.566 GB, free: 30.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.3318, allocations: 0 / 0.566 GB, free: 30.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.382e-05/0.3318, allocations: 1.312 kB / 0.566 GB, free: 30.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.3318, allocations: 0 / 0.566 GB, free: 30.78 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.142e-05/0.3318, allocations: 137.5 kB / 0.5661 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.3318, allocations: 6.938 kB / 0.5661 GB, free: 30.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.833e-06/0.3319, allocations: 7.062 kB / 0.5661 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.3319, allocations: 0 / 0.5661 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.3319, allocations: 0 / 0.5661 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.3319, allocations: 0 / 0.5661 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.285e-05/0.3319, allocations: 148 kB / 0.5663 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.3319, allocations: 2.906 kB / 0.5663 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.3319, allocations: 0 / 0.5663 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3319, allocations: 3.938 kB / 0.5663 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.3319, allocations: 3.984 kB / 0.5663 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3319, allocations: 7 kB / 0.5663 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3319, allocations: 3.562 kB / 0.5663 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.107e-05/0.332, allocations: 98.58 kB / 0.5664 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.332, allocations: 80.44 kB / 0.5665 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.332, allocations: 7.031 kB / 0.5665 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-06/0.332, allocations: 0 / 0.5665 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.332, allocations: 4 kB / 0.5665 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.332, allocations: 6.969 kB / 0.5665 GB, free: 30.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.169e-05/0.332, allocations: 75.28 kB / 0.5666 GB, free: 30.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.332, allocations: 3.938 kB / 0.5666 GB, free: 30.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002926/0.3323, allocations: 63.67 kB / 0.5666 GB, free: 30.12 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.0003581/0.3327, allocations: 187 kB / 0.5668 GB, free: 30.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.093e-05/0.3328, allocations: 59.77 kB / 0.5669 GB, free: 29.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3328, allocations: 0 / 0.5669 GB, free: 29.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.739e-05/0.3328, allocations: 55.72 kB / 0.5669 GB, free: 29.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.3329, allocations: 11 kB / 0.5669 GB, free: 29.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001333/0.333, allocations: 92.73 kB / 0.567 GB, free: 29.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.86e-05/0.3331, allocations: 0.6702 MB / 0.5677 GB, free: 29.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.12e-06/0.3331, allocations: 0 / 0.5677 GB, free: 29.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.117e-06/0.3331, allocations: 7.562 kB / 0.5677 GB, free: 29.07 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3331, allocations: 7 kB / 0.5677 GB, free: 29.07 MB / 446.1 MB Notification: Performance of Templates: time 0.004145/0.3373, allocations: 1.623 MB / 0.5693 GB, free: 28.93 MB / 446.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 -s gbode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 5.1236033430323005]