Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 107.1 kB / 19.8 MB, free: 2.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 192 kB / 22.98 MB, free: 5.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 225.6 MB / 251.6 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2665/0.2665, allocations: 44.91 MB / 351.6 MB, free: 12.23 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 63.89 kB / 495.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4047, allocations: 64.26 MB / 0.5464 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001937/0.4066, allocations: 0.4997 MB / 0.5469 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00305/0.4097, allocations: 1.771 MB / 0.5486 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.4097, allocations: 1.531 kB / 0.5486 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.003e-05/0.4097, allocations: 0 / 0.5486 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.883e-06/0.4097, allocations: 0 / 0.5486 GB, free: 11.45 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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.001122/0.4108, allocations: 228.9 kB / 0.5488 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.99e-05/0.4109, allocations: 9.344 kB / 0.5488 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.653e-05/0.411, allocations: 0 / 0.5488 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.795e-05/0.411, allocations: 1.781 kB / 0.5488 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.899e-05/0.411, allocations: 0 / 0.5488 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.174e-06/0.411, allocations: 1.406 kB / 0.5488 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007665/0.4118, allocations: 440.1 kB / 0.5492 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.4118, allocations: 0 / 0.5492 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.4118, allocations: 1.094 kB / 0.5492 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005362/0.4123, allocations: 305.7 kB / 0.5495 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.4124, allocations: 0 / 0.5495 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4124, allocations: 0 / 0.5495 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.4124, allocations: 1.219 kB / 0.5495 GB, free: 10.88 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.0006026/0.413, allocations: 396.7 kB / 0.5499 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.413, allocations: 8.5 kB / 0.5499 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.4131, allocations: 6.094 kB / 0.5499 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.4132, allocations: 164.4 kB / 0.5501 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.4132, allocations: 1.562 kB / 0.5501 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.4132, allocations: 1.625 kB / 0.5501 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.4133, allocations: 32.23 kB / 0.5501 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.4133, allocations: 0 / 0.5501 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.4133, allocations: 0 / 0.5501 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.4133, allocations: 0.9375 kB / 0.5501 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.538e-05/0.4134, allocations: 8.922 kB / 0.5501 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.4135, allocations: 150.8 kB / 0.5503 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.029e-05/0.4136, allocations: 16.77 kB / 0.5503 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.535e-05/0.4136, allocations: 5.891 kB / 0.5503 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.4136, allocations: 0 / 0.5503 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.32e-05/0.4136, allocations: 62.33 kB / 0.5503 GB, free: 9.902 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.4136, allocations: 0 / 0.5503 GB, free: 9.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001874/0.4138, allocations: 74.97 kB / 0.5504 GB, free: 9.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.4139, allocations: 82.39 kB / 0.5505 GB, free: 9.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.149e-05/0.414, allocations: 89.86 kB / 0.5506 GB, free: 9.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.414, allocations: 25.7 kB / 0.5506 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.327e-05/0.414, allocations: 81.05 kB / 0.5507 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.414, allocations: 0 / 0.5507 GB, free: 9.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.4141, allocations: 11.91 kB / 0.5507 GB, free: 9.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4142, allocations: 315.9 kB / 0.551 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.4142, allocations: 1.5 kB / 0.551 GB, free: 9.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.076e-06/0.4142, allocations: 8 kB / 0.551 GB, free: 9.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.445e-05/0.4143, allocations: 68.3 kB / 0.5511 GB, free: 9.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.4143, allocations: 0 / 0.5511 GB, free: 9.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.16e-05/0.4144, allocations: 62.38 kB / 0.5511 GB, free: 9.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.932e-05/0.4144, allocations: 39.16 kB / 0.5512 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4144, allocations: 0 / 0.5512 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.4144, allocations: 1.156 kB / 0.5512 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.4144, allocations: 0 / 0.5512 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.4144, allocations: 0 / 0.5512 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.606e-05/0.4144, allocations: 5.625 kB / 0.5512 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.4144, allocations: 0 / 0.5512 GB, free: 8.988 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.000109/0.4146, allocations: 139.2 kB / 0.5513 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.4146, allocations: 9.234 kB / 0.5513 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.104e-05/0.4146, allocations: 3.125 kB / 0.5513 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4146, allocations: 3.984 kB / 0.5513 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4146, allocations: 1.344 kB / 0.5513 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4146, allocations: 0 / 0.5513 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.4147, allocations: 143.1 kB / 0.5515 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.4147, allocations: 7.938 kB / 0.5515 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.4147, allocations: 1.594 kB / 0.5515 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.4147, allocations: 3.938 kB / 0.5515 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.4147, allocations: 1.25 kB / 0.5515 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4147, allocations: 0 / 0.5515 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4147, allocations: 0 / 0.5515 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.4148, allocations: 93.86 kB / 0.5516 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.6e-05/0.4149, allocations: 78.77 kB / 0.5516 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.4149, allocations: 11.95 kB / 0.5516 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-06/0.4149, allocations: 1.469 kB / 0.5516 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.478e-05/0.4149, allocations: 0 / 0.5516 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.4149, allocations: 1.219 kB / 0.5516 GB, free: 8.414 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.931e-05/0.415, allocations: 75.28 kB / 0.5517 GB, free: 8.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.415, allocations: 0 / 0.5517 GB, free: 8.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003564/0.4153, allocations: 68.55 kB / 0.5518 GB, free: 8.32 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.0004906/0.4158, allocations: 190.4 kB / 0.552 GB, free: 8.191 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.4159, allocations: 68.7 kB / 0.552 GB, free: 8.117 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4159, allocations: 0 / 0.552 GB, free: 8.117 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.429e-05/0.416, allocations: 53.75 kB / 0.5521 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.4161, allocations: 5.375 kB / 0.5521 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002231/0.4163, allocations: 91.88 kB / 0.5522 GB, free: 7.949 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.4167, allocations: 0.6738 MB / 0.5528 GB, free: 7.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.432e-06/0.4167, allocations: 1.562 kB / 0.5528 GB, free: 7.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.536e-05/0.4167, allocations: 7.438 kB / 0.5528 GB, free: 7.242 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4167, allocations: 0 / 0.5528 GB, free: 7.242 MB / 398.1 MB Notification: Performance of Templates: time 0.004964/0.4217, allocations: 1.636 MB / 0.5544 GB, free: 6.391 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.412073493003845]