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.001853/0.001853, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001843/0.001843, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.902/1.902, allocations: 227.4 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3644/0.3644, allocations: 46.1 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003172/0.003171, allocations: 72.11 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.2, allocations: 62.45 MB / 479.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.003171/0.2033, allocations: 0.541 MB / 480.5 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005034/0.2084, allocations: 1.813 MB / 482.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.895e-05/0.2085, allocations: 0 / 482.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.038e-05/0.2085, allocations: 0 / 482.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.526e-06/0.2086, allocations: 0 / 482.3 MB, free: 3.344 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.001568/0.2102, allocations: 195.5 kB / 482.5 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.217e-05/0.2102, allocations: 4 kB / 482.5 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.674e-05/0.2103, allocations: 4 kB / 482.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.509e-05/0.2103, allocations: 0 / 482.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.867e-05/0.2104, allocations: 3.938 kB / 482.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.2104, allocations: 0 / 482.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.2115, allocations: 399.2 kB / 482.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.2115, allocations: 0 / 482.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.878e-05/0.2116, allocations: 8 kB / 482.9 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005555/0.2121, allocations: 195.7 kB / 483.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.2122, allocations: 0 / 483.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.2122, allocations: 0 / 483.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.2122, allocations: 0 / 483.1 MB, free: 2.551 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.0006406/0.2128, allocations: 393.2 kB / 483.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/0.2129, allocations: 8.875 kB / 483.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.213, allocations: 4.938 kB / 483.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.2132, allocations: 160.4 kB / 483.6 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.2132, allocations: 384 / 483.6 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.2132, allocations: 4.375 kB / 483.6 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.2134, allocations: 38 kB / 483.7 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.2134, allocations: 4 kB / 483.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.2134, allocations: 0 / 483.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.2134, allocations: 0 / 483.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.4e-05/0.2135, allocations: 3.938 kB / 483.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.2137, allocations: 149.7 kB / 483.8 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.023e-05/0.2138, allocations: 14.58 kB / 483.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.2138, allocations: 8.859 kB / 483.8 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.2139, allocations: 96 / 483.8 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.944e-05/0.2139, allocations: 68.19 kB / 483.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.944e-06/0.214, allocations: 0 / 483.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002772/0.2142, allocations: 67.34 kB / 484 MB, free: 1.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/0.2143, allocations: 77.11 kB / 484.1 MB, free: 1.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.697e-05/0.2144, allocations: 89.86 kB / 484.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.2145, allocations: 29.83 kB / 484.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.112e-05/0.2145, allocations: 80.14 kB / 484.3 MB, free: 1.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.2146, allocations: 0 / 484.3 MB, free: 1.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.2146, allocations: 17.7 kB / 484.3 MB, free: 1.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.2148, allocations: 310.8 kB / 484.6 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.2148, allocations: 0 / 484.6 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.372e-05/0.2149, allocations: 11.94 kB / 484.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.921e-05/0.215, allocations: 64.33 kB / 484.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.215, allocations: 3.938 kB / 484.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000121/0.2151, allocations: 63.33 kB / 484.7 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.654e-05/0.2152, allocations: 37.64 kB / 484.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2152, allocations: 0 / 484.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.872e-05/0.2152, allocations: 0 / 484.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.884e-06/0.2153, allocations: 0 / 484.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2153, allocations: 0 / 484.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.369e-05/0.2153, allocations: 0 / 484.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.2153, allocations: 0 / 484.7 MB, free: 0.6055 MB / 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 0.0001655/0.2155, allocations: 143.6 kB / 484.9 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.2155, allocations: 7.922 kB / 484.9 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.681e-05/0.2156, allocations: 7.109 kB / 484.9 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2156, allocations: 4 kB / 484.9 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.2156, allocations: 0 / 484.9 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2156, allocations: 0 / 484.9 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.2158, allocations: 141.7 kB / 485 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2158, allocations: 0 / 485 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-06/0.2158, allocations: 0 / 485 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.2158, allocations: 3.938 kB / 485 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.2159, allocations: 11.98 kB / 485.1 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.2159, allocations: 0 / 485.1 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2159, allocations: 0 / 485.1 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.2161, allocations: 90.78 kB / 485.1 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.285e-05/0.2162, allocations: 85 kB / 485.2 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.2162, allocations: 3.938 kB / 485.2 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.336e-05/0.2163, allocations: 8 kB / 485.2 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.2163, allocations: 4.031 kB / 485.2 MB, free: 0 / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/0.2163, allocations: 4.047 kB / 485.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.93e-05/0.2164, allocations: 75.28 kB / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2164, allocations: 0 / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005227/0.217, allocations: 67.94 kB / 485.4 MB, free: 15.86 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.0007469/0.2177, allocations: 197.2 kB / 485.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.2179, allocations: 55.41 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.2179, allocations: 0 / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.681e-05/0.2179, allocations: 59.34 kB / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.2181, allocations: 288 / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002318/0.2183, allocations: 108.5 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.2186, allocations: 0.6692 MB / 486.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.118e-05/0.2186, allocations: 15.56 kB / 486.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2186, allocations: 0 / 486.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of Templates: time 0.004107/0.2227, allocations: 1.506 MB / 488 MB, free: 13.17 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches