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.001091/0.001091, allocations: 83.67 kB / 21.7 MB, free: 2.852 MB / 18.57 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.001064/0.001064, allocations: 160.2 kB / 24.99 MB, free: 9.289 MB / 18.57 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.058/1.058, allocations: 177 MB / 205.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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.2792/0.2792, allocations: 34.86 MB / 296.6 MB, free: 0.5781 MB / 266.7 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 1.493e-06/1.493e-06, allocations: 0 / 378.7 MB, free: 2.457 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.725e-05, allocations: 2.875 kB / 378.7 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.00165/0.001678, allocations: 0.5117 MB / 379.2 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00234/0.004018, allocations: 1.779 MB / 381 MB, free: 144 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.127e-05/0.004049, allocations: 0 / 381 MB, free: 144 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.137e-05/0.004071, allocations: 0 / 381 MB, free: 144 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.116e-06/0.004079, allocations: 0 / 381 MB, free: 144 kB / 346.7 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.001029/0.005108, allocations: 255 kB / 381.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.904e-05/0.005167, allocations: 7.984 kB / 381.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.005208, allocations: 4 kB / 381.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.748e-05/0.005236, allocations: 0 / 381.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.809e-05/0.005254, allocations: 0 / 381.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.965e-06/0.005262, allocations: 0 / 381.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005385/0.0058, allocations: 447 kB / 381.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.614e-06/0.005808, allocations: 0 / 381.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.005831, allocations: 3.984 kB / 381.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003879/0.006219, allocations: 351 kB / 382.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.006223, allocations: 0 / 382.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.006225, allocations: 0 / 382.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.00623, allocations: 0 / 382.1 MB, free: 15.09 MB / 362.7 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.0003754/0.006606, allocations: 417.5 kB / 382.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.006646, allocations: 12.03 kB / 382.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/0.006692, allocations: 0.9375 kB / 382.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.577e-05/0.006758, allocations: 104.6 kB / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.006771, allocations: 4.375 kB / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.00678, allocations: 384 / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.587e-05/0.006875, allocations: 59.97 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.006883, allocations: 8.125 kB / 382.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.006891, allocations: 384 / 382.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.0069, allocations: 3.938 kB / 382.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.991e-05/0.00692, allocations: 29.69 kB / 382.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.037e-05/0.00701, allocations: 108.6 kB / 382.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.433e-05/0.007055, allocations: 48.77 kB / 382.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.226e-05/0.007077, allocations: 41.48 kB / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.341e-06/0.007082, allocations: 0 / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.007118, allocations: 59.09 kB / 382.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.913e-06/0.00712, allocations: 3.984 kB / 382.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.000172/0.007292, allocations: 130.7 kB / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.007329, allocations: 81.05 kB / 383.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.351e-05/0.007372, allocations: 142.2 kB / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.238e-06/0.007382, allocations: 25.7 kB / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.588e-05/0.007408, allocations: 126.9 kB / 383.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.007422, allocations: 352 / 383.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.007448, allocations: 27.36 kB / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.007551, allocations: 492.1 kB / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.007571, allocations: 25.7 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.223e-05/0.007583, allocations: 29.83 kB / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.323e-05/0.007637, allocations: 71.09 kB / 384.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.007639, allocations: 3.938 kB / 384.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.044e-05/0.0077, allocations: 97.05 kB / 384.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.007725, allocations: 29.7 kB / 384.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.00773, allocations: 0 / 384.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.007743, allocations: 0 / 384.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.007744, allocations: 0 / 384.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.007751, allocations: 7.938 kB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.294e-05/0.007764, allocations: 0 / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.007771, allocations: 4.031 kB / 384.2 MB, free: 12.64 MB / 362.7 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 6.908e-05/0.00784, allocations: 186.3 kB / 384.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-06/0.007844, allocations: 0 / 384.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.165e-06/0.007852, allocations: 3 kB / 384.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.007854, allocations: 0 / 384.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.007856, allocations: 0 / 384.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.007859, allocations: 3.938 kB / 384.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.642e-05/0.007916, allocations: 112.6 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.007916, allocations: 0 / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-07/0.007917, allocations: 3.938 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.007919, allocations: 3.984 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.007926, allocations: 8 kB / 384.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.007927, allocations: 4 kB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.007928, allocations: 0 / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.03e-05/0.008008, allocations: 127.8 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.028e-06/0.008012, allocations: 0 / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.008026, allocations: 0 / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.362e-06/0.008032, allocations: 8 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.113e-05/0.008043, allocations: 0 / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-06/0.008044, allocations: 0 / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.828e-05/0.008073, allocations: 123.1 kB / 384.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008073, allocations: 4.031 kB / 384.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002175/0.00829, allocations: 63.8 kB / 384.8 MB, free: 11.92 MB / 362.7 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.0003809/0.008671, allocations: 200.4 kB / 385 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.658e-05/0.008768, allocations: 122.4 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.008769, allocations: 4.062 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.885e-05/0.008798, allocations: 92.78 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.011e-05/0.008888, allocations: 4 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001761/0.009064, allocations: 109.7 kB / 385.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.972e-05/0.009094, allocations: 55.34 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.881e-06/0.0091, allocations: 4 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.224e-05/0.009112, allocations: 8.5 kB / 385.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.009113, allocations: 0 / 385.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of Templates: time 0.003276/0.01239, allocations: 1.681 MB / 387.1 MB, free: 9.539 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.182579861022532]