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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001101/0.001101, allocations: 117.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001063/0.001063, allocations: 200.7 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2309/0.2309, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 75.88 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4259, allocations: 62.43 MB / 0.531 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001687/0.4276, allocations: 0.4933 MB / 0.5314 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002828/0.4304, allocations: 1.793 MB / 0.5332 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.78e-05/0.4305, allocations: 0 / 0.5332 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.4305, allocations: 4 kB / 0.5332 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.383e-06/0.4305, allocations: 0 / 0.5332 GB, free: 12.02 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.001086/0.4316, allocations: 228.7 kB / 0.5334 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.174e-05/0.4317, allocations: 1.062 kB / 0.5334 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.078e-05/0.4318, allocations: 1.188 kB / 0.5334 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.295e-05/0.4318, allocations: 5.062 kB / 0.5334 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.191e-05/0.4318, allocations: 7.922 kB / 0.5334 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.233e-06/0.4318, allocations: 1.094 kB / 0.5334 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006904/0.4325, allocations: 408 kB / 0.5338 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.4325, allocations: 3.984 kB / 0.5338 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.4326, allocations: 1.125 kB / 0.5338 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004715/0.4331, allocations: 298.9 kB / 0.5341 GB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4331, allocations: 0 / 0.5341 GB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.088e-06/0.4331, allocations: 1.375 kB / 0.5341 GB, free: 11.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.4331, allocations: 3.938 kB / 0.5341 GB, free: 11.46 MB / 398.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.0004545/0.4335, allocations: 388.3 kB / 0.5345 GB, free: 11.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.4336, allocations: 9.625 kB / 0.5345 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.4336, allocations: 10.25 kB / 0.5345 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.4337, allocations: 160.4 kB / 0.5347 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.4338, allocations: 384 / 0.5347 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.4338, allocations: 1.75 kB / 0.5347 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.4339, allocations: 32.77 kB / 0.5347 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.4339, allocations: 0 / 0.5347 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.434, allocations: 0 / 0.5347 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.434, allocations: 5.375 kB / 0.5347 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.003e-05/0.434, allocations: 5.359 kB / 0.5347 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.4342, allocations: 143.1 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.386e-05/0.4342, allocations: 27.88 kB / 0.5349 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.123e-05/0.4343, allocations: 6.234 kB / 0.5349 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.2e-06/0.4343, allocations: 0 / 0.5349 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.574e-05/0.4343, allocations: 61.58 kB / 0.5349 GB, free: 10.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.4343, allocations: 4 kB / 0.5349 GB, free: 10.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002232/0.4346, allocations: 71.56 kB / 0.535 GB, free: 10.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.4346, allocations: 77.11 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.029e-05/0.4347, allocations: 95.23 kB / 0.5352 GB, free: 10.22 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.4347, allocations: 25.7 kB / 0.5352 GB, free: 10.19 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.4348, allocations: 80.14 kB / 0.5353 GB, free: 10.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.4348, allocations: 5.312 kB / 0.5353 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.4348, allocations: 11.09 kB / 0.5353 GB, free: 10.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.435, allocations: 320.3 kB / 0.5356 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.047e-05/0.435, allocations: 1.375 kB / 0.5356 GB, free: 9.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.059e-06/0.435, allocations: 0 / 0.5356 GB, free: 9.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.122e-05/0.435, allocations: 64.39 kB / 0.5357 GB, free: 9.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.435, allocations: 0 / 0.5357 GB, free: 9.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.46e-05/0.4351, allocations: 62.22 kB / 0.5357 GB, free: 9.629 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.03e-05/0.4352, allocations: 39.12 kB / 0.5358 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4352, allocations: 0 / 0.5358 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.4352, allocations: 5.469 kB / 0.5358 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.4352, allocations: 0 / 0.5358 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4352, allocations: 0 / 0.5358 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.727e-05/0.4352, allocations: 1.375 kB / 0.5358 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.4353, allocations: 0 / 0.5358 GB, free: 9.586 MB / 398.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.458e-05/0.4353, allocations: 138.2 kB / 0.5359 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.4354, allocations: 5.312 kB / 0.5359 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.145e-06/0.4354, allocations: 3.125 kB / 0.5359 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.4354, allocations: 3.984 kB / 0.5359 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4354, allocations: 5.375 kB / 0.5359 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.4354, allocations: 0 / 0.5359 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.4355, allocations: 151 kB / 0.5361 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4355, allocations: 3.938 kB / 0.5361 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.4355, allocations: 1.375 kB / 0.5361 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4355, allocations: 3.938 kB / 0.5361 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.4356, allocations: 5.375 kB / 0.5361 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4356, allocations: 0 / 0.5361 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4356, allocations: 0 / 0.5361 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.4357, allocations: 97.77 kB / 0.5362 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.4357, allocations: 78.48 kB / 0.5362 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.4358, allocations: 9.297 kB / 0.5362 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.947e-06/0.4358, allocations: 0 / 0.5362 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.576e-05/0.4358, allocations: 1.375 kB / 0.5362 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.4358, allocations: 0 / 0.5362 GB, free: 9.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.998e-05/0.4358, allocations: 75.28 kB / 0.5363 GB, free: 8.934 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.754e-06/0.4358, allocations: 1.375 kB / 0.5363 GB, free: 8.934 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003498/0.4362, allocations: 76.08 kB / 0.5364 GB, free: 8.906 MB / 398.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004694/0.4367, allocations: 169.1 kB / 0.5366 GB, free: 8.793 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.4368, allocations: 64.83 kB / 0.5366 GB, free: 8.723 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4368, allocations: 1.125 kB / 0.5366 GB, free: 8.723 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.671e-05/0.4369, allocations: 58.94 kB / 0.5367 GB, free: 8.656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.437, allocations: 1.031 kB / 0.5367 GB, free: 8.656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001988/0.4372, allocations: 84.66 kB / 0.5368 GB, free: 8.555 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.4375, allocations: 0.6701 MB / 0.5374 GB, free: 7.859 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.392e-06/0.4375, allocations: 5.094 kB / 0.5374 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.225e-05/0.4375, allocations: 7.438 kB / 0.5374 GB, free: 7.848 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4375, allocations: 1.094 kB / 0.5374 GB, free: 7.848 MB / 398.1 MB Notification: Performance of Templates: time 0.004667/0.4422, allocations: 1.636 MB / 0.539 GB, free: 6.992 MB / 398.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches