Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002077/0.002077, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002538/0.002538, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.54/1.54, allocations: 177.2 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3865/0.3865, allocations: 34.26 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.585e-05, allocations: 2.312 kB / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001494/0.00152, allocations: 0.4926 MB / 377.8 MB, free: 2.492 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002945/0.004465, allocations: 1.744 MB / 379.5 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.368e-05/0.004479, allocations: 4 kB / 379.5 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.093e-05/0.004489, allocations: 0 / 379.5 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.09e-06/0.004495, allocations: 0 / 379.5 MB, free: 0.7227 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.001079/0.005573, allocations: 259 kB / 379.8 MB, free: 480 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.295e-05/0.005616, allocations: 4 kB / 379.8 MB, free: 476 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.757e-05/0.005644, allocations: 0 / 379.8 MB, free: 476 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.104e-05/0.005665, allocations: 0 / 379.8 MB, free: 476 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.536e-05/0.00568, allocations: 0 / 379.8 MB, free: 476 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.005692, allocations: 3.984 kB / 379.8 MB, free: 472 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00084/0.006532, allocations: 454.9 kB / 380.2 MB, free: 16 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.807e-06/0.006541, allocations: 4 kB / 380.2 MB, free: 12 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.006569, allocations: 4 kB / 380.2 MB, free: 8 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005802/0.007149, allocations: 343 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.007152, allocations: 0 / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.007153, allocations: 0 / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.007157, allocations: 0 / 380.6 MB, free: 15.67 MB / 362.7 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.0006771/0.007834, allocations: 315.6 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.007868, allocations: 8.031 kB / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.007912, allocations: 0.9375 kB / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.008017, allocations: 105.8 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.008028, allocations: 384 / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-06/0.008036, allocations: 4.375 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.008147, allocations: 63.89 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.008155, allocations: 192 / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.008163, allocations: 384 / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.008169, allocations: 3.938 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.479e-05/0.008204, allocations: 25.7 kB / 381.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001283/0.008332, allocations: 101.3 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.892e-05/0.008401, allocations: 48.36 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.598e-05/0.008447, allocations: 30.56 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.275e-06/0.008456, allocations: 3.938 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.915e-05/0.008515, allocations: 64.2 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.008516, allocations: 4 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002296/0.008745, allocations: 118.8 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.933e-05/0.008815, allocations: 81.05 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.455e-05/0.008879, allocations: 89.86 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.0089, allocations: 25.7 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.458e-05/0.008945, allocations: 80.14 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.008958, allocations: 0 / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.008993, allocations: 17.72 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.009174, allocations: 311 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.153e-05/0.009206, allocations: 33.7 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.461e-05/0.009231, allocations: 29.69 kB / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.419e-05/0.009305, allocations: 64.2 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.009306, allocations: 0 / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001139/0.00942, allocations: 89.11 kB / 382.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.924e-05/0.009459, allocations: 35.72 kB / 382.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.009463, allocations: 0 / 382.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.009482, allocations: 4 kB / 382.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.009483, allocations: 0 / 382.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.009489, allocations: 8.031 kB / 382.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.409e-05/0.009503, allocations: 0 / 382.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.009509, allocations: 0 / 382.3 MB, free: 13.67 MB / 362.7 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.0001104/0.00962, allocations: 135.5 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.009631, allocations: 3.953 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.04e-05/0.009641, allocations: 7 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.009642, allocations: 0 / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.009646, allocations: 4 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.009653, allocations: 11.86 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.401e-05/0.009747, allocations: 97.33 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.009748, allocations: 4 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.009748, allocations: 0 / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.009749, allocations: 0 / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.009757, allocations: 4 kB / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.009758, allocations: 0 / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.009759, allocations: 0 / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.009895, allocations: 124.4 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-06/0.009899, allocations: 0 / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.009915, allocations: 4 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.636e-06/0.009923, allocations: 0 / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.009945, allocations: 3.984 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.009947, allocations: 4.031 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.737e-05/0.009995, allocations: 83.2 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009995, allocations: 0 / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003321/0.01033, allocations: 63.81 kB / 382.8 MB, free: 13.05 MB / 362.7 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.0005021/0.01083, allocations: 209.7 kB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.01097, allocations: 114.8 kB / 383.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01097, allocations: 0 / 383.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.632e-05/0.01104, allocations: 81.11 kB / 383.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.01116, allocations: 0 / 383.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002186/0.01138, allocations: 108 kB / 383.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.405e-05/0.01143, allocations: 55.36 kB / 383.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.629e-06/0.01144, allocations: 0 / 383.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.336e-05/0.01145, allocations: 8.5 kB / 383.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01145, allocations: 0 / 383.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of Templates: time 0.005041/0.01649, allocations: 1.671 MB / 385.1 MB, free: 10.71 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 4.823273402056657]