Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001551/0.001551, allocations: 110.4 kB / 21.23 MB, free: 0.5312 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.001824/0.001824, allocations: 214.8 kB / 24.54 MB, free: 3.922 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.405/1.405, allocations: 230.3 MB / 258 MB, free: 8.234 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2146/0.2146, allocations: 46.89 MB / 361.3 MB, free: 4.449 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002282/0.002282, allocations: 75.88 kB / 0.497 GB, free: 7.613 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2986, allocations: 66.03 MB / 0.5615 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001612/0.3002, allocations: 0.4994 MB / 0.562 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002614/0.3028, allocations: 1.809 MB / 0.5638 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.428e-05/0.3028, allocations: 3.938 kB / 0.5638 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.692e-05/0.3029, allocations: 0 / 0.5638 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.27e-06/0.3029, allocations: 4 kB / 0.5638 GB, free: 2.312 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.001067/0.3039, allocations: 259.2 kB / 0.564 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.681e-05/0.304, allocations: 0 / 0.564 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.304, allocations: 0 / 0.564 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.431e-05/0.304, allocations: 0 / 0.564 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.082e-05/0.3041, allocations: 8 kB / 0.564 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.831e-06/0.3041, allocations: 0 / 0.564 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009187/0.305, allocations: 0.499 MB / 0.5645 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-06/0.305, allocations: 4 kB / 0.5645 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.305, allocations: 0 / 0.5645 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006188/0.3056, allocations: 321.6 kB / 0.5648 GB, free: 1.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.3056, allocations: 0 / 0.5648 GB, free: 1.238 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3056, allocations: 0 / 0.5648 GB, free: 1.238 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.3056, allocations: 0 / 0.5648 GB, free: 1.238 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.0004167/0.3061, allocations: 315.6 kB / 0.5651 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.3061, allocations: 8.031 kB / 0.5651 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.3061, allocations: 4.938 kB / 0.5651 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.529e-05/0.3062, allocations: 106.5 kB / 0.5652 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.3062, allocations: 4.375 kB / 0.5652 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.3062, allocations: 384 / 0.5652 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.425e-05/0.3063, allocations: 35.03 kB / 0.5653 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.3063, allocations: 0 / 0.5653 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.3063, allocations: 0 / 0.5653 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.3063, allocations: 0 / 0.5653 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.862e-05/0.3063, allocations: 7.875 kB / 0.5653 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001264/0.3065, allocations: 124.8 kB / 0.5654 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.641e-05/0.3065, allocations: 18.58 kB / 0.5654 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.694e-05/0.3065, allocations: 8.953 kB / 0.5654 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.727e-06/0.3065, allocations: 0 / 0.5654 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.747e-05/0.3066, allocations: 60.2 kB / 0.5655 GB, free: 436 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.3066, allocations: 0 / 0.5655 GB, free: 436 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001799/0.3068, allocations: 71.33 kB / 0.5656 GB, free: 352 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.3068, allocations: 77.23 kB / 0.5656 GB, free: 256 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.659e-05/0.3069, allocations: 97.81 kB / 0.5657 GB, free: 148 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.3069, allocations: 29.64 kB / 0.5658 GB, free: 112 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.3069, allocations: 84.14 kB / 0.5658 GB, free: 24 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.3069, allocations: 0 / 0.5658 GB, free: 24 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.307, allocations: 13.72 kB / 0.5658 GB, free: 4 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3071, allocations: 314.8 kB / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/0.3071, allocations: 7.984 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.709e-06/0.3071, allocations: 0 / 0.5662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.846e-05/0.3072, allocations: 64.33 kB / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3072, allocations: 0 / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.745e-05/0.3073, allocations: 63.34 kB / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.3073, allocations: 37.62 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.3073, allocations: 0 / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3073, allocations: 0 / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.3073, allocations: 0 / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.3073, allocations: 0 / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.842e-05/0.3073, allocations: 4 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.3073, allocations: 4.031 kB / 0.5663 GB, free: 15.48 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.0001086/0.3074, allocations: 139.5 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.3075, allocations: 7.938 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.104e-05/0.3075, allocations: 3 kB / 0.5665 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.3075, allocations: 0 / 0.5665 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3075, allocations: 0 / 0.5665 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.3075, allocations: 0 / 0.5665 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.314e-05/0.3076, allocations: 116.8 kB / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3076, allocations: 4 kB / 0.5666 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.3076, allocations: 4 kB / 0.5666 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3076, allocations: 7.875 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.3076, allocations: 0 / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.3076, allocations: 0 / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3076, allocations: 0 / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.3077, allocations: 98.75 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-06/0.3077, allocations: 0 / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.3077, allocations: 7.938 kB / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.676e-06/0.3077, allocations: 8.031 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.3077, allocations: 4 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3077, allocations: 3.984 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.18e-05/0.3078, allocations: 75.28 kB / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3078, allocations: 0 / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003473/0.3081, allocations: 59.81 kB / 0.5668 GB, free: 14.86 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.0004641/0.3086, allocations: 192.6 kB / 0.567 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.3087, allocations: 59.39 kB / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3087, allocations: 0 / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.891e-05/0.3087, allocations: 59.34 kB / 0.5671 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001169/0.3089, allocations: 7.938 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001682/0.309, allocations: 85.12 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.3093, allocations: 0.6768 MB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.789e-06/0.3093, allocations: 0 / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.292e-05/0.3093, allocations: 7.438 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3093, allocations: 0 / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of Templates: time 0.004477/0.3138, allocations: 1.628 MB / 0.5695 GB, free: 12.07 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.768881811760366]