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.001797/0.001797, allocations: 113.8 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002458/0.002458, allocations: 208 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.602/2.602, allocations: 227.4 MB / 247.6 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.4234/0.4234, allocations: 46.09 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002946/0.002946, allocations: 71.88 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5241/0.5271, allocations: 62.43 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.002529/0.5296, allocations: 491.9 kB / 0.5321 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004057/0.5337, allocations: 1.792 MB / 0.5339 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.738e-05/0.5338, allocations: 0 / 0.5339 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.5338, allocations: 0 / 0.5339 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.983e-06/0.5339, allocations: 4 kB / 0.5339 GB, free: 11.8 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.001397/0.5353, allocations: 228.6 kB / 0.5341 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.491e-05/0.5354, allocations: 1.375 kB / 0.5341 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.912e-05/0.5354, allocations: 1.375 kB / 0.5341 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.16e-05/0.5354, allocations: 9.297 kB / 0.5341 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.767e-05/0.5355, allocations: 4 kB / 0.5341 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.703e-06/0.5355, allocations: 0 / 0.5341 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.5366, allocations: 412.1 kB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.676e-06/0.5366, allocations: 1.062 kB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.147e-05/0.5366, allocations: 0.8438 kB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007175/0.5374, allocations: 294.9 kB / 0.5348 GB, free: 11.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.5374, allocations: 1.406 kB / 0.5348 GB, free: 11.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5374, allocations: 0 / 0.5348 GB, free: 11.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.5374, allocations: 0 / 0.5348 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.0005465/0.538, allocations: 392.6 kB / 0.5352 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.5381, allocations: 16.89 kB / 0.5352 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.5381, allocations: 4.938 kB / 0.5352 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.5383, allocations: 161.5 kB / 0.5353 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.5383, allocations: 4.312 kB / 0.5353 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.5383, allocations: 5.375 kB / 0.5353 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.5385, allocations: 32.2 kB / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.5385, allocations: 0 / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.5385, allocations: 1.25 kB / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.5385, allocations: 0 / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.722e-05/0.5386, allocations: 5.094 kB / 0.5354 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002346/0.5388, allocations: 147 kB / 0.5355 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.735e-05/0.5389, allocations: 24.67 kB / 0.5355 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.798e-05/0.5389, allocations: 5.953 kB / 0.5355 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.539, allocations: 1.125 kB / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.103e-05/0.539, allocations: 61.39 kB / 0.5356 GB, free: 10.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.894e-06/0.5391, allocations: 0 / 0.5356 GB, free: 10.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002426/0.5393, allocations: 67.14 kB / 0.5357 GB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.5394, allocations: 78.23 kB / 0.5357 GB, free: 10.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.893e-05/0.5395, allocations: 97.81 kB / 0.5358 GB, free: 10.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.5395, allocations: 25.7 kB / 0.5359 GB, free: 9.977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.5396, allocations: 85.2 kB / 0.5359 GB, free: 9.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.5396, allocations: 0 / 0.5359 GB, free: 9.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.234e-05/0.5397, allocations: 12.06 kB / 0.536 GB, free: 9.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.5399, allocations: 312.1 kB / 0.5363 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.945e-05/0.5399, allocations: 13.02 kB / 0.5363 GB, free: 9.551 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.058e-05/0.5399, allocations: 1.125 kB / 0.5363 GB, free: 9.551 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.229e-05/0.54, allocations: 62.61 kB / 0.5363 GB, free: 9.477 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.54, allocations: 5.094 kB / 0.5363 GB, free: 9.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001208/0.5402, allocations: 58.56 kB / 0.5364 GB, free: 9.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.411e-05/0.5402, allocations: 34.25 kB / 0.5364 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.5403, allocations: 4.969 kB / 0.5364 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.5403, allocations: 0 / 0.5364 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.346e-06/0.5403, allocations: 5.188 kB / 0.5364 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.5403, allocations: 3.984 kB / 0.5364 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.678e-05/0.5404, allocations: 1.094 kB / 0.5364 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.5404, allocations: 0 / 0.5364 GB, free: 9.363 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 0.0001415/0.5405, allocations: 142.9 kB / 0.5366 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.5406, allocations: 0 / 0.5366 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.794e-05/0.5406, allocations: 8.219 kB / 0.5366 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.5406, allocations: 3.984 kB / 0.5366 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.5406, allocations: 0 / 0.5366 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.383e-05/0.5407, allocations: 90.09 kB / 0.5367 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.5407, allocations: 1.062 kB / 0.5367 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.637e-05/0.5408, allocations: 1.156 kB / 0.5367 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.636e-05/0.5408, allocations: 0 / 0.5367 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000195/0.541, allocations: 191 kB / 0.5369 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002359/0.5412, allocations: 243.7 kB / 0.5371 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.34e-05/0.5413, allocations: 9.969 kB / 0.5371 GB, free: 8.637 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.277e-05/0.5413, allocations: 76.31 kB / 0.5372 GB, free: 8.562 MB / 398.1 MB Notification: Performance of Backend: time 6.31e-07/0.5414, allocations: 0 / 0.5372 GB, free: 8.562 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.5426, allocations: 252 kB / 0.5374 GB, free: 8.375 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005577/0.5432, allocations: 0.5773 MB / 0.538 GB, free: 7.742 MB / 398.1 MB Notification: Performance of Templates: time 0.008165/0.5514, allocations: 1.964 MB / 0.5399 GB, free: 6.719 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches