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.001047/0.001047, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001203/0.001203, allocations: 198 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, 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.226/0.226, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 79.86 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.419, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001809/0.4209, allocations: 495.9 kB / 0.5314 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002929/0.4238, allocations: 1.795 MB / 0.5332 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.168e-05/0.4238, allocations: 0 / 0.5332 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.4239, allocations: 0 / 0.5332 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.357e-06/0.4239, allocations: 0 / 0.5332 GB, free: 11.81 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.001336/0.4252, allocations: 228.6 kB / 0.5334 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.523e-05/0.4253, allocations: 10.73 kB / 0.5334 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.149e-05/0.4254, allocations: 0 / 0.5334 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.142e-05/0.4254, allocations: 5.312 kB / 0.5334 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.375e-05/0.4254, allocations: 1.375 kB / 0.5334 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.348e-06/0.4255, allocations: 0 / 0.5334 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009615/0.4264, allocations: 411.2 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.4264, allocations: 0 / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.4265, allocations: 1.031 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008192/0.4273, allocations: 299.6 kB / 0.5341 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4273, allocations: 0.9688 kB / 0.5341 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4273, allocations: 4 kB / 0.5341 GB, free: 11.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.4274, allocations: 0 / 0.5341 GB, free: 11.26 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.0005845/0.4279, allocations: 396.6 kB / 0.5345 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.428, allocations: 9.312 kB / 0.5345 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.428, allocations: 2.125 kB / 0.5345 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.4282, allocations: 164.3 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.4282, allocations: 1.375 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.4282, allocations: 1.5 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.4284, allocations: 40.2 kB / 0.5347 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.4284, allocations: 7.938 kB / 0.5347 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.4284, allocations: 0 / 0.5347 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.4284, allocations: 1.219 kB / 0.5347 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.529e-05/0.4284, allocations: 1.156 kB / 0.5347 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.4286, allocations: 146.7 kB / 0.5348 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.947e-05/0.4287, allocations: 20.7 kB / 0.5349 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.048e-05/0.4287, allocations: 5.953 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.116e-06/0.4287, allocations: 4 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.025e-05/0.4288, allocations: 66.25 kB / 0.5349 GB, free: 10.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.352e-06/0.4288, allocations: 0 / 0.5349 GB, free: 10.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002012/0.429, allocations: 62.44 kB / 0.535 GB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.429, allocations: 78.27 kB / 0.5351 GB, free: 10.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.78e-05/0.4291, allocations: 93.81 kB / 0.5352 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.4291, allocations: 26.83 kB / 0.5352 GB, free: 9.984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/0.4292, allocations: 88.02 kB / 0.5353 GB, free: 9.895 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.4292, allocations: 5.219 kB / 0.5353 GB, free: 9.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.4292, allocations: 15.89 kB / 0.5353 GB, free: 9.871 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.4294, allocations: 310.8 kB / 0.5356 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.4294, allocations: 1.156 kB / 0.5356 GB, free: 9.559 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.768e-06/0.4294, allocations: 5.062 kB / 0.5356 GB, free: 9.555 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.775e-05/0.4295, allocations: 59.86 kB / 0.5357 GB, free: 9.484 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4295, allocations: 0 / 0.5357 GB, free: 9.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.464e-05/0.4296, allocations: 66.64 kB / 0.5357 GB, free: 9.414 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.172e-05/0.4296, allocations: 37.33 kB / 0.5358 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4296, allocations: 0 / 0.5358 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.4296, allocations: 1.156 kB / 0.5358 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.815e-06/0.4296, allocations: 0 / 0.5358 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.4296, allocations: 3.938 kB / 0.5358 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.879e-05/0.4297, allocations: 5.188 kB / 0.5358 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.4297, allocations: 1.062 kB / 0.5358 GB, free: 9.371 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.908e-05/0.4298, allocations: 141.7 kB / 0.5359 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.4298, allocations: 13.08 kB / 0.5359 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.548e-06/0.4298, allocations: 3.125 kB / 0.5359 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.4298, allocations: 0 / 0.5359 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4298, allocations: 1.156 kB / 0.5359 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4298, allocations: 0 / 0.5359 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.43, allocations: 143.9 kB / 0.5361 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.43, allocations: 0 / 0.5361 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-07/0.43, allocations: 0 / 0.5361 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.43, allocations: 9.172 kB / 0.5361 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.43, allocations: 0 / 0.5361 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.43, allocations: 1.031 kB / 0.5361 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.43, allocations: 7.938 kB / 0.5361 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.4301, allocations: 86.25 kB / 0.5362 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.4302, allocations: 81.09 kB / 0.5362 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.4302, allocations: 5.094 kB / 0.5362 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.024e-05/0.4302, allocations: 5.031 kB / 0.5362 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.4302, allocations: 1.094 kB / 0.5362 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.4302, allocations: 0 / 0.5362 GB, free: 8.801 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.96e-05/0.4303, allocations: 80.5 kB / 0.5363 GB, free: 8.723 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4303, allocations: 3.938 kB / 0.5363 GB, free: 8.719 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003997/0.4307, allocations: 68.58 kB / 0.5364 GB, free: 8.699 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.0006381/0.4313, allocations: 189.3 kB / 0.5366 GB, free: 8.566 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001109/0.4314, allocations: 60.59 kB / 0.5366 GB, free: 8.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4314, allocations: 1.094 kB / 0.5366 GB, free: 8.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.159e-05/0.4315, allocations: 54.16 kB / 0.5367 GB, free: 8.438 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.4316, allocations: 2.75 kB / 0.5367 GB, free: 8.438 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002113/0.4318, allocations: 82.55 kB / 0.5368 GB, free: 8.336 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.4322, allocations: 0.6741 MB / 0.5374 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.512e-06/0.4323, allocations: 1.375 kB / 0.5374 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.259e-05/0.4323, allocations: 7.438 kB / 0.5374 GB, free: 7.629 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4323, allocations: 4.125 kB / 0.5374 GB, free: 7.625 MB / 398.1 MB Notification: Performance of Templates: time 0.005826/0.4381, allocations: 1.638 MB / 0.539 GB, free: 6.77 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