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.001438/0.001438, allocations: 81.95 kB / 21.42 MB, free: 3.078 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.001972/0.001972, allocations: 169.3 kB / 24.82 MB, free: 8.391 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.067/1.067, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.2805/0.2805, allocations: 34.26 MB / 296.1 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] 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.864e-06/1.864e-06, allocations: 3.938 kB / 378.5 MB, free: 2.438 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.165e-05, allocations: 6.312 kB / 378.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001221/0.001243, allocations: 0.5046 MB / 379 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.003146, allocations: 1.763 MB / 380.7 MB, free: 140 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.407e-05/0.00317, allocations: 0 / 380.7 MB, free: 140 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.78e-05/0.003188, allocations: 4 kB / 380.7 MB, free: 136 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.474e-06/0.003195, allocations: 3.938 kB / 380.7 MB, free: 132 kB / 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.001408/0.004603, allocations: 259 kB / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.862e-05/0.004662, allocations: 4 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.426e-05/0.004706, allocations: 0 / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.687e-05/0.004743, allocations: 0 / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.394e-05/0.004767, allocations: 7.984 kB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.896e-06/0.004776, allocations: 0 / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.00581, allocations: 450.9 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.005822, allocations: 0 / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.75e-05/0.00584, allocations: 0 / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004984/0.006338, allocations: 351 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.006342, allocations: 4 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.006343, allocations: 0 / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.006346, allocations: 0 / 381.8 MB, free: 15.07 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.0003067/0.006653, allocations: 417.5 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.00669, allocations: 8.031 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.541e-05/0.006716, allocations: 0.9375 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.132e-05/0.006767, allocations: 116.6 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.006776, allocations: 384 / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-06/0.006781, allocations: 384 / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.595e-05/0.006847, allocations: 59.95 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.006854, allocations: 4.188 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.00686, allocations: 4.359 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.006865, allocations: 3.938 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.311e-05/0.006879, allocations: 25.7 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.213e-05/0.006951, allocations: 93.27 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.976e-05/0.00699, allocations: 56.73 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.513e-05/0.007006, allocations: 33.39 kB / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-06/0.007011, allocations: 3.984 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.007047, allocations: 63.16 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.323e-06/0.007048, allocations: 0 / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001458/0.007194, allocations: 122.8 kB / 382.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.007225, allocations: 81.09 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.018e-05/0.007265, allocations: 142.2 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.007274, allocations: 29.64 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/0.007303, allocations: 126.9 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/0.007316, allocations: 352 / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.007337, allocations: 19.38 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.007439, allocations: 496.1 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.946e-05/0.007458, allocations: 29.7 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.24e-05/0.007471, allocations: 25.7 kB / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.218e-05/0.007513, allocations: 75.27 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.007515, allocations: 0 / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.504e-05/0.00757, allocations: 89.06 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.007593, allocations: 29.7 kB / 383.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.007598, allocations: 0 / 383.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.007609, allocations: 4 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.91e-07/0.00761, allocations: 3.938 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.007614, allocations: 7.984 kB / 383.9 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.228e-05/0.007627, allocations: 3.938 kB / 383.9 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.007631, allocations: 3.938 kB / 383.9 MB, free: 12.64 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 6.88e-05/0.0077, allocations: 186.3 kB / 384.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-06/0.007706, allocations: 0 / 384.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.093e-05/0.007717, allocations: 3 kB / 384.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.007718, allocations: 0 / 384.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.00772, allocations: 0 / 384.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.007724, allocations: 4 kB / 384.1 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.64e-05/0.00778, allocations: 97.19 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.007781, allocations: 0 / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.007782, allocations: 0 / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.007783, allocations: 0 / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.007787, allocations: 8 kB / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.007788, allocations: 4 kB / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.007789, allocations: 0 / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.889e-05/0.007878, allocations: 135.7 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-06/0.007882, allocations: 0 / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.007892, allocations: 0 / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-06/0.0079, allocations: 4 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.477e-06/0.007909, allocations: 0 / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-06/0.007911, allocations: 0 / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.826e-05/0.007939, allocations: 119.2 kB / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007939, allocations: 32 / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00025/0.008189, allocations: 71.8 kB / 384.5 MB, free: 11.95 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.0003503/0.008539, allocations: 204.1 kB / 384.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.076e-05/0.00863, allocations: 126.4 kB / 384.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.008632, allocations: 64 / 384.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.938e-05/0.008661, allocations: 92.8 kB / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.911e-05/0.00875, allocations: 5.969 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000138/0.008888, allocations: 117.6 kB / 385.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.408e-05/0.008912, allocations: 55.36 kB / 385.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.099e-06/0.008917, allocations: 0 / 385.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.008951, allocations: 70.2 kB / 385.2 MB, free: 11.19 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.008951, allocations: 0 / 385.2 MB, free: 11.19 MB / 362.7 MB Notification: Performance of Templates: time 0.003219/0.01217, allocations: 1.932 MB / 387.1 MB, free: 9.25 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","",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.137405992951244]