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.001098/0.001098, allocations: 104 kB / 15.98 MB, free: 6.352 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.001004/0.001004, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.531/1.531, allocations: 205.1 MB / 222.8 MB, free: 4.711 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.3885/0.3885, allocations: 43.5 MB / 313.6 MB, free: 8.574 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.001459/0.001459, allocations: 64.47 kB / 382.2 MB, free: 8.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1428, allocations: 57.79 MB / 440 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.00173/0.1446, allocations: 0.5464 MB / 440.5 MB, free: 14.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006728/0.1513, allocations: 5.047 MB / 445.6 MB, free: 9.102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.821e-05/0.1514, allocations: 0 / 445.6 MB, free: 9.102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.668e-05/0.1514, allocations: 3.938 kB / 445.6 MB, free: 9.098 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.57e-06/0.1515, allocations: 0 / 445.6 MB, free: 9.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.1526, allocations: 203.6 kB / 445.8 MB, free: 8.898 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.029e-05/0.1526, allocations: 0 / 445.8 MB, free: 8.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.063e-05/0.1527, allocations: 0 / 445.8 MB, free: 8.898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.439e-05/0.1527, allocations: 7.984 kB / 445.8 MB, free: 8.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.04e-05/0.1527, allocations: 3.938 kB / 445.8 MB, free: 8.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.456e-06/0.1528, allocations: 0 / 445.8 MB, free: 8.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006525/0.1534, allocations: 403.2 kB / 446.2 MB, free: 8.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.127e-06/0.1534, allocations: 0 / 446.2 MB, free: 8.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.1535, allocations: 4 kB / 446.2 MB, free: 8.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.1539, allocations: 303.4 kB / 446.5 MB, free: 8.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.1539, allocations: 0 / 446.5 MB, free: 8.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1539, allocations: 0 / 446.5 MB, free: 8.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1539, allocations: 0 / 446.5 MB, free: 8.191 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.0005311/0.1545, allocations: 389.2 kB / 446.9 MB, free: 7.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.1545, allocations: 11.89 kB / 446.9 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.1546, allocations: 8.875 kB / 446.9 MB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.1548, allocations: 160.4 kB / 447.1 MB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.1548, allocations: 8.312 kB / 447.1 MB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.1548, allocations: 384 / 447.1 MB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.155, allocations: 33.83 kB / 447.1 MB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.155, allocations: 0 / 447.1 MB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.155, allocations: 0 / 447.1 MB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.155, allocations: 4 kB / 447.1 MB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.145e-05/0.1551, allocations: 3.984 kB / 447.1 MB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002273/0.1553, allocations: 153.7 kB / 447.3 MB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.048e-05/0.1554, allocations: 22.52 kB / 447.3 MB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.281e-05/0.1554, allocations: 4.859 kB / 447.3 MB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.1554, allocations: 0 / 447.3 MB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.442e-05/0.1555, allocations: 64.27 kB / 447.3 MB, free: 7.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.352e-06/0.1555, allocations: 0 / 447.3 MB, free: 7.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002681/0.1558, allocations: 71.3 kB / 447.4 MB, free: 7.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/0.1558, allocations: 81.05 kB / 447.5 MB, free: 6.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.896e-05/0.1559, allocations: 93.98 kB / 447.6 MB, free: 6.891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.1559, allocations: 25.7 kB / 447.6 MB, free: 6.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.467e-05/0.156, allocations: 80.14 kB / 447.7 MB, free: 6.777 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.156, allocations: 0 / 447.7 MB, free: 6.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.156, allocations: 17.72 kB / 447.7 MB, free: 6.754 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1562, allocations: 314.8 kB / 448 MB, free: 6.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.402e-05/0.1562, allocations: 4 kB / 448 MB, free: 6.434 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.676e-06/0.1562, allocations: 4 kB / 448 MB, free: 6.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.097e-05/0.1563, allocations: 60.33 kB / 448.1 MB, free: 6.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.1563, allocations: 4 kB / 448.1 MB, free: 6.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.142e-05/0.1564, allocations: 59.39 kB / 448.1 MB, free: 6.281 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.906e-05/0.1565, allocations: 37.64 kB / 448.2 MB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.1565, allocations: 0 / 448.2 MB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.1565, allocations: 3.938 kB / 448.2 MB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.933e-06/0.1565, allocations: 0 / 448.2 MB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1565, allocations: 0 / 448.2 MB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.09e-05/0.1566, allocations: 0 / 448.2 MB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.1566, allocations: 0 / 448.2 MB, free: 6.234 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.0001058/0.1567, allocations: 143.6 kB / 448.3 MB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.1567, allocations: 3.938 kB / 448.3 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.1567, allocations: 7.109 kB / 448.3 MB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1567, allocations: 0 / 448.3 MB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.1568, allocations: 4 kB / 448.3 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1568, allocations: 0 / 448.3 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.1569, allocations: 141.7 kB / 448.5 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1569, allocations: 0 / 448.5 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.1569, allocations: 0 / 448.5 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.1569, allocations: 15.86 kB / 448.5 MB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.157, allocations: 7.938 kB / 448.5 MB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.157, allocations: 0 / 448.5 MB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.157, allocations: 3.984 kB / 448.5 MB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.1571, allocations: 90.78 kB / 448.6 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.689e-05/0.1571, allocations: 81.05 kB / 448.7 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.1572, allocations: 3.984 kB / 448.7 MB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.16e-05/0.1572, allocations: 4.031 kB / 448.7 MB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.1572, allocations: 4 kB / 448.7 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.1572, allocations: 4 kB / 448.7 MB, free: 5.621 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.804e-05/0.1573, allocations: 75.28 kB / 448.8 MB, free: 5.547 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1573, allocations: 0 / 448.8 MB, free: 5.547 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003476/0.1576, allocations: 67.98 kB / 448.8 MB, free: 5.48 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.0006384/0.1583, allocations: 195.1 kB / 449 MB, free: 5.285 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001513/0.1584, allocations: 55.41 kB / 449.1 MB, free: 5.219 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.1585, allocations: 0 / 449.1 MB, free: 5.219 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.68e-05/0.1585, allocations: 55.41 kB / 449.1 MB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.1587, allocations: 7.438 kB / 449.1 MB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002762/0.159, allocations: 92.92 kB / 449.2 MB, free: 5.031 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.1594, allocations: 0.6769 MB / 449.9 MB, free: 4.328 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.477e-06/0.1594, allocations: 0 / 449.9 MB, free: 4.328 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/0.1594, allocations: 7.438 kB / 449.9 MB, free: 4.32 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1594, allocations: 0 / 449.9 MB, free: 4.32 MB / 382.1 MB Notification: Performance of Templates: time 0.005997/0.1654, allocations: 1.678 MB / 451.6 MB, free: 2.641 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