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.001076/0.001076, allocations: 107.8 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001144/0.001144, allocations: 205.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2226/0.2226, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 75.88 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3472, allocations: 62.44 MB / 0.5316 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001701/0.3489, allocations: 491 kB / 0.5321 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002619/0.3516, allocations: 1.792 MB / 0.5339 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.689e-05/0.3516, allocations: 0 / 0.5339 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.001e-05/0.3516, allocations: 3.938 kB / 0.5339 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.424e-06/0.3517, allocations: 1.281 kB / 0.5339 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.001061/0.3527, allocations: 228.1 kB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.629e-05/0.3528, allocations: 5.297 kB / 0.5341 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.3528, allocations: 1.406 kB / 0.5341 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.157e-05/0.3529, allocations: 5.344 kB / 0.5341 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.646e-05/0.3529, allocations: 0 / 0.5341 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.981e-06/0.3529, allocations: 0 / 0.5341 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000687/0.3536, allocations: 415.5 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.055e-06/0.3536, allocations: 0 / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.206e-05/0.3536, allocations: 1.656 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004655/0.3541, allocations: 309.6 kB / 0.5348 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3541, allocations: 1.125 kB / 0.5348 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3541, allocations: 0 / 0.5348 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.3542, allocations: 0 / 0.5348 GB, free: 11.25 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.0004425/0.3546, allocations: 384.8 kB / 0.5352 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3546, allocations: 9.625 kB / 0.5352 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.3547, allocations: 2.312 kB / 0.5352 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.3548, allocations: 164.4 kB / 0.5353 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.3548, allocations: 384 / 0.5353 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.3548, allocations: 5.75 kB / 0.5353 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.617e-05/0.3549, allocations: 32.77 kB / 0.5354 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3549, allocations: 3.938 kB / 0.5354 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.355, allocations: 0 / 0.5354 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.355, allocations: 1.375 kB / 0.5354 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.832e-05/0.355, allocations: 5.312 kB / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/0.3552, allocations: 151 kB / 0.5355 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.937e-05/0.3552, allocations: 15.95 kB / 0.5355 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.3552, allocations: 14.23 kB / 0.5355 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.3552, allocations: 0 / 0.5355 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/0.3553, allocations: 61.58 kB / 0.5356 GB, free: 10.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.3553, allocations: 0 / 0.5356 GB, free: 10.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001819/0.3555, allocations: 67.58 kB / 0.5357 GB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.3555, allocations: 77.11 kB / 0.5357 GB, free: 10.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.551e-05/0.3556, allocations: 91.23 kB / 0.5358 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.3556, allocations: 29.83 kB / 0.5359 GB, free: 9.988 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.641e-05/0.3557, allocations: 88.08 kB / 0.5359 GB, free: 9.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.3557, allocations: 1.375 kB / 0.5359 GB, free: 9.898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.3557, allocations: 11.09 kB / 0.5359 GB, free: 9.883 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3558, allocations: 316.2 kB / 0.5363 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-06/0.3558, allocations: 1.375 kB / 0.5363 GB, free: 9.566 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-06/0.3559, allocations: 0 / 0.5363 GB, free: 9.566 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.913e-05/0.3559, allocations: 60.39 kB / 0.5363 GB, free: 9.496 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3559, allocations: 8 kB / 0.5363 GB, free: 9.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.65e-05/0.356, allocations: 62.28 kB / 0.5364 GB, free: 9.422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/0.356, allocations: 39.12 kB / 0.5364 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3561, allocations: 0 / 0.5364 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3561, allocations: 1.375 kB / 0.5364 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.203e-06/0.3561, allocations: 0 / 0.5364 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3561, allocations: 0 / 0.5364 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.3561, allocations: 5.359 kB / 0.5364 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.3561, allocations: 0 / 0.5364 GB, free: 9.379 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 9.432e-05/0.3562, allocations: 142.3 kB / 0.5366 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.3562, allocations: 5.312 kB / 0.5366 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.718e-06/0.3562, allocations: 3.125 kB / 0.5366 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.3563, allocations: 0 / 0.5366 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3563, allocations: 1.375 kB / 0.5366 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3563, allocations: 3.984 kB / 0.5366 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.571e-05/0.3564, allocations: 151 kB / 0.5367 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.3564, allocations: 0 / 0.5367 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.02e-07/0.3564, allocations: 1.375 kB / 0.5367 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3564, allocations: 3.938 kB / 0.5367 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.3564, allocations: 5.375 kB / 0.5367 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3564, allocations: 0 / 0.5367 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3564, allocations: 7.875 kB / 0.5367 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.361e-05/0.3565, allocations: 89.83 kB / 0.5368 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.3566, allocations: 78.48 kB / 0.5369 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.3566, allocations: 5.312 kB / 0.5369 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.079e-05/0.3566, allocations: 0 / 0.5369 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.3566, allocations: 9.391 kB / 0.5369 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.3566, allocations: 4 kB / 0.5369 GB, free: 8.797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.924e-05/0.3567, allocations: 75.28 kB / 0.537 GB, free: 8.723 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3567, allocations: 5.312 kB / 0.537 GB, free: 8.719 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003425/0.357, allocations: 64.12 kB / 0.537 GB, free: 8.703 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.000506/0.3575, allocations: 180 kB / 0.5372 GB, free: 8.578 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.3577, allocations: 68.83 kB / 0.5373 GB, free: 8.504 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3577, allocations: 0 / 0.5373 GB, free: 8.504 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.5e-05/0.3577, allocations: 55.53 kB / 0.5373 GB, free: 8.441 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.3579, allocations: 1.375 kB / 0.5373 GB, free: 8.441 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002072/0.3581, allocations: 101.5 kB / 0.5374 GB, free: 8.316 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.3583, allocations: 0.6741 MB / 0.5381 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.299e-05/0.3584, allocations: 11.56 kB / 0.5381 GB, free: 7.605 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3584, allocations: 1.375 kB / 0.5381 GB, free: 7.605 MB / 398.1 MB Notification: Performance of Templates: time 0.004322/0.3627, allocations: 1.509 MB / 0.5396 GB, free: 6.848 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