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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 100 kB / 17 MB, free: 6.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 183.2 kB / 17.89 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.3 MB / 241.9 MB, free: 300 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2939/0.2939, allocations: 44.25 MB / 337.3 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.0004051, allocations: 8 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1303, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.0007326/0.1311, allocations: 213.2 kB / 471.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002442/0.1335, allocations: 1.666 MB / 473.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.331e-05/0.1336, allocations: 0 / 473.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.041e-05/0.1336, allocations: 0 / 473.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.103e-06/0.1336, allocations: 0 / 473.5 MB, free: 11.82 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:120:3-169:18:writable] Warning: Pure function ‘ModelicaTest.Math.Polynomials‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.000845/0.1344, allocations: 183.6 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.43e-05/0.1345, allocations: 7.938 kB / 473.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.633e-05/0.1345, allocations: 4 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.179e-05/0.1346, allocations: 7.984 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.08e-05/0.1346, allocations: 0 / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.474e-06/0.1346, allocations: 3.938 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005808/0.1352, allocations: 367.3 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.304e-06/0.1352, allocations: 0 / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.1353, allocations: 25.7 kB / 474.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004175/0.1357, allocations: 207.7 kB / 474.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.1357, allocations: 4 kB / 474.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.1357, allocations: 4 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.1357, allocations: 0 / 474.3 MB, free: 11.01 MB / 350.1 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.0003731/0.1361, allocations: 381 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.1362, allocations: 12.03 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.1362, allocations: 0 / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.673e-05/0.1363, allocations: 163.1 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.1363, allocations: 0 / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.954e-06/0.1363, allocations: 0 / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.832e-05/0.1364, allocations: 33.66 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.1364, allocations: 11.88 kB / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.1365, allocations: 0 / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1365, allocations: 0 / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.675e-05/0.1365, allocations: 0 / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001215/0.1366, allocations: 153.7 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.323e-05/0.1367, allocations: 14.58 kB / 475 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/0.1367, allocations: 8.859 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.1367, allocations: 8.094 kB / 475 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.712e-05/0.1368, allocations: 60.22 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 3.537e-06/0.1368, allocations: 0 / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002158/0.137, allocations: 67.33 kB / 475.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.1371, allocations: 77.11 kB / 475.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.034e-05/0.1371, allocations: 89.86 kB / 475.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.1372, allocations: 25.7 kB / 475.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.656e-05/0.1372, allocations: 84.14 kB / 475.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.1372, allocations: 8.125 kB / 475.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/0.1372, allocations: 0 / 475.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1374, allocations: 310.8 kB / 475.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-06/0.1374, allocations: 0 / 475.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.089e-06/0.1374, allocations: 0 / 475.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.221e-05/0.1375, allocations: 33.69 kB / 475.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1375, allocations: 0 / 475.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.027e-05/0.1376, allocations: 59.34 kB / 475.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.216e-05/0.1376, allocations: 37.73 kB / 475.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.1377, allocations: 4 kB / 475.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1377, allocations: 3.953 kB / 475.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.585e-06/0.1377, allocations: 0 / 475.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.1377, allocations: 3.984 kB / 475.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.137e-05/0.1377, allocations: 4 kB / 475.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.1378, allocations: 4 kB / 475.9 MB, free: 9.129 MB / 350.1 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 0.0001133/0.1379, allocations: 132.1 kB / 476 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.1379, allocations: 0 / 476 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.818e-05/0.1379, allocations: 11.12 kB / 476 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1379, allocations: 3.953 kB / 476 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.138, allocations: 0 / 476 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.138, allocations: 0 / 476 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.1381, allocations: 149.7 kB / 476.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1381, allocations: 0 / 476.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.041e-06/0.1381, allocations: 0 / 476.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.1381, allocations: 4 kB / 476.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1381, allocations: 0 / 476.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1381, allocations: 0 / 476.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1381, allocations: 7.891 kB / 476.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.1383, allocations: 106.7 kB / 476.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.1384, allocations: 77.11 kB / 476.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.1384, allocations: 0 / 476.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.232e-05/0.1384, allocations: 0 / 476.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.1384, allocations: 4 kB / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.1384, allocations: 7.953 kB / 476.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.354e-05/0.1385, allocations: 75.28 kB / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1385, allocations: 4.031 kB / 476.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004774/0.139, allocations: 63.98 kB / 476.5 MB, free: 8.387 MB / 350.1 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.0004977/0.1395, allocations: 186.4 kB / 476.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.1396, allocations: 55.41 kB / 476.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1396, allocations: 8 kB / 476.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.278e-05/0.1396, allocations: 59.39 kB / 476.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.1398, allocations: 4.281 kB / 476.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001701/0.14, allocations: 70.77 kB / 476.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.1402, allocations: 0.6731 MB / 477.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.232e-06/0.1403, allocations: 4 kB / 477.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.072e-05/0.1403, allocations: 7.438 kB / 477.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1403, allocations: 0 / 477.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of Templates: time 0.004867/0.1451, allocations: 1.557 MB / 479.1 MB, free: 5.691 MB / 350.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches