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.0027/0.0027, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.003056/0.003056, allocations: 165.3 kB / 24.27 MB, free: 156 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.592/1.592, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.3787/0.3787, allocations: 34.27 MB / 295.3 MB, free: 0.6797 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.303e-06/1.303e-06, allocations: 0 / 377.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.504e-05, allocations: 2.312 kB / 377.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001531/0.001556, allocations: 0.4893 MB / 377.8 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003154/0.00471, allocations: 1.763 MB / 379.5 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.539e-05/0.004725, allocations: 0 / 379.5 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.256e-05/0.004738, allocations: 0 / 379.5 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.681e-06/0.004744, allocations: 4 kB / 379.5 MB, free: 0.7109 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.001135/0.005879, allocations: 251 kB / 379.8 MB, free: 476 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.371e-05/0.005922, allocations: 4 kB / 379.8 MB, free: 472 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.114e-05/0.005953, allocations: 0 / 379.8 MB, free: 472 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.181e-05/0.005985, allocations: 7.984 kB / 379.8 MB, free: 464 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.982e-05/0.006005, allocations: 4 kB / 379.8 MB, free: 460 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.314e-06/0.006012, allocations: 0 / 379.8 MB, free: 460 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008997/0.006912, allocations: 454.6 kB / 380.2 MB, free: 8 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.334e-06/0.006919, allocations: 0 / 380.2 MB, free: 8 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.677e-05/0.006936, allocations: 0 / 380.2 MB, free: 8 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006414/0.007578, allocations: 347 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.007581, allocations: 0 / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.007582, allocations: 0 / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.007587, 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.0005155/0.008102, allocations: 417.5 kB / 381 MB, free: 15.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.00814, allocations: 12.03 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.008176, allocations: 4.938 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.00828, allocations: 104.6 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.008291, allocations: 384 / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.008301, allocations: 4.375 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.008409, allocations: 55.95 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.008418, allocations: 8.109 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.008425, allocations: 384 / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.008431, allocations: 7.938 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.548e-05/0.008466, allocations: 29.7 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.008603, allocations: 108.7 kB / 381.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.947e-05/0.008683, allocations: 52.77 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.973e-05/0.008722, allocations: 37.45 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.008731, allocations: 0 / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.282e-05/0.008794, allocations: 63.08 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.008794, allocations: 3.938 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002231/0.009017, allocations: 118.8 kB / 381.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/0.009089, allocations: 85.05 kB / 381.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.009193, allocations: 146.2 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.009213, allocations: 25.7 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.00928, allocations: 126.9 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.009299, allocations: 8.125 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.009339, allocations: 19.38 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002682/0.009607, allocations: 492.1 kB / 382.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.742e-05/0.009634, allocations: 25.7 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.262e-05/0.009657, allocations: 29.7 kB / 382.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.649e-05/0.009733, allocations: 75.02 kB / 382.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.009735, allocations: 0 / 382.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000106/0.009841, allocations: 89.11 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.009877, allocations: 29.7 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.009881, allocations: 4.094 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.009893, allocations: 0 / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.986e-06/0.009896, allocations: 4 kB / 382.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.009903, allocations: 3.938 kB / 382.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.483e-05/0.009918, allocations: 3.984 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.009923, allocations: 0 / 382.7 MB, free: 13.21 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.0001455/0.01007, allocations: 182.3 kB / 382.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.01008, allocations: 7.953 kB / 382.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.504e-06/0.01009, allocations: 3 kB / 382.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.01009, allocations: 0 / 382.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.01009, allocations: 4 kB / 382.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.0101, allocations: 7.938 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.0102, allocations: 108.6 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.0102, allocations: 3.938 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.0102, allocations: 0 / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.0102, allocations: 0 / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.01021, allocations: 4 kB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.01021, allocations: 0 / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01021, allocations: 0 / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.01036, allocations: 131.8 kB / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-06/0.01036, allocations: 0 / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.01038, allocations: 11.97 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.316e-06/0.01039, allocations: 0 / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.0104, allocations: 0 / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.0104, allocations: 0 / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.931e-05/0.01047, allocations: 123.1 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01047, allocations: 0 / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000308/0.01078, allocations: 71.8 kB / 383.4 MB, free: 12.48 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.0005632/0.01134, allocations: 205.4 kB / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.01151, allocations: 126.4 kB / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01151, allocations: 0 / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.334e-05/0.01158, allocations: 88.8 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.0117, allocations: 4 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002497/0.01195, allocations: 117.6 kB / 383.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.025e-05/0.01201, allocations: 55.36 kB / 383.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.53e-06/0.01202, allocations: 4.125 kB / 383.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.597e-05/0.01203, allocations: 8.5 kB / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01203, allocations: 0 / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of Templates: time 0.005556/0.01759, allocations: 1.681 MB / 385.6 MB, free: 10.11 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 240] 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: 5.014945014030673]