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.001721/0.001721, 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.002158/0.002158, allocations: 216.5 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.492/1.492, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2389/0.2389, allocations: 46.89 MB / 361.1 MB, free: 4.625 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.002377/0.002377, allocations: 75.88 kB / 0.4967 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3748, allocations: 65.98 MB / 0.5612 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001874/0.3767, allocations: 497 kB / 0.5616 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003318/0.38, allocations: 1.828 MB / 0.5634 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.274e-05/0.3801, allocations: 0 / 0.5634 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.374e-05/0.3801, allocations: 0 / 0.5634 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.725e-06/0.3801, allocations: 0 / 0.5634 GB, free: 2.664 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.001369/0.3815, allocations: 223.3 kB / 0.5636 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.345e-05/0.3815, allocations: 4 kB / 0.5636 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.153e-05/0.3816, allocations: 7.938 kB / 0.5637 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.12e-05/0.3816, allocations: 3.938 kB / 0.5637 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.307e-05/0.3816, allocations: 3.984 kB / 0.5637 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.763e-06/0.3816, allocations: 0 / 0.5637 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009735/0.3826, allocations: 431.2 kB / 0.5641 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.277e-06/0.3826, allocations: 0 / 0.5641 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.15e-05/0.3826, allocations: 0 / 0.5641 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006511/0.3833, allocations: 302 kB / 0.5644 GB, free: 1.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3833, allocations: 0 / 0.5644 GB, free: 1.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3833, allocations: 0 / 0.5644 GB, free: 1.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.3833, allocations: 7.938 kB / 0.5644 GB, free: 1.703 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.0006339/0.3839, allocations: 388.7 kB / 0.5647 GB, free: 1.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.384, allocations: 12.03 kB / 0.5648 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.384, allocations: 4.875 kB / 0.5648 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.3842, allocations: 168.3 kB / 0.5649 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.3842, allocations: 384 / 0.5649 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.3842, allocations: 384 / 0.5649 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.3843, allocations: 39.03 kB / 0.565 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3843, allocations: 0 / 0.565 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.3843, allocations: 4 kB / 0.565 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3843, allocations: 0 / 0.565 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.423e-05/0.3844, allocations: 4 kB / 0.565 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/0.3846, allocations: 149.7 kB / 0.5651 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.66e-05/0.3846, allocations: 18.52 kB / 0.5651 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.081e-05/0.3846, allocations: 8.953 kB / 0.5651 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.3847, allocations: 0 / 0.5651 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.464e-05/0.3847, allocations: 64.2 kB / 0.5652 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.3847, allocations: 0 / 0.5652 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002392/0.385, allocations: 67.39 kB / 0.5653 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.385, allocations: 77.11 kB / 0.5653 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.789e-05/0.3851, allocations: 93.81 kB / 0.5654 GB, free: 424 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3851, allocations: 29.64 kB / 0.5654 GB, free: 388 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.3852, allocations: 80.14 kB / 0.5655 GB, free: 304 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.3852, allocations: 7.938 kB / 0.5655 GB, free: 296 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.3852, allocations: 13.84 kB / 0.5655 GB, free: 276 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.3854, allocations: 314.8 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.474e-05/0.3854, allocations: 4 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-06/0.3854, allocations: 0 / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.384e-05/0.3855, allocations: 64.25 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3855, allocations: 0 / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.993e-05/0.3856, allocations: 55.41 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.81e-05/0.3857, allocations: 41.64 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3857, allocations: 4.094 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3857, allocations: 0 / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.91e-07/0.3857, allocations: 0 / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.3857, allocations: 7.922 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/0.3857, allocations: 4 kB / 0.566 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.3857, allocations: 0 / 0.566 GB, free: 15.74 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 0.0001221/0.3858, allocations: 131.5 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.3859, allocations: 7.938 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.313e-05/0.3859, allocations: 3.125 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3859, allocations: 4 kB / 0.5662 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3859, allocations: 0 / 0.5662 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3859, allocations: 0 / 0.5662 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.386, allocations: 145.7 kB / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.386, allocations: 3.938 kB / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-06/0.386, allocations: 4 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.386, allocations: 3.938 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.386, allocations: 0 / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.386, allocations: 0 / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3861, allocations: 0 / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.3862, allocations: 102.8 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.3863, allocations: 77.11 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.3863, allocations: 3.938 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.418e-05/0.3863, allocations: 4 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.3864, allocations: 11.94 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.3864, allocations: 0 / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.057e-05/0.3864, allocations: 79.22 kB / 0.5666 GB, free: 15.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3864, allocations: 4.031 kB / 0.5666 GB, free: 15.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004482/0.3868, allocations: 63.8 kB / 0.5666 GB, free: 15 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.0005985/0.3874, allocations: 185.3 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.3876, allocations: 55.41 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3876, allocations: 4.062 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.511e-05/0.3876, allocations: 59.39 kB / 0.5669 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.3878, allocations: 4 kB / 0.5669 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002577/0.388, allocations: 89 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.3885, allocations: 0.669 MB / 0.5677 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.618e-06/0.3885, allocations: 7.922 kB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.686e-05/0.3885, allocations: 11.38 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of SimCode: time 4.7e-07/0.3885, allocations: 0 / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of Templates: time 0.005762/0.3943, allocations: 1.628 MB / 0.5693 GB, free: 12.21 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 -s cvode -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.131308117881417]