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.001439/0.001439, allocations: 86.56 kB / 20.68 MB, free: 1.035 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.001572/0.001572, allocations: 159 kB / 23.95 MB, free: 4.168 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.456/1.456, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.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.2365/0.2365, allocations: 34.26 MB / 294.8 MB, free: 14.54 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 1.593e-06/1.593e-06, allocations: 0 / 442.6 MB, free: 5.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/2.966e-05, allocations: 4.812 kB / 442.6 MB, free: 5.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001392/0.001422, allocations: 0.4932 MB / 443.1 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.00427, allocations: 1.736 MB / 444.9 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.474e-05/0.004284, allocations: 0 / 444.9 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.243e-05/0.004297, allocations: 0 / 444.9 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.35e-06/0.004302, allocations: 0 / 444.9 MB, free: 3.09 MB / 366.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.001042/0.005344, allocations: 259 kB / 445.1 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.8e-05/0.005392, allocations: 4 kB / 445.1 MB, free: 2.832 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.005427, allocations: 0 / 445.1 MB, free: 2.832 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.403e-05/0.005451, allocations: 0 / 445.1 MB, free: 2.832 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.554e-05/0.005466, allocations: 0 / 445.1 MB, free: 2.832 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.572e-06/0.005473, allocations: 0 / 445.1 MB, free: 2.832 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008154/0.006288, allocations: 454.9 kB / 445.6 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.392e-06/0.006295, allocations: 0 / 445.6 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.774e-05/0.006312, allocations: 4 kB / 445.6 MB, free: 2.383 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006684/0.006981, allocations: 343.2 kB / 445.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.006984, allocations: 0 / 445.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.006984, allocations: 0 / 445.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.006988, allocations: 0 / 445.9 MB, free: 2.047 MB / 366.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.000429/0.007417, allocations: 319.5 kB / 446.2 MB, free: 1.699 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.007453, allocations: 8.031 kB / 446.2 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.00748, allocations: 4.875 kB / 446.2 MB, free: 1.688 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.416e-05/0.007575, allocations: 109.8 kB / 446.3 MB, free: 1.555 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.007588, allocations: 4.375 kB / 446.3 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.007599, allocations: 384 / 446.3 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.727e-05/0.007696, allocations: 59.97 kB / 446.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.007703, allocations: 192 / 446.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.007711, allocations: 384 / 446.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.007717, allocations: 3.938 kB / 446.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.092e-05/0.007747, allocations: 25.7 kB / 446.4 MB, free: 1.445 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001189/0.007866, allocations: 101.3 kB / 446.5 MB, free: 1.316 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.491e-05/0.007931, allocations: 48.22 kB / 446.6 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.326e-05/0.007964, allocations: 34.66 kB / 446.6 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.007972, allocations: 0 / 446.6 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/0.008026, allocations: 60.2 kB / 446.7 MB, free: 1.137 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.008027, allocations: 4 kB / 446.7 MB, free: 1.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.000195/0.008222, allocations: 118.8 kB / 446.8 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.008286, allocations: 85.05 kB / 446.9 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.206e-05/0.008338, allocations: 93.8 kB / 447 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.008353, allocations: 25.7 kB / 447 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/0.008395, allocations: 80.14 kB / 447.1 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.008412, allocations: 3.953 kB / 447.1 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.008442, allocations: 13.72 kB / 447.1 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.00865, allocations: 314.8 kB / 447.4 MB, free: 344 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.522e-05/0.008676, allocations: 33.62 kB / 447.4 MB, free: 304 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.131e-05/0.008697, allocations: 33.83 kB / 447.5 MB, free: 264 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.385e-05/0.008761, allocations: 60.27 kB / 447.5 MB, free: 188 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.008764, allocations: 4 kB / 447.5 MB, free: 184 kB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.16e-05/0.008856, allocations: 93.09 kB / 447.6 MB, free: 72 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.008887, allocations: 32.05 kB / 447.6 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.008892, allocations: 3.984 kB / 447.6 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.008903, allocations: 0 / 447.6 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.008904, allocations: 3.938 kB / 447.6 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.008909, allocations: 3.938 kB / 447.6 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.554e-05/0.008925, allocations: 8.094 kB / 447.7 MB, free: 16 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.00893, allocations: 0 / 447.7 MB, free: 16 kB / 366.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.1793/0.1883, allocations: 131.5 kB / 447.8 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.1883, allocations: 1.031 kB / 447.8 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.1883, allocations: 4.594 kB / 447.8 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1883, allocations: 0 / 447.8 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1883, allocations: 0.875 kB / 447.8 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1884, allocations: 4.453 kB / 447.8 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.685e-05/0.1884, allocations: 96.2 kB / 447.9 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1884, allocations: 0.75 kB / 447.9 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-06/0.1884, allocations: 2.25 kB / 447.9 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.1884, allocations: 1.5 kB / 447.9 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.1885, allocations: 1 kB / 447.9 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.1885, allocations: 0 / 447.9 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1885, allocations: 1.156 kB / 447.9 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.1887, allocations: 121.3 kB / 448 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.325e-06/0.1887, allocations: 10.16 kB / 448 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.1887, allocations: 1.734 kB / 448 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.969e-05/0.1887, allocations: 0 / 448 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/0.1887, allocations: 2.359 kB / 448 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.1887, allocations: 2.594 kB / 448 MB, free: 18.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.592e-05/0.1887, allocations: 79.03 kB / 448.1 MB, free: 18.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1887, allocations: 3.344 kB / 448.1 MB, free: 18.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000574/0.1893, allocations: 64.86 kB / 448.2 MB, free: 18.71 MB / 366.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.0006402/0.19, allocations: 205.7 kB / 448.4 MB, free: 18.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.1901, allocations: 113.7 kB / 448.5 MB, free: 18.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1901, allocations: 3.281 kB / 448.5 MB, free: 18.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.198e-05/0.1901, allocations: 81.91 kB / 448.6 MB, free: 18.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.1904, allocations: 6.281 kB / 448.6 MB, free: 18.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00023/0.1906, allocations: 105.4 kB / 448.7 MB, free: 18.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.008e-05/0.1906, allocations: 58.89 kB / 448.7 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.594e-06/0.1906, allocations: 0.9688 kB / 448.7 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.341e-05/0.1906, allocations: 8.5 kB / 448.7 MB, free: 18.2 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1906, allocations: 1.125 kB / 448.7 MB, free: 18.2 MB / 366.1 MB Notification: Performance of Templates: time 0.006703/0.1974, allocations: 1.646 MB / 450.4 MB, free: 18.13 MB / 366.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.1.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.860753692686558]