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.0008815/0.0008819, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008806/0.0008805, allocations: 184.7 kB / 16.92 MB, free: 6.918 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.597/1.597, allocations: 205.4 MB / 223.1 MB, free: 5.531 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.4424/0.4424, allocations: 43.58 MB / 315 MB, free: 8.793 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.0005585/0.0005586, allocations: 16 kB / 384.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1614, allocations: 58.86 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.0007441/0.1622, allocations: 232.4 kB / 443.7 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007202/0.1694, allocations: 5.067 MB / 448.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.719e-05/0.1695, allocations: 0 / 448.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.961e-05/0.1695, allocations: 0 / 448.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.175e-06/0.1695, allocations: 7.938 kB / 448.7 MB, free: 7.344 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009827/0.1705, allocations: 187.6 kB / 448.9 MB, free: 7.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.347e-05/0.1706, allocations: 0 / 448.9 MB, free: 7.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.187e-05/0.1706, allocations: 0 / 448.9 MB, free: 7.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.024e-05/0.1706, allocations: 4 kB / 448.9 MB, free: 7.156 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.774e-05/0.1707, allocations: 0 / 448.9 MB, free: 7.156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.444e-06/0.1707, allocations: 4 kB / 448.9 MB, free: 7.152 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005855/0.1713, allocations: 399.2 kB / 449.3 MB, free: 6.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.215e-06/0.1713, allocations: 0 / 449.3 MB, free: 6.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.1713, allocations: 29.69 kB / 449.3 MB, free: 6.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004207/0.1718, allocations: 299.4 kB / 449.6 MB, free: 6.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1718, allocations: 0 / 449.6 MB, free: 6.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1718, allocations: 0 / 449.6 MB, free: 6.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1718, allocations: 0 / 449.6 MB, free: 6.434 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.000399/0.1722, allocations: 385.3 kB / 450 MB, free: 6.004 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.1723, allocations: 12.03 kB / 450 MB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.1723, allocations: 0.9375 kB / 450 MB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.1724, allocations: 160.4 kB / 450.2 MB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.1724, allocations: 4.312 kB / 450.2 MB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.1724, allocations: 4.375 kB / 450.2 MB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.1726, allocations: 33.81 kB / 450.2 MB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.1726, allocations: 0 / 450.2 MB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1726, allocations: 0 / 450.2 MB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1726, allocations: 4 kB / 450.2 MB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.345e-05/0.1726, allocations: 4 kB / 450.2 MB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.1728, allocations: 145.7 kB / 450.4 MB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.056e-05/0.1728, allocations: 30.48 kB / 450.4 MB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.779e-05/0.1729, allocations: 4.859 kB / 450.4 MB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.809e-06/0.1729, allocations: 3.984 kB / 450.4 MB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.783e-05/0.173, allocations: 60.2 kB / 450.5 MB, free: 5.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.173, allocations: 0 / 450.5 MB, free: 5.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002042/0.1732, allocations: 67.38 kB / 450.5 MB, free: 5.348 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.1733, allocations: 85.11 kB / 450.6 MB, free: 5.246 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.741e-05/0.1733, allocations: 89.86 kB / 450.7 MB, free: 5.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.1733, allocations: 29.69 kB / 450.7 MB, free: 5.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.063e-05/0.1734, allocations: 84.08 kB / 450.8 MB, free: 5.027 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.1734, allocations: 0 / 450.8 MB, free: 5.027 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/0.1734, allocations: 9.719 kB / 450.8 MB, free: 5.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1736, allocations: 310.8 kB / 451.1 MB, free: 4.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.083e-05/0.1736, allocations: 12.06 kB / 451.1 MB, free: 4.688 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.379e-06/0.1736, allocations: 0 / 451.1 MB, free: 4.688 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.691e-05/0.1737, allocations: 64.27 kB / 451.2 MB, free: 4.609 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1737, allocations: 0 / 451.2 MB, free: 4.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.191e-05/0.1737, allocations: 63.39 kB / 451.3 MB, free: 4.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.1738, allocations: 33.64 kB / 451.3 MB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1738, allocations: 3.984 kB / 451.3 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1738, allocations: 0 / 451.3 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-06/0.1738, allocations: 4.094 kB / 451.3 MB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.1739, allocations: 0 / 451.3 MB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.784e-05/0.1739, allocations: 0 / 451.3 MB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.1739, allocations: 4 kB / 451.3 MB, free: 4.484 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 0.0001248/0.174, allocations: 139.5 kB / 451.5 MB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.174, allocations: 11.92 kB / 451.5 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.785e-05/0.1741, allocations: 7.125 kB / 451.5 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1741, allocations: 0 / 451.5 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1741, allocations: 0 / 451.5 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1741, allocations: 4 kB / 451.5 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.1742, allocations: 141.7 kB / 451.6 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1742, allocations: 0 / 451.6 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.096e-06/0.1742, allocations: 4 kB / 451.6 MB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1742, allocations: 3.938 kB / 451.6 MB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1743, allocations: 3.984 kB / 451.6 MB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1743, allocations: 3.938 kB / 451.6 MB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.1743, allocations: 4 kB / 451.6 MB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.1744, allocations: 90.84 kB / 451.7 MB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.1745, allocations: 85.03 kB / 451.8 MB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.1745, allocations: 0 / 451.8 MB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-06/0.1745, allocations: 0 / 451.8 MB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.1745, allocations: 4 kB / 451.8 MB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.1745, allocations: 3.938 kB / 451.8 MB, free: 3.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.723e-05/0.1746, allocations: 75.28 kB / 451.9 MB, free: 3.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1746, allocations: 0 / 451.9 MB, free: 3.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003316/0.1749, allocations: 67.98 kB / 452 MB, free: 3.738 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.0005/0.1754, allocations: 195.1 kB / 452.1 MB, free: 3.543 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.1756, allocations: 59.41 kB / 452.2 MB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1756, allocations: 0 / 452.2 MB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.436e-05/0.1756, allocations: 55.41 kB / 452.3 MB, free: 3.406 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.1757, allocations: 4.125 kB / 452.3 MB, free: 3.402 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002281/0.176, allocations: 86.62 kB / 452.3 MB, free: 3.293 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.1763, allocations: 0.6731 MB / 453 MB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.021e-06/0.1763, allocations: 0 / 453 MB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.056e-05/0.1763, allocations: 7.438 kB / 453 MB, free: 2.586 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1763, allocations: 0 / 453 MB, free: 2.586 MB / 382.1 MB Notification: Performance of Templates: time 0.004771/0.1811, allocations: 1.682 MB / 454.7 MB, free: 0.9023 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