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.001727/0.001727, allocations: 106.1 kB / 19.8 MB, free: 2.5 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.002209/0.002209, allocations: 219.8 kB / 23 MB, free: 5.574 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.486/1.486, allocations: 230.2 MB / 256.2 MB, free: 8.523 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.2503/0.2503, allocations: 46.92 MB / 359.4 MB, free: 4.855 MB / 286.1 MB " [Timeout remaining time 179] 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.002339/0.002339, allocations: 76.11 kB / 0.4946 GB, free: 8.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3753, allocations: 65.99 MB / 0.5591 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001834/0.3772, allocations: 0.496 MB / 0.5595 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002839/0.38, allocations: 1.82 MB / 0.5613 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.595e-05/0.38, allocations: 0 / 0.5613 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.188e-05/0.38, allocations: 0 / 0.5613 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.262e-06/0.38, allocations: 0 / 0.5613 GB, free: 2.867 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.0009497/0.381, allocations: 222.6 kB / 0.5615 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.629e-05/0.381, allocations: 8 kB / 0.5615 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.3811, allocations: 11.92 kB / 0.5616 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.252e-05/0.3811, allocations: 3.984 kB / 0.5616 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.462e-05/0.3811, allocations: 3.938 kB / 0.5616 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.081e-06/0.3811, allocations: 0 / 0.5616 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007745/0.3819, allocations: 431.2 kB / 0.562 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.536e-06/0.3819, allocations: 0 / 0.562 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.764e-05/0.3819, allocations: 0 / 0.562 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004621/0.3824, allocations: 302 kB / 0.5623 GB, free: 1.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3824, allocations: 3.938 kB / 0.5623 GB, free: 1.906 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3824, allocations: 0 / 0.5623 GB, free: 1.906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3824, allocations: 4 kB / 0.5623 GB, free: 1.902 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.0005396/0.3829, allocations: 388.7 kB / 0.5626 GB, free: 1.469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.383, allocations: 12.03 kB / 0.5626 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.383, allocations: 0.9375 kB / 0.5626 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.3832, allocations: 164.4 kB / 0.5628 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3832, allocations: 4.312 kB / 0.5628 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.3832, allocations: 384 / 0.5628 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.3833, allocations: 35.03 kB / 0.5628 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.3833, allocations: 4 kB / 0.5628 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.3833, allocations: 0 / 0.5628 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.3833, allocations: 0 / 0.5628 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.62e-05/0.3833, allocations: 0 / 0.5628 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.3835, allocations: 149.7 kB / 0.563 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.997e-05/0.3836, allocations: 22.52 kB / 0.563 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.588e-05/0.3836, allocations: 4.859 kB / 0.563 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.3836, allocations: 4.094 kB / 0.563 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.717e-05/0.3837, allocations: 64.2 kB / 0.5631 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3837, allocations: 0 / 0.5631 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001811/0.3838, allocations: 63.39 kB / 0.5631 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.3839, allocations: 85.05 kB / 0.5632 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.806e-05/0.384, allocations: 97.75 kB / 0.5633 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.384, allocations: 25.7 kB / 0.5633 GB, free: 0.582 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.304e-05/0.384, allocations: 80.14 kB / 0.5634 GB, free: 0.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.384, allocations: 0 / 0.5634 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.3841, allocations: 17.84 kB / 0.5634 GB, free: 488 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3842, allocations: 314.8 kB / 0.5637 GB, free: 164 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.3842, allocations: 0 / 0.5637 GB, free: 164 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.039e-05/0.3842, allocations: 8 kB / 0.5637 GB, free: 156 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.325e-05/0.3843, allocations: 68.25 kB / 0.5638 GB, free: 72 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3843, allocations: 0 / 0.5638 GB, free: 72 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.076e-05/0.3843, allocations: 55.41 kB / 0.5639 GB, free: 4 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.605e-05/0.3844, allocations: 41.73 kB / 0.5639 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3844, allocations: 0 / 0.5639 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.3844, allocations: 0 / 0.5639 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.3844, allocations: 0 / 0.5639 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.3844, allocations: 0 / 0.5639 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.534e-05/0.3844, allocations: 0 / 0.5639 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.3844, allocations: 11.92 kB / 0.5639 GB, free: 15.95 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 8.644e-05/0.3845, allocations: 131.5 kB / 0.564 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.3845, allocations: 7.938 kB / 0.564 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.418e-06/0.3846, allocations: 7.125 kB / 0.564 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3846, allocations: 4 kB / 0.5641 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3846, allocations: 0 / 0.5641 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.3846, allocations: 0 / 0.5641 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.3847, allocations: 145.7 kB / 0.5642 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.3847, allocations: 0 / 0.5642 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.3847, allocations: 0 / 0.5642 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.3847, allocations: 7.922 kB / 0.5642 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.3847, allocations: 4 kB / 0.5642 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.3847, allocations: 0 / 0.5642 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3847, allocations: 0 / 0.5642 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.3848, allocations: 98.83 kB / 0.5643 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.3848, allocations: 77.11 kB / 0.5644 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.3849, allocations: 3.938 kB / 0.5644 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-06/0.3849, allocations: 0 / 0.5644 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.502e-05/0.3849, allocations: 7.875 kB / 0.5644 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.3849, allocations: 4 kB / 0.5644 GB, free: 15.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.134e-05/0.3849, allocations: 75.28 kB / 0.5645 GB, free: 15.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3849, allocations: 4.031 kB / 0.5645 GB, free: 15.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002945/0.3852, allocations: 67.8 kB / 0.5645 GB, free: 15.21 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.00057/0.3858, allocations: 187.7 kB / 0.5647 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.3859, allocations: 59.41 kB / 0.5648 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3859, allocations: 4.062 kB / 0.5648 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.033e-05/0.3859, allocations: 59.39 kB / 0.5648 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.3861, allocations: 2.5 kB / 0.5648 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002175/0.3863, allocations: 85 kB / 0.5649 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.3866, allocations: 0.669 MB / 0.5656 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.145e-06/0.3867, allocations: 4 kB / 0.5656 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.255e-05/0.3867, allocations: 7.438 kB / 0.5656 GB, free: 14.05 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3867, allocations: 3.938 kB / 0.5656 GB, free: 14.05 MB / 414.1 MB Notification: Performance of Templates: time 0.005063/0.3917, allocations: 1.637 MB / 0.5672 GB, free: 12.41 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: 5.274579657241702]