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.0009378/0.0009378, allocations: 179 kB / 14.15 MB, free: 1.176 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.292/1.292, allocations: 221.3 MB / 236 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 91.98 kB / 287 MB, free: 216 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2067/0.2067, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.164e-05/3.166e-05, allocations: 4.219 kB / 451.8 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1336, allocations: 61.92 MB / 0.5017 GB, free: 11.5 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4012/0.5348, allocations: 87.58 MB / 0.5872 GB, free: 1.785 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.5351, allocations: 63.97 kB / 0.5873 GB, free: 1.723 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01343/0.5485, allocations: 4.377 MB / 0.5916 GB, free: 13.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5486, allocations: 0 / 0.5916 GB, free: 13.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.5486, allocations: 0 / 0.5916 GB, free: 13.36 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.0004209/0.549, allocations: 396 kB / 0.5919 GB, free: 12.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.549, allocations: 12.03 kB / 0.5919 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.678e-05/0.5491, allocations: 3.938 kB / 0.592 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.293e-05/0.5492, allocations: 159.1 kB / 0.5921 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.5492, allocations: 7.953 kB / 0.5921 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.5492, allocations: 0 / 0.5921 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.597e-05/0.5493, allocations: 34.27 kB / 0.5921 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.5493, allocations: 0 / 0.5921 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.5493, allocations: 0 / 0.5921 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.5493, allocations: 0 / 0.5921 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/0.5494, allocations: 4 kB / 0.5921 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001249/0.5495, allocations: 149.6 kB / 0.5923 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.243e-05/0.5495, allocations: 14.58 kB / 0.5923 GB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/0.5495, allocations: 12.91 kB / 0.5923 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.5496, allocations: 8 kB / 0.5923 GB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.5496, allocations: 56.27 kB / 0.5924 GB, free: 12.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.5496, allocations: 3.938 kB / 0.5924 GB, free: 12.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001475/0.5498, allocations: 63.39 kB / 0.5924 GB, free: 12.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.5498, allocations: 81.05 kB / 0.5925 GB, free: 12.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.137e-05/0.5499, allocations: 85 kB / 0.5926 GB, free: 12.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.5499, allocations: 25.7 kB / 0.5926 GB, free: 12.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.5499, allocations: 84.17 kB / 0.5927 GB, free: 11.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.55, allocations: 4 kB / 0.5927 GB, free: 11.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-06/0.55, allocations: 0 / 0.5927 GB, free: 11.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.5501, allocations: 314.8 kB / 0.593 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.784e-06/0.5501, allocations: 0 / 0.593 GB, free: 11.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.108e-06/0.5501, allocations: 0 / 0.593 GB, free: 11.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.736e-05/0.5501, allocations: 29.7 kB / 0.593 GB, free: 11.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.5501, allocations: 0 / 0.593 GB, free: 11.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.225e-05/0.5502, allocations: 67.45 kB / 0.5931 GB, free: 11.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.493e-05/0.5503, allocations: 34.75 kB / 0.5931 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.5503, allocations: 0 / 0.5931 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.5503, allocations: 0 / 0.5931 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.5503, allocations: 0 / 0.5931 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.5503, allocations: 3.938 kB / 0.5931 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.388e-05/0.5503, allocations: 8 kB / 0.5931 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.5503, allocations: 0 / 0.5931 GB, free: 11.48 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.936e-05/0.5504, allocations: 134.7 kB / 0.5933 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/0.5504, allocations: 8.031 kB / 0.5933 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.466e-05/0.5504, allocations: 15.03 kB / 0.5933 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.5504, allocations: 0 / 0.5933 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.5505, allocations: 0 / 0.5933 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.5505, allocations: 0 / 0.5933 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.328e-05/0.5506, allocations: 141.7 kB / 0.5934 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5506, allocations: 7.922 kB / 0.5934 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.814e-06/0.5506, allocations: 4 kB / 0.5934 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.5506, allocations: 0 / 0.5934 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.5506, allocations: 0 / 0.5934 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.5506, allocations: 3.953 kB / 0.5934 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5506, allocations: 4 kB / 0.5934 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.676e-05/0.5507, allocations: 90.83 kB / 0.5935 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.522e-05/0.5508, allocations: 81.09 kB / 0.5936 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.5508, allocations: 3.938 kB / 0.5936 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.528e-06/0.5508, allocations: 0 / 0.5936 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.5508, allocations: 11.89 kB / 0.5936 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.5508, allocations: 0 / 0.5936 GB, free: 10.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.663e-05/0.5508, allocations: 79.31 kB / 0.5937 GB, free: 10.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5508, allocations: 0 / 0.5937 GB, free: 10.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003842/0.5512, allocations: 79.92 kB / 0.5938 GB, free: 10.72 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.0004779/0.5517, allocations: 205.5 kB / 0.594 GB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.971e-05/0.5518, allocations: 67.41 kB / 0.594 GB, free: 10.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5518, allocations: 0 / 0.594 GB, free: 10.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.198e-05/0.5519, allocations: 55.41 kB / 0.5941 GB, free: 10.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.696e-05/0.552, allocations: 5.344 kB / 0.5941 GB, free: 10.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001432/0.5521, allocations: 49.48 kB / 0.5941 GB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.5523, allocations: 0.6731 MB / 0.5948 GB, free: 9.598 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.189e-06/0.5524, allocations: 0 / 0.5948 GB, free: 9.598 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.508e-06/0.5524, allocations: 7.438 kB / 0.5948 GB, free: 9.59 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5524, allocations: 128 / 0.5948 GB, free: 9.59 MB / 410.7 MB Notification: Performance of Templates: time 0.00394/0.5563, allocations: 1.775 MB / 0.5965 GB, free: 7.816 MB / 410.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