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.001061/0.001061, allocations: 179.9 kB / 18.09 MB, free: 3.75 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.434/1.434, allocations: 223.3 MB / 242.1 MB, free: 9.875 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.0009192/0.0009195, allocations: 89.2 kB / 293.3 MB, free: 10.54 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.3747/0.3747, allocations: 44.15 MB / 388.5 MB, free: 38.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004391/0.0004391, allocations: 12 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.422, allocations: 61.88 MB / 0.5107 GB, free: 37.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.5524, allocations: 87.68 MB / 0.5963 GB, free: 7.395 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.5528, allocations: 67.95 kB / 0.5964 GB, free: 7.332 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01364/0.5664, allocations: 4.272 MB / 0.6006 GB, free: 3.051 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5665, allocations: 0 / 0.6006 GB, free: 3.051 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.5665, allocations: 0 / 0.6006 GB, free: 3.051 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.0004572/0.567, allocations: 405.1 kB / 0.601 GB, free: 2.598 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.567, allocations: 12.03 kB / 0.601 GB, free: 2.586 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.567, allocations: 0.9375 kB / 0.601 GB, free: 2.586 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.5672, allocations: 160.4 kB / 0.6011 GB, free: 2.391 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.5672, allocations: 384 / 0.6011 GB, free: 2.391 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.5672, allocations: 4.312 kB / 0.6011 GB, free: 2.387 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.408e-05/0.5673, allocations: 30.27 kB / 0.6012 GB, free: 2.352 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.5673, allocations: 4.172 kB / 0.6012 GB, free: 2.348 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.5673, allocations: 3.938 kB / 0.6012 GB, free: 2.344 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.5673, allocations: 0 / 0.6012 GB, free: 2.344 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.824e-05/0.5673, allocations: 12 kB / 0.6012 GB, free: 2.332 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.5675, allocations: 141.7 kB / 0.6013 GB, free: 2.145 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.588e-05/0.5676, allocations: 15.14 kB / 0.6013 GB, free: 2.121 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.686e-05/0.5676, allocations: 12.89 kB / 0.6013 GB, free: 2.105 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-06/0.5676, allocations: 0 / 0.6013 GB, free: 2.105 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.723e-05/0.5677, allocations: 60.25 kB / 0.6014 GB, free: 2.031 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.5677, allocations: 4 kB / 0.6014 GB, free: 2.027 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001725/0.5678, allocations: 67.34 kB / 0.6015 GB, free: 1.949 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.5679, allocations: 77.11 kB / 0.6015 GB, free: 1.855 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.602e-05/0.568, allocations: 89.86 kB / 0.6016 GB, free: 1.758 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.568, allocations: 25.7 kB / 0.6017 GB, free: 1.727 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.599e-05/0.568, allocations: 80.14 kB / 0.6017 GB, free: 1.645 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.568, allocations: 4 kB / 0.6017 GB, free: 1.641 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.568, allocations: 0 / 0.6017 GB, free: 1.641 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.5682, allocations: 323 kB / 0.602 GB, free: 1.316 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-06/0.5682, allocations: 3.938 kB / 0.602 GB, free: 1.312 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.068e-06/0.5682, allocations: 0 / 0.602 GB, free: 1.312 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.15e-05/0.5682, allocations: 60.27 kB / 0.6021 GB, free: 1.238 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.5683, allocations: 3.938 kB / 0.6021 GB, free: 1.234 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.533e-05/0.5683, allocations: 59.41 kB / 0.6022 GB, free: 1.164 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.5684, allocations: 34.78 kB / 0.6022 GB, free: 1.125 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.5684, allocations: 0 / 0.6022 GB, free: 1.125 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.5684, allocations: 11.92 kB / 0.6022 GB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.925e-06/0.5684, allocations: 12.03 kB / 0.6022 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.5684, allocations: 0 / 0.6022 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.2e-05/0.5684, allocations: 0 / 0.6022 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.5684, allocations: 0 / 0.6022 GB, free: 1.102 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 9.627e-05/0.5685, allocations: 143.5 kB / 0.6024 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-06/0.5686, allocations: 0 / 0.6024 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.475e-05/0.5686, allocations: 10.66 kB / 0.6024 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.5686, allocations: 0 / 0.6024 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.5686, allocations: 3.984 kB / 0.6024 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.5686, allocations: 4 kB / 0.6024 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.5687, allocations: 145.7 kB / 0.6025 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.5687, allocations: 0 / 0.6025 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.5687, allocations: 0 / 0.6025 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.5687, allocations: 0 / 0.6025 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.5687, allocations: 3.938 kB / 0.6025 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.5687, allocations: 0 / 0.6025 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5687, allocations: 4 kB / 0.6025 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.5689, allocations: 90.83 kB / 0.6026 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.5689, allocations: 77.11 kB / 0.6027 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.5689, allocations: 7.938 kB / 0.6027 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.297e-06/0.5689, allocations: 3.984 kB / 0.6027 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.148e-05/0.569, allocations: 0 / 0.6027 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.569, allocations: 0 / 0.6027 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.16e-05/0.569, allocations: 87.22 kB / 0.6028 GB, free: 436 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.569, allocations: 0 / 0.6028 GB, free: 436 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003318/0.5693, allocations: 83.86 kB / 0.6029 GB, free: 352 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.0004611/0.5698, allocations: 207.3 kB / 0.6031 GB, free: 148 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.21e-05/0.5699, allocations: 63.33 kB / 0.6031 GB, free: 72 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5699, allocations: 0 / 0.6031 GB, free: 72 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.067e-05/0.57, allocations: 55.41 kB / 0.6032 GB, free: 4 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.5701, allocations: 8.172 kB / 0.6032 GB, free: 15.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001718/0.5703, allocations: 82.75 kB / 0.6033 GB, free: 15.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.5705, allocations: 0.6692 MB / 0.6039 GB, free: 15.19 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.953e-06/0.5706, allocations: 4 kB / 0.6039 GB, free: 15.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.01e-05/0.5706, allocations: 7.438 kB / 0.6039 GB, free: 15.18 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5706, allocations: 0 / 0.6039 GB, free: 15.18 MB / 426.7 MB Notification: Performance of Templates: time 0.004215/0.5748, allocations: 1.812 MB / 0.6057 GB, free: 13.37 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/jenkins1/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