Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.2 MB / 241 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008663/0.0008661, allocations: 87.77 kB / 292.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4277/0.4277, allocations: 44.22 MB / 387.5 MB, free: 38.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003343, allocations: 12 kB / 459.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4151, allocations: 61.9 MB / 0.5096 GB, free: 37.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1232/0.5384, allocations: 87.67 MB / 0.5952 GB, free: 7.461 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.5387, allocations: 59.97 kB / 0.5952 GB, free: 7.402 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01375/0.5524, allocations: 4.385 MB / 0.5995 GB, free: 3.012 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.5525, allocations: 4 kB / 0.5995 GB, free: 3.008 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.5525, allocations: 0 / 0.5995 GB, free: 3.008 MB / 410.7 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.000447/0.5529, allocations: 396.9 kB / 0.5999 GB, free: 2.566 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.553, allocations: 12.03 kB / 0.5999 GB, free: 2.555 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.811e-05/0.553, allocations: 4 kB / 0.5999 GB, free: 2.551 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.566e-05/0.5531, allocations: 159.1 kB / 0.6001 GB, free: 2.355 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.5531, allocations: 7.953 kB / 0.6001 GB, free: 2.348 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.5532, allocations: 0 / 0.6001 GB, free: 2.348 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.161e-05/0.5532, allocations: 33.7 kB / 0.6001 GB, free: 2.309 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.5533, allocations: 3.938 kB / 0.6001 GB, free: 2.305 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.5533, allocations: 0 / 0.6001 GB, free: 2.305 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.5533, allocations: 0 / 0.6001 GB, free: 2.305 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.685e-05/0.5533, allocations: 3.984 kB / 0.6001 GB, free: 2.301 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.5534, allocations: 145.7 kB / 0.6002 GB, free: 2.109 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.434e-05/0.5535, allocations: 19.14 kB / 0.6003 GB, free: 2.082 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-06/0.5535, allocations: 3.953 kB / 0.6003 GB, free: 2.078 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.218e-05/0.5536, allocations: 64.36 kB / 0.6003 GB, free: 2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.5536, allocations: 0 / 0.6003 GB, free: 2 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001615/0.5537, allocations: 67.33 kB / 0.6004 GB, free: 1.922 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.5538, allocations: 77.11 kB / 0.6005 GB, free: 1.828 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.533e-05/0.5538, allocations: 85 kB / 0.6005 GB, free: 1.738 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.5539, allocations: 25.7 kB / 0.6006 GB, free: 1.707 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.873e-05/0.5539, allocations: 84.14 kB / 0.6006 GB, free: 1.621 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.5539, allocations: 0 / 0.6006 GB, free: 1.621 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.5539, allocations: 4.125 kB / 0.6007 GB, free: 1.617 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5541, allocations: 318.8 kB / 0.601 GB, free: 1.297 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.624e-06/0.5541, allocations: 0 / 0.601 GB, free: 1.297 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.917e-06/0.5541, allocations: 0 / 0.601 GB, free: 1.297 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.547e-05/0.5541, allocations: 29.69 kB / 0.601 GB, free: 1.262 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5541, allocations: 4 kB / 0.601 GB, free: 1.258 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.242e-05/0.5542, allocations: 59.34 kB / 0.601 GB, free: 1.188 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.5542, allocations: 36.05 kB / 0.6011 GB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5542, allocations: 8.047 kB / 0.6011 GB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.5543, allocations: 3.938 kB / 0.6011 GB, free: 1.137 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.5543, allocations: 0 / 0.6011 GB, free: 1.137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.5543, allocations: 0 / 0.6011 GB, free: 1.137 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.121e-05/0.5543, allocations: 0 / 0.6011 GB, free: 1.137 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.5543, allocations: 4 kB / 0.6011 GB, free: 1.133 MB / 410.7 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 8.952e-05/0.5544, allocations: 140.1 kB / 0.6012 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-06/0.5544, allocations: 0 / 0.6012 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.365e-05/0.5544, allocations: 6.719 kB / 0.6012 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.5544, allocations: 11.94 kB / 0.6012 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5544, allocations: 4 kB / 0.6012 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.5545, allocations: 0 / 0.6012 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.689e-05/0.5546, allocations: 145.7 kB / 0.6014 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5546, allocations: 0 / 0.6014 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.5546, allocations: 0 / 0.6014 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.5546, allocations: 0 / 0.6014 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.5546, allocations: 4 kB / 0.6014 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.5546, allocations: 0 / 0.6014 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5546, allocations: 3.953 kB / 0.6014 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.161e-05/0.5547, allocations: 94.77 kB / 0.6015 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.5547, allocations: 81.11 kB / 0.6016 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.5548, allocations: 0 / 0.6016 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-06/0.5548, allocations: 0 / 0.6016 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.5548, allocations: 3.953 kB / 0.6016 GB, free: 0.543 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.5548, allocations: 0 / 0.6016 GB, free: 0.543 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.753e-05/0.5548, allocations: 83.28 kB / 0.6016 GB, free: 472 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5548, allocations: 0 / 0.6016 GB, free: 472 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003623/0.5552, allocations: 87.88 kB / 0.6017 GB, free: 384 kB / 410.7 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.0005168/0.5557, allocations: 212.4 kB / 0.6019 GB, free: 172 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.927e-05/0.5558, allocations: 55.41 kB / 0.602 GB, free: 104 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5558, allocations: 64 / 0.602 GB, free: 104 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.465e-05/0.5559, allocations: 71.27 kB / 0.6021 GB, free: 20 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.863e-05/0.556, allocations: 4 kB / 0.6021 GB, free: 16 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001923/0.5562, allocations: 78.84 kB / 0.6021 GB, free: 15.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.5564, allocations: 0.6731 MB / 0.6028 GB, free: 15.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.16e-06/0.5564, allocations: 4 kB / 0.6028 GB, free: 15.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.556e-06/0.5564, allocations: 7.438 kB / 0.6028 GB, free: 15.2 MB / 426.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5565, allocations: 0 / 0.6028 GB, free: 15.2 MB / 426.7 MB Notification: Performance of Templates: time 0.00411/0.5606, allocations: 1.751 MB / 0.6045 GB, free: 13.45 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches