Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001037/0.001037, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008756/0.0008756, allocations: 89.36 kB / 292.1 MB, free: 6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2095/0.2095, allocations: 45.15 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.832e-05/2.835e-05, allocations: 0 / 460.4 MB, free: 70.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.12, allocations: 63.24 MB / 0.5114 GB, free: 6.793 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3707/0.4908, allocations: 88.65 MB / 0.5979 GB, free: 5.312 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001731/0.491, allocations: 60.16 kB / 0.598 GB, free: 5.285 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01281/0.5038, allocations: 4.428 MB / 0.6023 GB, free: 1.504 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5039, allocations: 7.938 kB / 0.6023 GB, free: 1.496 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.5039, allocations: 0 / 0.6023 GB, free: 1.496 MB / 394.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.0003314/0.5042, allocations: 397.4 kB / 0.6027 GB, free: 1.062 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.5043, allocations: 11.97 kB / 0.6027 GB, free: 1.051 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.5043, allocations: 4 kB / 0.6027 GB, free: 1.047 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.964e-05/0.5044, allocations: 163.6 kB / 0.6029 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.5044, allocations: 0 / 0.6029 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.5044, allocations: 0 / 0.6029 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.414e-05/0.5045, allocations: 41.62 kB / 0.6029 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.5045, allocations: 0 / 0.6029 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.5045, allocations: 0 / 0.6029 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.5045, allocations: 3.938 kB / 0.6029 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.558e-05/0.5045, allocations: 0 / 0.6029 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001101/0.5047, allocations: 153 kB / 0.6031 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.972e-05/0.5047, allocations: 14.58 kB / 0.6031 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.031e-05/0.5047, allocations: 4.859 kB / 0.6031 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-06/0.5047, allocations: 8.094 kB / 0.6031 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.5048, allocations: 64.19 kB / 0.6031 GB, free: 496 kB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.5048, allocations: 0 / 0.6031 GB, free: 496 kB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001367/0.5049, allocations: 62.72 kB / 0.6032 GB, free: 424 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.505, allocations: 77.11 kB / 0.6033 GB, free: 328 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.037e-05/0.505, allocations: 85 kB / 0.6034 GB, free: 236 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.505, allocations: 25.7 kB / 0.6034 GB, free: 204 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.436e-05/0.5051, allocations: 80.14 kB / 0.6035 GB, free: 120 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.456e-05/0.5051, allocations: 4.031 kB / 0.6035 GB, free: 116 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.5051, allocations: 0 / 0.6035 GB, free: 116 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.5052, allocations: 318.1 kB / 0.6038 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-06/0.5052, allocations: 4 kB / 0.6038 GB, free: 15.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.751e-06/0.5052, allocations: 3.984 kB / 0.6038 GB, free: 15.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.571e-05/0.5053, allocations: 29.7 kB / 0.6038 GB, free: 15.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5053, allocations: 0 / 0.6038 GB, free: 15.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.122e-05/0.5053, allocations: 63.34 kB / 0.6039 GB, free: 15.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.5054, allocations: 37.8 kB / 0.6039 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/0.5054, allocations: 0 / 0.6039 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.5054, allocations: 3.938 kB / 0.6039 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.5054, allocations: 0 / 0.6039 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.5054, allocations: 3.984 kB / 0.6039 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.001e-05/0.5054, allocations: 0 / 0.6039 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.5054, allocations: 4 kB / 0.6039 GB, free: 15.62 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 () * 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 6.053e-05/0.5055, allocations: 137.6 kB / 0.604 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-06/0.5055, allocations: 0 / 0.604 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.183e-05/0.5055, allocations: 11.08 kB / 0.6041 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.5055, allocations: 0 / 0.6041 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.5056, allocations: 0 / 0.6041 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.5056, allocations: 4 kB / 0.6041 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.321e-05/0.5056, allocations: 153.6 kB / 0.6042 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5056, allocations: 0 / 0.6042 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.5057, allocations: 3.938 kB / 0.6042 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.5057, allocations: 0 / 0.6042 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.5057, allocations: 0 / 0.6042 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.5057, allocations: 4 kB / 0.6042 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5057, allocations: 0 / 0.6042 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.082e-05/0.5058, allocations: 93.77 kB / 0.6043 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.5058, allocations: 85.06 kB / 0.6044 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.5058, allocations: 0 / 0.6044 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-06/0.5058, allocations: 3.438 kB / 0.6044 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/0.5059, allocations: 0 / 0.6044 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.5059, allocations: 0 / 0.6044 GB, free: 15.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.947e-05/0.5059, allocations: 79.28 kB / 0.6045 GB, free: 14.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5059, allocations: 4.031 kB / 0.6045 GB, free: 14.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002696/0.5062, allocations: 83.86 kB / 0.6045 GB, free: 14.88 MB / 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) * 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.0004276/0.5066, allocations: 208.6 kB / 0.6047 GB, free: 14.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.263e-05/0.5067, allocations: 63.34 kB / 0.6048 GB, free: 14.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5067, allocations: 3.125 kB / 0.6048 GB, free: 14.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.166e-05/0.5068, allocations: 55.41 kB / 0.6049 GB, free: 14.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.957e-05/0.5068, allocations: 3.984 kB / 0.6049 GB, free: 14.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001344/0.507, allocations: 52.94 kB / 0.6049 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.5072, allocations: 0.6692 MB / 0.6056 GB, free: 13.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.29e-06/0.5072, allocations: 0 / 0.6056 GB, free: 13.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.886e-06/0.5072, allocations: 7.438 kB / 0.6056 GB, free: 13.75 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.5072, allocations: 4 kB / 0.6056 GB, free: 13.75 MB / 410.7 MB Notification: Performance of Templates: time 0.003716/0.5109, allocations: 1.773 MB / 0.6073 GB, free: 11.99 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches