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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 183.7 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009598/0.0009599, allocations: 86.55 kB / 267 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4002/0.4002, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.003e-05/3.005e-05, allocations: 4 kB / 425.3 MB, free: 8.219 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1202, allocations: 58.84 MB / 484.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4603/0.5805, allocations: 196 MB / 0.6642 GB, free: 10.63 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.5808, allocations: 69.06 kB / 0.6643 GB, free: 10.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01885/0.5997, allocations: 6.997 MB / 0.6711 GB, free: 4.719 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5997, allocations: 4 kB / 0.6711 GB, free: 4.715 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.5997, allocations: 0 / 0.6711 GB, free: 4.715 MB / 490.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.0003742/0.6001, allocations: 403.8 kB / 0.6715 GB, free: 4.273 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.6001, allocations: 8.031 kB / 0.6715 GB, free: 4.266 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.744e-05/0.6002, allocations: 3.438 kB / 0.6715 GB, free: 4.266 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.909e-05/0.6002, allocations: 164.7 kB / 0.6717 GB, free: 4.066 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.6003, allocations: 0 / 0.6717 GB, free: 4.066 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.6003, allocations: 4 kB / 0.6717 GB, free: 4.062 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.392e-05/0.6004, allocations: 25.7 kB / 0.6717 GB, free: 4.031 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.6004, allocations: 7.938 kB / 0.6717 GB, free: 4.023 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.6004, allocations: 5.375 kB / 0.6717 GB, free: 4.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.6004, allocations: 0 / 0.6717 GB, free: 4.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.512e-05/0.6004, allocations: 0 / 0.6717 GB, free: 4.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001031/0.6005, allocations: 153.1 kB / 0.6719 GB, free: 3.828 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.861e-05/0.6006, allocations: 22.59 kB / 0.6719 GB, free: 3.797 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.413e-05/0.6006, allocations: 8.844 kB / 0.6719 GB, free: 3.785 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.258e-06/0.6006, allocations: 0 / 0.6719 GB, free: 3.785 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.6006, allocations: 64.33 kB / 0.672 GB, free: 3.707 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.6007, allocations: 0 / 0.672 GB, free: 3.707 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001551/0.6008, allocations: 63.78 kB / 0.672 GB, free: 3.637 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.6009, allocations: 77.11 kB / 0.6721 GB, free: 3.543 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.458e-05/0.6009, allocations: 92.98 kB / 0.6722 GB, free: 3.445 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.6009, allocations: 29.64 kB / 0.6722 GB, free: 3.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.201e-05/0.6009, allocations: 80.14 kB / 0.6723 GB, free: 3.328 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.601, allocations: 5.734 kB / 0.6723 GB, free: 3.324 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-06/0.601, allocations: 4 kB / 0.6723 GB, free: 3.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.714e-05/0.6011, allocations: 314.8 kB / 0.6726 GB, free: 3.004 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.797e-06/0.6011, allocations: 0 / 0.6726 GB, free: 3.004 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-06/0.6011, allocations: 7.938 kB / 0.6726 GB, free: 2.996 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.535e-05/0.6011, allocations: 25.7 kB / 0.6727 GB, free: 2.965 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.6011, allocations: 0 / 0.6727 GB, free: 2.965 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.052e-05/0.6012, allocations: 66.28 kB / 0.6727 GB, free: 2.891 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.6012, allocations: 33.78 kB / 0.6727 GB, free: 2.852 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.6012, allocations: 4 kB / 0.6727 GB, free: 2.848 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.6013, allocations: 4 kB / 0.6728 GB, free: 2.844 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.6013, allocations: 0 / 0.6728 GB, free: 2.844 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.6013, allocations: 0 / 0.6728 GB, free: 2.844 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.036e-05/0.6013, allocations: 0 / 0.6728 GB, free: 2.844 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.6013, allocations: 0 / 0.6728 GB, free: 2.844 MB / 490.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 7.262e-05/0.6014, allocations: 138.6 kB / 0.6729 GB, free: 2.695 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-06/0.6014, allocations: 0 / 0.6729 GB, free: 2.695 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.073e-05/0.6014, allocations: 3.125 kB / 0.6729 GB, free: 2.695 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.6014, allocations: 4 kB / 0.6729 GB, free: 2.691 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.6014, allocations: 0 / 0.6729 GB, free: 2.691 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.6014, allocations: 3.984 kB / 0.6729 GB, free: 2.688 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.056e-05/0.6015, allocations: 152.1 kB / 0.673 GB, free: 2.492 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.6015, allocations: 0 / 0.673 GB, free: 2.492 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.6015, allocations: 0 / 0.673 GB, free: 2.492 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.6015, allocations: 0 / 0.673 GB, free: 2.492 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.6016, allocations: 0 / 0.673 GB, free: 2.492 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.6016, allocations: 0 / 0.673 GB, free: 2.492 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.6016, allocations: 0 / 0.673 GB, free: 2.492 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.155e-05/0.6017, allocations: 97.64 kB / 0.6731 GB, free: 2.375 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/0.6017, allocations: 81.06 kB / 0.6732 GB, free: 2.277 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.6017, allocations: 4 kB / 0.6732 GB, free: 2.273 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-06/0.6017, allocations: 0 / 0.6732 GB, free: 2.273 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.6017, allocations: 6.797 kB / 0.6732 GB, free: 2.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.6018, allocations: 0 / 0.6732 GB, free: 2.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.377e-05/0.6018, allocations: 75.28 kB / 0.6733 GB, free: 2.195 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6018, allocations: 0 / 0.6733 GB, free: 2.195 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003112/0.6021, allocations: 83.91 kB / 0.6734 GB, free: 2.113 MB / 490.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.000451/0.6026, allocations: 205.1 kB / 0.6736 GB, free: 1.918 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.959e-05/0.6027, allocations: 66.77 kB / 0.6736 GB, free: 1.844 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6027, allocations: 0 / 0.6736 GB, free: 1.844 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.871e-05/0.6027, allocations: 59.47 kB / 0.6737 GB, free: 1.773 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.467e-05/0.6028, allocations: 0.625 kB / 0.6737 GB, free: 1.773 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001209/0.6029, allocations: 45 kB / 0.6737 GB, free: 1.707 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.6032, allocations: 0.677 MB / 0.6744 GB, free: 1.004 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.352e-06/0.6032, allocations: 0 / 0.6744 GB, free: 1.004 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.011e-05/0.6032, allocations: 7.438 kB / 0.6744 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6032, allocations: 0 / 0.6744 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of Templates: time 0.003913/0.6071, allocations: 1.834 MB / 0.6762 GB, free: 15.18 MB / 0.4948 GB 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