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.001004/0.001004, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001546/0.00255, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001008/0.001008, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001463/0.002471, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.993/0.993, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1033/1.096, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.2651/0.2651, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0252/0.2903, allocations: 12.53 MB / 289.3 MB, free: 8.672 MB / 282.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.024e-06/2.024e-06, allocations: 0 / 290.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.874e-05, allocations: 4.094 kB / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.00204/0.002069, allocations: 0.5473 MB / 291.1 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002596/0.004665, allocations: 1.796 MB / 292.9 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.567e-05/0.00468, allocations: 0 / 292.9 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.278e-06/0.004685, allocations: 0 / 292.9 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.61e-07/0.004686, allocations: 0 / 292.9 MB, free: 5.801 MB / 282.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.0009961/0.005682, allocations: 231.4 kB / 293.2 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.025e-05/0.005742, allocations: 2 kB / 293.2 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.005783, allocations: 11.92 kB / 293.2 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.417e-05/0.005818, allocations: 2 kB / 293.2 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.386e-05/0.005841, allocations: 2 kB / 293.2 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.255e-06/0.00585, allocations: 4 kB / 293.2 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007789/0.006629, allocations: 448.5 kB / 293.6 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.876e-06/0.006637, allocations: 0 / 293.6 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.513e-05/0.006653, allocations: 4 kB / 293.6 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004764/0.007129, allocations: 283.2 kB / 293.9 MB, free: 5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.809e-05/0.007147, allocations: 0 / 293.9 MB, free: 5 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.007148, allocations: 0 / 293.9 MB, free: 5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.212e-05/0.00717, allocations: 0 / 293.9 MB, free: 5 MB / 282.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.000399/0.007569, allocations: 309.9 kB / 294.2 MB, free: 4.668 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.007608, allocations: 8.031 kB / 294.2 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.007649, allocations: 8.938 kB / 294.2 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.564e-05/0.007724, allocations: 105.8 kB / 294.3 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.00774, allocations: 384 / 294.3 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.00775, allocations: 8.312 kB / 294.3 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.147e-05/0.007842, allocations: 51.97 kB / 294.4 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.00785, allocations: 192 / 294.4 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.007856, allocations: 384 / 294.4 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.007864, allocations: 7.938 kB / 294.4 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.51e-05/0.00789, allocations: 25.7 kB / 294.4 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.618e-05/0.007966, allocations: 61.03 kB / 294.5 MB, free: 4.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.798e-05/0.008014, allocations: 52.2 kB / 294.5 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/0.008033, allocations: 34.66 kB / 294.6 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-06/0.008037, allocations: 0 / 294.6 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.008076, allocations: 60.27 kB / 294.6 MB, free: 4.156 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 2.314e-06/0.008078, allocations: 3.984 kB / 294.6 MB, free: 4.152 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001536/0.008232, allocations: 118.7 kB / 294.7 MB, free: 4.012 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.008274, allocations: 77.11 kB / 294.8 MB, free: 3.918 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.91e-05/0.008313, allocations: 93.86 kB / 294.9 MB, free: 3.816 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.008329, allocations: 25.7 kB / 294.9 MB, free: 3.785 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.195e-05/0.008351, allocations: 80.14 kB / 295 MB, free: 3.703 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.008369, allocations: 4.125 kB / 295 MB, free: 3.699 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.008402, allocations: 13.72 kB / 295 MB, free: 3.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.806e-05/0.00849, allocations: 318.8 kB / 295.3 MB, free: 3.359 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/0.00851, allocations: 25.7 kB / 295.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.456e-05/0.008525, allocations: 29.7 kB / 295.4 MB, free: 3.293 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.717e-05/0.008582, allocations: 60.27 kB / 295.5 MB, free: 3.219 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.008584, allocations: 0 / 295.5 MB, free: 3.219 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.82e-05/0.008652, allocations: 93.03 kB / 295.5 MB, free: 3.109 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.475e-05/0.008697, allocations: 33.7 kB / 295.6 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.008702, allocations: 4.094 kB / 295.6 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.008711, allocations: 0 / 295.6 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.05e-06/0.008716, allocations: 0 / 295.6 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.008718, allocations: 0 / 295.6 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.86e-05/0.008737, allocations: 0 / 295.6 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.008745, allocations: 3.938 kB / 295.6 MB, free: 3.062 MB / 282.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.776e-05/0.008833, allocations: 139.5 kB / 295.7 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.876e-06/0.008841, allocations: 4 kB / 295.7 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.808e-06/0.008851, allocations: 3 kB / 295.7 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.008853, allocations: 0 / 295.7 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.008855, allocations: 7.938 kB / 295.7 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.008859, allocations: 4 kB / 295.7 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.747e-05/0.008916, allocations: 70.52 kB / 295.8 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.008918, allocations: 4 kB / 295.8 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/0.008919, allocations: 0 / 295.8 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-06/0.008923, allocations: 0 / 295.8 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.008925, allocations: 0 / 295.8 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.008932, allocations: 3.984 kB / 295.8 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.008933, allocations: 0 / 295.8 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.008937, allocations: 4 kB / 295.8 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.489e-05/0.009032, allocations: 116.4 kB / 295.9 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.009044, allocations: 4.031 kB / 295.9 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.167e-05/0.009056, allocations: 4 kB / 295.9 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-06/0.009065, allocations: 4 kB / 295.9 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.009069, allocations: 0 / 295.9 MB, free: 2.641 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.524e-06/0.009076, allocations: 4.859 kB / 295.9 MB, free: 2.633 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009076, allocations: 0 / 295.9 MB, free: 2.633 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003038/0.00938, allocations: 63.8 kB / 296 MB, free: 2.57 MB / 282.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.0005667/0.009947, allocations: 196.5 kB / 296.2 MB, free: 2.387 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.01006, allocations: 111.7 kB / 296.3 MB, free: 2.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.01006, allocations: 0 / 296.3 MB, free: 2.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.816e-05/0.0101, allocations: 93.89 kB / 296.4 MB, free: 2.137 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.552e-05/0.01016, allocations: 7.938 kB / 296.4 MB, free: 2.129 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/0.01043, allocations: 117.3 kB / 296.5 MB, free: 1.98 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.945e-05/0.01046, allocations: 59.42 kB / 296.6 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.433e-06/0.01046, allocations: 4 kB / 296.6 MB, free: 1.898 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.01051, allocations: 51.38 kB / 296.6 MB, free: 1.848 MB / 282.7 MB Notification: Performance of SimCode: time 1.353e-06/0.01051, allocations: 0 / 296.6 MB, free: 1.848 MB / 282.7 MB Notification: Performance of Templates: time 0.0034/0.01391, allocations: 1.894 MB / 298.5 MB, free: 15.95 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 -ignoreHideResult -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: 2.8340337704867125]