Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007124/0.0007124, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001019/0.001732, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001387/0.00246, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9934/0.9934, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09846/1.092, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.241/0.241, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02362/0.2647, allocations: 13.11 MB / 291.5 MB, free: 7.324 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 292.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.693e-05, allocations: 2.969 kB / 292.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.002357/0.002384, allocations: 0.5508 MB / 293.4 MB, free: 5.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002727/0.005111, allocations: 1.788 MB / 295.2 MB, free: 3.855 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.542e-05/0.005127, allocations: 4 kB / 295.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.468e-06/0.005131, allocations: 0 / 295.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.964e-06/0.005133, allocations: 0 / 295.2 MB, free: 3.852 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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.001083/0.006216, allocations: 231 kB / 295.4 MB, free: 3.625 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.477e-05/0.006271, allocations: 8 kB / 295.4 MB, free: 3.617 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.006309, allocations: 7.984 kB / 295.4 MB, free: 3.609 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.746e-05/0.006347, allocations: 3.938 kB / 295.4 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.487e-05/0.006372, allocations: 4 kB / 295.4 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.313e-06/0.006379, allocations: 0 / 295.4 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008995/0.007278, allocations: 451 kB / 295.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.007292, allocations: 0 / 295.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.702e-05/0.007309, allocations: 4 kB / 295.9 MB, free: 3.156 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000548/0.007857, allocations: 279.2 kB / 296.1 MB, free: 2.883 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.896e-06/0.007866, allocations: 0 / 296.1 MB, free: 2.883 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.007867, allocations: 0 / 296.1 MB, free: 2.883 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.007879, allocations: 4 kB / 296.1 MB, free: 2.879 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.0003862/0.008265, allocations: 305.9 kB / 296.4 MB, free: 2.551 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.008301, allocations: 8.031 kB / 296.4 MB, free: 2.543 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.00833, allocations: 4.938 kB / 296.4 MB, free: 2.539 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.212e-05/0.008402, allocations: 113.7 kB / 296.6 MB, free: 2.402 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.008412, allocations: 384 / 296.6 MB, free: 2.402 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.008423, allocations: 4.375 kB / 296.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.00865, allocations: 55.97 kB / 296.6 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.008659, allocations: 192 / 296.6 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.008665, allocations: 384 / 296.6 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.008672, allocations: 11.88 kB / 296.6 MB, free: 2.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.922e-05/0.008691, allocations: 29.7 kB / 296.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.16e-05/0.008762, allocations: 61.03 kB / 296.7 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.279e-05/0.008805, allocations: 44.22 kB / 296.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/0.008825, allocations: 34.66 kB / 296.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-06/0.008828, allocations: 0 / 296.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.008868, allocations: 56.27 kB / 296.8 MB, free: 2.039 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.834e-06/0.00887, allocations: 3.984 kB / 296.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001344/0.009004, allocations: 114.8 kB / 297 MB, free: 1.898 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.175e-05/0.009076, allocations: 162.2 kB / 297.1 MB, free: 1.703 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.315e-05/0.009119, allocations: 93.98 kB / 297.2 MB, free: 1.602 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.00913, allocations: 29.64 kB / 297.2 MB, free: 1.566 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.558e-05/0.009155, allocations: 80.14 kB / 297.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.009179, allocations: 0 / 297.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.009216, allocations: 13.72 kB / 297.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.009316, allocations: 318.8 kB / 297.6 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.569e-05/0.009331, allocations: 25.7 kB / 297.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.609e-05/0.009347, allocations: 29.7 kB / 297.7 MB, free: 1.078 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.818e-05/0.009396, allocations: 64.27 kB / 297.8 MB, free: 1 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.009398, allocations: 0 / 297.8 MB, free: 1 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.24e-05/0.00947, allocations: 89.16 kB / 297.8 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.009506, allocations: 33.7 kB / 297.9 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.009512, allocations: 0 / 297.9 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.009524, allocations: 0 / 297.9 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.864e-06/0.009526, allocations: 3.938 kB / 297.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.009528, allocations: 0 / 297.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.825e-05/0.009547, allocations: 0.6875 kB / 297.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.009553, allocations: 7.938 kB / 297.9 MB, free: 0.8438 MB / 282.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 7.238e-05/0.009626, allocations: 143.5 kB / 298 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-06/0.009634, allocations: 4.031 kB / 298 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.225e-06/0.009642, allocations: 7 kB / 298 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.009644, allocations: 0 / 298 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.009647, allocations: 4 kB / 298 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.00965, allocations: 0 / 298 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.434e-05/0.009715, allocations: 65.84 kB / 298.1 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.009717, allocations: 0 / 298.1 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.82e-07/0.009717, allocations: 3.938 kB / 298.1 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-06/0.009723, allocations: 3.984 kB / 298.1 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.009725, allocations: 0 / 298.1 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.00973, allocations: 4 kB / 298.1 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.009732, allocations: 4 kB / 298.1 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.009733, allocations: 0 / 298.1 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.177e-05/0.009825, allocations: 116.4 kB / 298.2 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.009837, allocations: 0 / 298.2 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.167e-06/0.009846, allocations: 4 kB / 298.2 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.047e-06/0.009855, allocations: 0 / 298.2 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.009859, allocations: 0 / 298.2 MB, free: 440 kB / 282.7 MB Notification: Performance of sorting global known variables: time 8.857e-06/0.009867, allocations: 4.859 kB / 298.3 MB, free: 432 kB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009868, allocations: 0 / 298.3 MB, free: 432 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003278/0.0102, allocations: 67.8 kB / 298.3 MB, free: 364 kB / 282.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.0005568/0.01075, allocations: 214.4 kB / 298.5 MB, free: 160 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001261/0.01088, allocations: 119.7 kB / 298.6 MB, free: 12 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.01088, allocations: 0 / 298.6 MB, free: 12 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.809e-05/0.01095, allocations: 89.91 kB / 298.7 MB, free: 15.9 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.369e-05/0.01101, allocations: 12.12 kB / 298.7 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002368/0.01125, allocations: 109.1 kB / 298.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.916e-05/0.0113, allocations: 55.36 kB / 298.9 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.666e-06/0.01131, allocations: 0 / 298.9 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.844e-05/0.01137, allocations: 55.38 kB / 299 MB, free: 15.62 MB / 298.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01137, allocations: 3.938 kB / 299 MB, free: 15.62 MB / 298.7 MB Notification: Performance of Templates: time 0.00522/0.01659, allocations: 2.049 MB / 301 MB, free: 13.57 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7442416911944747]