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.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.001002/0.001002, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001158/0.001158, allocations: 173.6 kB / 24.91 MB, free: 8.77 MB / 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.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.3047/0.3047, allocations: 32.81 MB / 294.6 MB, free: 1.184 MB / 266.7 MB " [Timeout remaining time 180] 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.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.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 2.254e-06/2.254e-06, allocations: 0 / 323.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.49e-05/3.715e-05, allocations: 2.312 kB / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.002526/0.002563, allocations: 0.499 MB / 323.7 MB, free: 9.211 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002603/0.005167, allocations: 1.775 MB / 325.5 MB, free: 7.414 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.403e-05/0.005191, allocations: 0 / 325.5 MB, free: 7.414 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.005211, allocations: 7.938 kB / 325.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.866e-06/0.00522, allocations: 0 / 325.5 MB, free: 7.406 MB / 298.7 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.001168/0.006389, allocations: 251 kB / 325.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.38e-05/0.006442, allocations: 0.625 kB / 325.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.006487, allocations: 4 kB / 325.7 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.093e-05/0.006528, allocations: 11.98 kB / 325.7 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.333e-05/0.006551, allocations: 0 / 325.7 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.006561, allocations: 0 / 325.7 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006431/0.007204, allocations: 454.9 kB / 326.2 MB, free: 6.699 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.007216, allocations: 0 / 326.2 MB, free: 6.699 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.726e-05/0.007234, allocations: 0 / 326.2 MB, free: 6.699 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004658/0.007699, allocations: 355 kB / 326.5 MB, free: 6.352 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.007705, allocations: 0 / 326.5 MB, free: 6.352 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.007707, allocations: 0 / 326.5 MB, free: 6.352 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.007713, allocations: 0 / 326.5 MB, free: 6.352 MB / 298.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.0003561/0.00807, allocations: 289.8 kB / 326.8 MB, free: 6.039 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.008113, allocations: 16.03 kB / 326.8 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.008147, allocations: 4.922 kB / 326.8 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.099e-05/0.008218, allocations: 105.8 kB / 326.9 MB, free: 5.891 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.008229, allocations: 4.375 kB / 326.9 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.008239, allocations: 384 / 326.9 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.161e-05/0.00832, allocations: 51.97 kB / 327 MB, free: 5.824 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.008329, allocations: 4.188 kB / 327 MB, free: 5.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.008336, allocations: 384 / 327 MB, free: 5.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.008343, allocations: 3.938 kB / 327 MB, free: 5.816 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.696e-05/0.00836, allocations: 25.7 kB / 327 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.661e-05/0.008437, allocations: 65.03 kB / 327.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.532e-05/0.008492, allocations: 48.22 kB / 327.1 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.6e-05/0.008518, allocations: 38.64 kB / 327.2 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-06/0.008522, allocations: 0 / 327.2 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.008563, allocations: 64.27 kB / 327.2 MB, free: 5.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.008564, allocations: 0 / 327.2 MB, free: 5.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001536/0.008718, allocations: 118.7 kB / 327.4 MB, free: 5.379 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.008758, allocations: 77.11 kB / 327.4 MB, free: 5.285 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.59e-05/0.008794, allocations: 89.86 kB / 327.5 MB, free: 5.188 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.008804, allocations: 25.83 kB / 327.5 MB, free: 5.156 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.548e-05/0.008829, allocations: 88.14 kB / 327.6 MB, free: 5.066 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.008858, allocations: 1.203 kB / 327.6 MB, free: 5.066 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.008893, allocations: 9.719 kB / 327.6 MB, free: 5.051 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.925e-05/0.008992, allocations: 322.8 kB / 328 MB, free: 4.727 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.67e-05/0.009019, allocations: 25.7 kB / 328 MB, free: 4.695 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.347e-05/0.009033, allocations: 25.7 kB / 328 MB, free: 4.664 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.361e-05/0.009086, allocations: 60.27 kB / 328.1 MB, free: 4.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.009089, allocations: 0 / 328.1 MB, free: 4.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.084e-05/0.009159, allocations: 93.12 kB / 328.2 MB, free: 4.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/0.009196, allocations: 37.7 kB / 328.2 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.009203, allocations: 3.984 kB / 328.2 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.009217, allocations: 3.938 kB / 328.2 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.787e-06/0.009221, allocations: 0 / 328.2 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.009225, allocations: 4 kB / 328.2 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.595e-05/0.009241, allocations: 0 / 328.2 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.009249, allocations: 3.938 kB / 328.2 MB, free: 4.422 MB / 298.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 8.1e-05/0.00933, allocations: 139.5 kB / 328.3 MB, free: 4.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.954e-06/0.009337, allocations: 3.984 kB / 328.3 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.277e-05/0.00935, allocations: 3 kB / 328.4 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.009352, allocations: 4 kB / 328.4 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.009355, allocations: 0 / 328.4 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.009359, allocations: 0 / 328.4 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.229e-05/0.009421, allocations: 65.84 kB / 328.4 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.009422, allocations: 0 / 328.4 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.943e-06/0.009424, allocations: 0 / 328.4 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.009425, allocations: 0 / 328.4 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.009431, allocations: 0 / 328.4 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.009432, allocations: 4 kB / 328.4 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.009433, allocations: 0 / 328.4 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.764e-05/0.009521, allocations: 120.4 kB / 328.5 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-06/0.009526, allocations: 352 / 328.5 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.00954, allocations: 4 kB / 328.5 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.051e-06/0.009546, allocations: 3.984 kB / 328.5 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.046e-05/0.009556, allocations: 0 / 328.5 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.009561, allocations: 4 kB / 328.6 MB, free: 4.016 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.534e-06/0.009568, allocations: 4.859 kB / 328.6 MB, free: 4.008 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009569, allocations: 0 / 328.6 MB, free: 4.008 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002575/0.009826, allocations: 67.8 kB / 328.6 MB, free: 3.941 MB / 298.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.0005031/0.01033, allocations: 194.3 kB / 328.8 MB, free: 3.758 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.01047, allocations: 115.7 kB / 328.9 MB, free: 3.617 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.01047, allocations: 0 / 328.9 MB, free: 3.617 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.592e-05/0.01051, allocations: 93.89 kB / 329 MB, free: 3.504 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.822e-05/0.01057, allocations: 3.938 kB / 329 MB, free: 3.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002104/0.01078, allocations: 117.5 kB / 329.1 MB, free: 3.352 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.846e-05/0.01082, allocations: 55.36 kB / 329.2 MB, free: 3.277 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.703e-06/0.01082, allocations: 0 / 329.2 MB, free: 3.277 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.647e-05/0.01087, allocations: 55.36 kB / 329.2 MB, free: 3.223 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01087, allocations: 0 / 329.2 MB, free: 3.223 MB / 298.7 MB Notification: Performance of Templates: time 0.004504/0.01537, allocations: 1.89 MB / 331.1 MB, free: 1.336 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1027111508883536]