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.00131/0.00131, allocations: 114.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001603/0.001603, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2067/0.2067, allocations: 46.11 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 75.88 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.29, allocations: 62.43 MB / 0.5316 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001584/0.2917, allocations: 0.4907 MB / 0.5321 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002578/0.2943, allocations: 1.792 MB / 0.5339 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.611e-05/0.2943, allocations: 0 / 0.5339 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.493e-05/0.2943, allocations: 5.312 kB / 0.5339 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.27e-06/0.2944, allocations: 0 / 0.5339 GB, free: 12 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.0009297/0.2953, allocations: 224.7 kB / 0.5341 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.29e-05/0.2953, allocations: 5.375 kB / 0.5341 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.537e-05/0.2954, allocations: 1.375 kB / 0.5341 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.462e-05/0.2954, allocations: 3.938 kB / 0.5341 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.39e-05/0.2954, allocations: 1.375 kB / 0.5341 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.3e-06/0.2954, allocations: 0 / 0.5341 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006326/0.2961, allocations: 411.1 kB / 0.5345 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.254e-06/0.2961, allocations: 1.375 kB / 0.5345 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.778e-05/0.2961, allocations: 0 / 0.5345 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004923/0.2966, allocations: 307.2 kB / 0.5348 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2966, allocations: 1.094 kB / 0.5348 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.2966, allocations: 0 / 0.5348 GB, free: 11.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.2966, allocations: 7.938 kB / 0.5348 GB, free: 11.45 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.0004144/0.2971, allocations: 385.9 kB / 0.5352 GB, free: 11.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.2971, allocations: 8.719 kB / 0.5352 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.2971, allocations: 0.9375 kB / 0.5352 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.607e-05/0.2972, allocations: 160.4 kB / 0.5353 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.2972, allocations: 1.531 kB / 0.5353 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.2973, allocations: 1.625 kB / 0.5353 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.192e-05/0.2974, allocations: 36.38 kB / 0.5354 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2974, allocations: 4 kB / 0.5354 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.2974, allocations: 0 / 0.5354 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.2974, allocations: 5 kB / 0.5354 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.126e-05/0.2974, allocations: 1.031 kB / 0.5354 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001283/0.2976, allocations: 150.7 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.448e-05/0.2976, allocations: 17.2 kB / 0.5355 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.365e-05/0.2976, allocations: 6.016 kB / 0.5355 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.959e-06/0.2976, allocations: 3.938 kB / 0.5355 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.2977, allocations: 65.7 kB / 0.5356 GB, free: 10.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.683e-06/0.2977, allocations: 0 / 0.5356 GB, free: 10.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001795/0.2979, allocations: 71.36 kB / 0.5357 GB, free: 10.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.2979, allocations: 77.11 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.78e-05/0.298, allocations: 91.11 kB / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.298, allocations: 29.64 kB / 0.5359 GB, free: 10.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.277e-05/0.298, allocations: 80.14 kB / 0.5359 GB, free: 10.1 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.298, allocations: 1.469 kB / 0.5359 GB, free: 10.1 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.2981, allocations: 15.97 kB / 0.536 GB, free: 10.08 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.653e-05/0.2982, allocations: 314.8 kB / 0.5363 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.153e-05/0.2982, allocations: 5.406 kB / 0.5363 GB, free: 9.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.72e-06/0.2982, allocations: 1.469 kB / 0.5363 GB, free: 9.758 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.537e-05/0.2982, allocations: 62.73 kB / 0.5363 GB, free: 9.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2983, allocations: 5.281 kB / 0.5363 GB, free: 9.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.342e-05/0.2983, allocations: 57.5 kB / 0.5364 GB, free: 9.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.2984, allocations: 41.34 kB / 0.5364 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2984, allocations: 5.031 kB / 0.5364 GB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.2984, allocations: 0 / 0.5364 GB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.213e-06/0.2984, allocations: 1.094 kB / 0.5364 GB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.2984, allocations: 0 / 0.5364 GB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.569e-05/0.2984, allocations: 0.9688 kB / 0.5364 GB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.2984, allocations: 0.8125 kB / 0.5364 GB, free: 9.574 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.682e-05/0.2985, allocations: 141.4 kB / 0.5366 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.846e-06/0.2985, allocations: 1.188 kB / 0.5366 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.217e-06/0.2986, allocations: 11.06 kB / 0.5366 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2986, allocations: 1.125 kB / 0.5366 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2986, allocations: 0 / 0.5366 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/0.2986, allocations: 86.12 kB / 0.5367 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.2986, allocations: 0.9375 kB / 0.5367 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-06/0.2986, allocations: 0 / 0.5367 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.2987, allocations: 0.75 kB / 0.5367 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001239/0.2988, allocations: 199.5 kB / 0.5368 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000148/0.2989, allocations: 243.9 kB / 0.5371 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.033e-05/0.299, allocations: 5.578 kB / 0.5371 GB, free: 8.848 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.119e-05/0.299, allocations: 76.47 kB / 0.5372 GB, free: 8.773 MB / 398.1 MB Notification: Performance of Backend: time 4.01e-07/0.299, allocations: 0 / 0.5372 GB, free: 8.773 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000794/0.2998, allocations: 243.8 kB / 0.5374 GB, free: 8.59 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003523/0.3002, allocations: 0.5783 MB / 0.538 GB, free: 7.957 MB / 398.1 MB Notification: Performance of Templates: time 0.004726/0.3049, allocations: 1.969 MB / 0.5399 GB, free: 6.93 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