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.000927/0.0009268, allocations: 96.16 kB / 15.7 MB, free: 468 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.001278/0.001278, allocations: 172.9 kB / 16.58 MB, free: 5.656 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.69/1.69, allocations: 205.4 MB / 222.8 MB, free: 5.848 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.4394/0.4394, allocations: 43.57 MB / 314.6 MB, free: 8.684 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.0005299/0.0005299, allocations: 16 kB / 383.9 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1529, allocations: 58.86 MB / 442.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.0006876/0.1536, allocations: 224.4 kB / 443 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005754/0.1594, allocations: 4.746 MB / 447.8 MB, free: 8.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.356e-05/0.1594, allocations: 4 kB / 447.8 MB, free: 8.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.074e-05/0.1594, allocations: 0 / 447.8 MB, free: 8.059 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.374e-06/0.1594, allocations: 0 / 447.8 MB, free: 8.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007832/0.1602, allocations: 183.6 kB / 448 MB, free: 7.879 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.592e-05/0.1603, allocations: 3.938 kB / 448 MB, free: 7.875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.301e-05/0.1603, allocations: 8 kB / 448 MB, free: 7.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.027e-05/0.1604, allocations: 3.984 kB / 448 MB, free: 7.863 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.918e-05/0.1604, allocations: 0 / 448 MB, free: 7.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.161e-06/0.1604, allocations: 0 / 448 MB, free: 7.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005568/0.161, allocations: 371.2 kB / 448.3 MB, free: 7.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.023e-06/0.161, allocations: 0 / 448.3 MB, free: 7.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.175e-05/0.161, allocations: 29.7 kB / 448.4 MB, free: 7.465 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.1613, allocations: 207.6 kB / 448.6 MB, free: 7.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1613, allocations: 4 kB / 448.6 MB, free: 7.258 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1613, allocations: 0 / 448.6 MB, free: 7.258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1613, allocations: 0 / 448.6 MB, free: 7.258 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.000395/0.1617, allocations: 381.1 kB / 448.9 MB, free: 6.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1618, allocations: 8.031 kB / 449 MB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.1618, allocations: 3.953 kB / 449 MB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.1619, allocations: 167.1 kB / 449.1 MB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.162, allocations: 0 / 449.1 MB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.162, allocations: 0 / 449.1 MB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.021e-05/0.1621, allocations: 41.62 kB / 449.2 MB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1621, allocations: 3.984 kB / 449.2 MB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/0.1621, allocations: 0 / 449.2 MB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1621, allocations: 3.953 kB / 449.2 MB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.833e-05/0.1621, allocations: 4 kB / 449.2 MB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001278/0.1623, allocations: 145.7 kB / 449.3 MB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.397e-05/0.1623, allocations: 18.56 kB / 449.3 MB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.1624, allocations: 20.83 kB / 449.4 MB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-06/0.1624, allocations: 4 kB / 449.4 MB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.479e-05/0.1624, allocations: 56.27 kB / 449.4 MB, free: 6.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 3.507e-06/0.1624, allocations: 0 / 449.4 MB, free: 6.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002005/0.1626, allocations: 67.25 kB / 449.5 MB, free: 6.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.1627, allocations: 81.09 kB / 449.6 MB, free: 6.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.102e-05/0.1628, allocations: 93.81 kB / 449.6 MB, free: 5.965 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.1628, allocations: 29.7 kB / 449.7 MB, free: 5.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.1628, allocations: 88.27 kB / 449.8 MB, free: 5.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.1629, allocations: 0 / 449.8 MB, free: 5.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-06/0.1629, allocations: 0 / 449.8 MB, free: 5.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.163, allocations: 310.8 kB / 450.1 MB, free: 5.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.137e-05/0.163, allocations: 0 / 450.1 MB, free: 5.527 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-06/0.163, allocations: 7.938 kB / 450.1 MB, free: 5.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.9e-05/0.1631, allocations: 25.7 kB / 450.1 MB, free: 5.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1631, allocations: 0 / 450.1 MB, free: 5.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.033e-05/0.1632, allocations: 63.39 kB / 450.2 MB, free: 5.414 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.364e-05/0.1632, allocations: 33.8 kB / 450.2 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1632, allocations: 0 / 450.2 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1633, allocations: 0 / 450.2 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.1633, allocations: 0 / 450.2 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1633, allocations: 4 kB / 450.2 MB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.078e-05/0.1633, allocations: 4 kB / 450.2 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.1633, allocations: 3.953 kB / 450.2 MB, free: 5.363 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.1634, allocations: 139.5 kB / 450.3 MB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-06/0.1634, allocations: 3.984 kB / 450.3 MB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.275e-05/0.1635, allocations: 7.125 kB / 450.4 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.11e-07/0.1635, allocations: 0 / 450.4 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1635, allocations: 0 / 450.4 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1635, allocations: 0 / 450.4 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.1636, allocations: 149.6 kB / 450.5 MB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1636, allocations: 0 / 450.5 MB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1636, allocations: 3.938 kB / 450.5 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.1636, allocations: 0 / 450.5 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.1636, allocations: 3.984 kB / 450.5 MB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1636, allocations: 0 / 450.5 MB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1636, allocations: 0 / 450.5 MB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.1638, allocations: 94.8 kB / 450.6 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.1638, allocations: 81.09 kB / 450.7 MB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.1638, allocations: 0 / 450.7 MB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-06/0.1639, allocations: 7.938 kB / 450.7 MB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.1639, allocations: 0 / 450.7 MB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.1639, allocations: 7.938 kB / 450.7 MB, free: 4.766 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.072e-05/0.1639, allocations: 75.28 kB / 450.8 MB, free: 4.691 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1639, allocations: 4.031 kB / 450.8 MB, free: 4.688 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003254/0.1643, allocations: 59.98 kB / 450.8 MB, free: 4.629 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004898/0.1648, allocations: 195.2 kB / 451 MB, free: 4.434 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.1649, allocations: 63.34 kB / 451.1 MB, free: 4.359 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1649, allocations: 4.062 kB / 451.1 MB, free: 4.355 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.704e-05/0.1649, allocations: 51.41 kB / 451.1 MB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.1651, allocations: 11.7 kB / 451.1 MB, free: 4.285 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001876/0.1653, allocations: 78.75 kB / 451.2 MB, free: 4.184 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.1655, allocations: 0.677 MB / 451.9 MB, free: 3.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.625e-06/0.1655, allocations: 0 / 451.9 MB, free: 3.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.185e-05/0.1656, allocations: 11.38 kB / 451.9 MB, free: 3.469 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1656, allocations: 0 / 451.9 MB, free: 3.469 MB / 382.1 MB Notification: Performance of Templates: time 0.004451/0.17, allocations: 1.615 MB / 453.5 MB, free: 1.852 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