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.0007819/0.0007819, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001079/0.001861, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007431/0.0007431, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001026/0.001769, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9788/0.9788, allocations: 177.4 MB / 189.9 MB, free: 4.852 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09432/1.073, allocations: 53.86 MB / 243.7 MB, free: 14.93 MB / 250.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.2837/0.2837, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0246/0.3083, allocations: 13.23 MB / 292.6 MB, free: 6.488 MB / 282.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.483e-06/1.483e-06, allocations: 0 / 293.8 MB, free: 5.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.316e-05, allocations: 6.25 kB / 293.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001683/0.001706, allocations: 0.5384 MB / 294.4 MB, free: 4.684 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002424/0.00413, allocations: 1.792 MB / 296.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.432e-05/0.004144, allocations: 4 kB / 296.2 MB, free: 2.871 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.711e-06/0.00415, allocations: 0 / 296.2 MB, free: 2.871 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.152e-06/0.004151, allocations: 0 / 296.2 MB, free: 2.871 MB / 282.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.001047/0.005198, allocations: 231.1 kB / 296.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.195e-05/0.00529, allocations: 8 kB / 296.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.005338, allocations: 3.938 kB / 296.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.602e-05/0.005384, allocations: 3.938 kB / 296.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.837e-05/0.005412, allocations: 4 kB / 296.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.005422, allocations: 0 / 296.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008973/0.006319, allocations: 447 kB / 296.9 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.00633, allocations: 0 / 296.9 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.605e-05/0.006346, allocations: 0 / 296.9 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005287/0.006874, allocations: 287.2 kB / 297.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.52e-05/0.00689, allocations: 0 / 297.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.006891, allocations: 0 / 297.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.006906, allocations: 4 kB / 297.1 MB, free: 1.902 MB / 282.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.000398/0.007304, allocations: 305.9 kB / 297.4 MB, free: 1.574 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.007341, allocations: 8.922 kB / 297.5 MB, free: 1.566 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.007375, allocations: 4.938 kB / 297.5 MB, free: 1.562 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.5e-05/0.00745, allocations: 109.7 kB / 297.6 MB, free: 1.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.007461, allocations: 384 / 297.6 MB, free: 1.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.007469, allocations: 384 / 297.6 MB, free: 1.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.049e-05/0.007549, allocations: 63.95 kB / 297.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.007556, allocations: 192 / 297.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.141e-06/0.007562, allocations: 384 / 297.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.00757, allocations: 15.86 kB / 297.6 MB, free: 1.34 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.367e-05/0.007593, allocations: 29.7 kB / 297.7 MB, free: 1.305 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.202e-05/0.007675, allocations: 53.05 kB / 297.7 MB, free: 1.238 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.019e-05/0.007745, allocations: 48.25 kB / 297.8 MB, free: 1.176 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.316e-05/0.007769, allocations: 34.62 kB / 297.8 MB, free: 1.133 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-06/0.007772, allocations: 0 / 297.8 MB, free: 1.133 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.007815, allocations: 60.25 kB / 297.9 MB, free: 1.059 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.007816, allocations: 0 / 297.9 MB, free: 1.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001612/0.007977, allocations: 110.8 kB / 298 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.008033, allocations: 81.11 kB / 298.1 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.341e-05/0.008106, allocations: 97.92 kB / 298.2 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.008121, allocations: 33.69 kB / 298.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.069e-05/0.008141, allocations: 80.14 kB / 298.3 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.008161, allocations: 0.6875 kB / 298.3 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.008191, allocations: 9.719 kB / 298.3 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.472e-05/0.008285, allocations: 318.8 kB / 298.6 MB, free: 272 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/0.008304, allocations: 25.7 kB / 298.6 MB, free: 240 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.63e-05/0.008321, allocations: 29.7 kB / 298.6 MB, free: 204 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.659e-05/0.008377, allocations: 72.23 kB / 298.7 MB, free: 116 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.00838, allocations: 64 / 298.7 MB, free: 116 kB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.175e-05/0.008462, allocations: 85.11 kB / 298.8 MB, free: 12 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.011e-05/0.008532, allocations: 33.7 kB / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.008539, allocations: 0 / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.00855, allocations: 3.938 kB / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.42e-06/0.008556, allocations: 0 / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.008563, allocations: 3.984 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.845e-05/0.008581, allocations: 0 / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.008591, allocations: 3.938 kB / 298.8 MB, free: 15.96 MB / 298.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 8.208e-05/0.008673, allocations: 143.5 kB / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-06/0.008681, allocations: 4.031 kB / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.572e-05/0.008747, allocations: 7 kB / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.008749, allocations: 0 / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.00875, allocations: 0 / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.008753, allocations: 0 / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.962e-05/0.008812, allocations: 65.83 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.008814, allocations: 0 / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-06/0.008815, allocations: 7.938 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-06/0.00882, allocations: 0 / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.008822, allocations: 0 / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.008827, allocations: 0 / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.008828, allocations: 4 kB / 299.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.008829, allocations: 0 / 299.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.468e-05/0.008924, allocations: 120.4 kB / 299.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.008936, allocations: 0 / 299.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.642e-05/0.008953, allocations: 0 / 299.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.008967, allocations: 4 kB / 299.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.008971, allocations: 0 / 299.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.125e-06/0.008979, allocations: 4.859 kB / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008979, allocations: 0 / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003146/0.009294, allocations: 67.8 kB / 299.3 MB, free: 15.48 MB / 298.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.0005507/0.009844, allocations: 198.1 kB / 299.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.009967, allocations: 123.7 kB / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.009971, allocations: 0 / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.993e-05/0.01001, allocations: 89.95 kB / 299.7 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.16e-05/0.01007, allocations: 12.06 kB / 299.7 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001921/0.01026, allocations: 113.3 kB / 299.8 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.067e-05/0.0103, allocations: 51.36 kB / 299.8 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.432e-06/0.0103, allocations: 0 / 299.8 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.01034, allocations: 55.36 kB / 299.9 MB, free: 14.75 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01035, allocations: 4 kB / 299.9 MB, free: 14.75 MB / 298.7 MB Notification: Performance of Templates: time 0.004785/0.01513, allocations: 1.886 MB / 301.8 MB, free: 12.87 MB / 298.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 -ignoreHideResult -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: 2.746997259557247]