Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007658/0.007658, allocations: 100.2 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 192.2 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.1 MB / 222.6 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4093/0.4093, allocations: 43.5 MB / 313.5 MB, free: 8.266 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 74.55 kB / 382 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1724, allocations: 57.79 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.002023/0.1745, allocations: 0.5542 MB / 440.4 MB, free: 14.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006634/0.1811, allocations: 5.136 MB / 445.5 MB, free: 8.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.404e-05/0.1812, allocations: 0 / 445.5 MB, free: 8.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.804e-05/0.1812, allocations: 0 / 445.5 MB, free: 8.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.582e-06/0.1813, allocations: 0 / 445.5 MB, free: 8.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.1823, allocations: 195.5 kB / 445.7 MB, free: 8.703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.252e-05/0.1824, allocations: 0 / 445.7 MB, free: 8.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.891e-05/0.1825, allocations: 0 / 445.7 MB, free: 8.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.577e-05/0.1825, allocations: 7.984 kB / 445.7 MB, free: 8.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.171e-05/0.1825, allocations: 0 / 445.7 MB, free: 8.695 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.883e-06/0.1825, allocations: 0 / 445.7 MB, free: 8.695 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006877/0.1832, allocations: 395.2 kB / 446.1 MB, free: 8.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.138e-06/0.1832, allocations: 0 / 446.1 MB, free: 8.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.1833, allocations: 0 / 446.1 MB, free: 8.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004805/0.1838, allocations: 303.4 kB / 446.4 MB, free: 8.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1838, allocations: 4 kB / 446.4 MB, free: 8.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1838, allocations: 0 / 446.4 MB, free: 8.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1838, allocations: 0 / 446.4 MB, free: 8.008 MB / 382.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.0005098/0.1843, allocations: 389.3 kB / 446.8 MB, free: 7.574 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.1844, allocations: 15.91 kB / 446.8 MB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.1844, allocations: 4.938 kB / 446.8 MB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.1845, allocations: 160.4 kB / 446.9 MB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1846, allocations: 384 / 446.9 MB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-06/0.1846, allocations: 384 / 446.9 MB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.1847, allocations: 41.81 kB / 447 MB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1847, allocations: 0 / 447 MB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.1847, allocations: 0 / 447 MB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.1847, allocations: 0 / 447 MB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.944e-05/0.1848, allocations: 3.938 kB / 447 MB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.1849, allocations: 153.7 kB / 447.1 MB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.954e-05/0.185, allocations: 14.58 kB / 447.2 MB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.338e-05/0.185, allocations: 12.84 kB / 447.2 MB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.185, allocations: 4 kB / 447.2 MB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/0.1851, allocations: 64.3 kB / 447.2 MB, free: 6.988 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.1851, allocations: 0 / 447.2 MB, free: 6.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002338/0.1853, allocations: 71.25 kB / 447.3 MB, free: 6.906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.1854, allocations: 81.09 kB / 447.4 MB, free: 6.809 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.474e-05/0.1854, allocations: 89.86 kB / 447.5 MB, free: 6.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.1855, allocations: 25.7 kB / 447.5 MB, free: 6.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.1855, allocations: 80.27 kB / 447.6 MB, free: 6.598 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.1855, allocations: 4 kB / 447.6 MB, free: 6.594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.1856, allocations: 13.72 kB / 447.6 MB, free: 6.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1857, allocations: 314.8 kB / 447.9 MB, free: 6.258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.167e-05/0.1857, allocations: 0 / 447.9 MB, free: 6.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.957e-06/0.1857, allocations: 4 kB / 447.9 MB, free: 6.254 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.829e-05/0.1858, allocations: 56.27 kB / 448 MB, free: 6.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1858, allocations: 4 kB / 448 MB, free: 6.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.467e-05/0.1859, allocations: 67.39 kB / 448 MB, free: 6.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.137e-05/0.1859, allocations: 37.64 kB / 448.1 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.1859, allocations: 0 / 448.1 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/0.186, allocations: 0 / 448.1 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.254e-06/0.186, allocations: 0 / 448.1 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.186, allocations: 0 / 448.1 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.29e-05/0.186, allocations: 4 kB / 448.1 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.186, allocations: 0 / 448.1 MB, free: 6.055 MB / 382.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.76e-05/0.1862, allocations: 143.5 kB / 448.2 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-06/0.1862, allocations: 7.969 kB / 448.2 MB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.08e-05/0.1862, allocations: 3.125 kB / 448.2 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.1862, allocations: 0 / 448.2 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1862, allocations: 4 kB / 448.2 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1862, allocations: 3.984 kB / 448.2 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.1863, allocations: 149.6 kB / 448.4 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1863, allocations: 0 / 448.4 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.1863, allocations: 0 / 448.4 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1863, allocations: 3.938 kB / 448.4 MB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.1864, allocations: 4 kB / 448.4 MB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1864, allocations: 0 / 448.4 MB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1864, allocations: 4 kB / 448.4 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.961e-05/0.1865, allocations: 94.77 kB / 448.5 MB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.1865, allocations: 81.05 kB / 448.6 MB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.1865, allocations: 0 / 448.6 MB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-06/0.1866, allocations: 0 / 448.6 MB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.196e-05/0.1866, allocations: 4 kB / 448.6 MB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.1866, allocations: 8 kB / 448.6 MB, free: 5.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.391e-05/0.1866, allocations: 79.31 kB / 448.6 MB, free: 5.367 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1866, allocations: 0 / 448.6 MB, free: 5.367 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003583/0.187, allocations: 63.98 kB / 448.7 MB, free: 5.305 MB / 382.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.0004746/0.1875, allocations: 191.1 kB / 448.9 MB, free: 5.113 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.1876, allocations: 63.34 kB / 449 MB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1876, allocations: 3.938 kB / 449 MB, free: 5.035 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.214e-05/0.1877, allocations: 59.39 kB / 449 MB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.1878, allocations: 4 kB / 449 MB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002186/0.188, allocations: 82.64 kB / 449.1 MB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.1883, allocations: 0.6731 MB / 449.8 MB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.332e-06/0.1883, allocations: 0 / 449.8 MB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.068e-05/0.1884, allocations: 7.438 kB / 449.8 MB, free: 4.148 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1884, allocations: 4.125 kB / 449.8 MB, free: 4.145 MB / 382.1 MB Notification: Performance of Templates: time 0.004704/0.1931, allocations: 1.682 MB / 451.5 MB, free: 2.461 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches