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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001018/0.001018, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001175/0.001175, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.22/0.22, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 72.88 kB / 417.6 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.138, allocations: 62.45 MB / 480 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001774/0.1398, allocations: 486.7 kB / 480.5 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.1423, allocations: 1.801 MB / 482.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.061e-05/0.1423, allocations: 0 / 482.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.231e-05/0.1423, allocations: 0 / 482.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.869e-06/0.1423, allocations: 0 / 482.3 MB, free: 2.996 MB / 350.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.0009723/0.1433, allocations: 223.3 kB / 482.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.753e-05/0.1434, allocations: 8 kB / 482.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.693e-05/0.1435, allocations: 3.938 kB / 482.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.511e-05/0.1435, allocations: 0 / 482.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.069e-05/0.1435, allocations: 7.922 kB / 482.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.1435, allocations: 4 kB / 482.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005928/0.1441, allocations: 399.2 kB / 482.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.118e-06/0.1441, allocations: 3.984 kB / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.1442, allocations: 0 / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.1446, allocations: 299.5 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1446, allocations: 0 / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.1446, allocations: 4 kB / 483.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1446, allocations: 0 / 483.2 MB, free: 2.062 MB / 350.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.000412/0.1451, allocations: 389.2 kB / 483.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1451, allocations: 8.031 kB / 483.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.1451, allocations: 4.938 kB / 483.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.418e-05/0.1452, allocations: 160.4 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.1453, allocations: 384 / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.1453, allocations: 8.312 kB / 483.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.854e-05/0.1454, allocations: 30.02 kB / 483.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1454, allocations: 0 / 483.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1454, allocations: 0 / 483.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.1454, allocations: 0 / 483.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.473e-05/0.1455, allocations: 7.938 kB / 483.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.1456, allocations: 153.7 kB / 484 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.675e-05/0.1456, allocations: 18.61 kB / 484 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.1457, allocations: 12.78 kB / 484 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.1457, allocations: 0 / 484 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.1457, allocations: 60.2 kB / 484 MB, free: 1.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.1457, allocations: 0 / 484 MB, free: 1.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001754/0.1459, allocations: 71.56 kB / 484.1 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.146, allocations: 81.11 kB / 484.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.894e-05/0.146, allocations: 93.86 kB / 484.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.146, allocations: 25.7 kB / 484.3 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.156e-05/0.1461, allocations: 80.14 kB / 484.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.1461, allocations: 0 / 484.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.1461, allocations: 9.719 kB / 484.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.553e-05/0.1462, allocations: 326.8 kB / 484.7 MB, free: 324 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.026e-05/0.1462, allocations: 3.938 kB / 484.7 MB, free: 320 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-06/0.1462, allocations: 4 kB / 484.7 MB, free: 316 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.485e-05/0.1463, allocations: 60.27 kB / 484.8 MB, free: 240 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1463, allocations: 0 / 484.8 MB, free: 240 kB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.758e-05/0.1464, allocations: 59.41 kB / 484.8 MB, free: 168 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.1464, allocations: 41.62 kB / 484.9 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1464, allocations: 0 / 484.9 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1464, allocations: 0 / 484.9 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.1465, allocations: 0 / 484.9 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1465, allocations: 8.094 kB / 484.9 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.56e-05/0.1465, allocations: 0 / 484.9 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-06/0.1465, allocations: 0 / 484.9 MB, free: 112 kB / 350.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 9.546e-05/0.1466, allocations: 139.5 kB / 485 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.217e-06/0.1466, allocations: 3.938 kB / 485 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.596e-06/0.1466, allocations: 3.125 kB / 485 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.91e-07/0.1466, allocations: 0 / 485 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1466, allocations: 0 / 485 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1466, allocations: 3.984 kB / 485 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.163e-05/0.1467, allocations: 149.7 kB / 485.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.1467, allocations: 0 / 485.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.1468, allocations: 0 / 485.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1468, allocations: 3.938 kB / 485.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1468, allocations: 4 kB / 485.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.1468, allocations: 0 / 485.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1468, allocations: 0 / 485.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.996e-05/0.1469, allocations: 94.83 kB / 485.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.1469, allocations: 85.05 kB / 485.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.1469, allocations: 7.875 kB / 485.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-06/0.147, allocations: 4 kB / 485.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/0.147, allocations: 7.984 kB / 485.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.147, allocations: 0 / 485.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.102e-05/0.147, allocations: 79.22 kB / 485.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.147, allocations: 0 / 485.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003017/0.1473, allocations: 56 kB / 485.5 MB, free: 15.38 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.0004133/0.1478, allocations: 199.2 kB / 485.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.735e-05/0.1479, allocations: 63.39 kB / 485.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1479, allocations: 0 / 485.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.449e-05/0.1479, allocations: 51.41 kB / 485.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.148, allocations: 4.281 kB / 485.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001709/0.1482, allocations: 89.05 kB / 485.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.1484, allocations: 0.669 MB / 486.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.951e-06/0.1484, allocations: 0 / 486.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.107e-06/0.1484, allocations: 7.438 kB / 486.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1484, allocations: 4 kB / 486.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of Templates: time 0.00413/0.1526, allocations: 1.627 MB / 488.2 MB, free: 12.59 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.makefile (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) 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) Reference file matches