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.0008876/0.0008876, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009091/0.0009091, allocations: 169.9 kB / 24.91 MB, free: 9.184 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 0.9528/0.9528, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2532/0.2532, allocations: 34.26 MB / 296.1 MB, free: 0.7383 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.392e-06/1.392e-06, allocations: 0 / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.847e-05, allocations: 5.766 kB / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001078/0.001096, allocations: 0.5467 MB / 325.8 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.003063, allocations: 1.783 MB / 327.6 MB, free: 5.324 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.498e-05/0.003078, allocations: 4 kB / 327.6 MB, free: 5.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.106e-05/0.003089, allocations: 0 / 327.6 MB, free: 5.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.169e-06/0.003094, allocations: 0 / 327.6 MB, free: 5.32 MB / 298.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.0007882/0.003882, allocations: 239.1 kB / 327.8 MB, free: 5.086 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.358e-05/0.003926, allocations: 8.547 kB / 327.8 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.181e-05/0.003957, allocations: 4 kB / 327.8 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.335e-05/0.003981, allocations: 0 / 327.8 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.485e-05/0.003996, allocations: 0 / 327.8 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.222e-06/0.004002, allocations: 0 / 327.8 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005416/0.004543, allocations: 467 kB / 328.3 MB, free: 4.617 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.823e-06/0.00455, allocations: 0 / 328.3 MB, free: 4.617 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.475e-05/0.004565, allocations: 7.984 kB / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.004891, allocations: 347.5 kB / 328.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.004892, allocations: 4 kB / 328.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004893, allocations: 0 / 328.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.004896, allocations: 4 kB / 328.7 MB, free: 4.262 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.0002311/0.005127, allocations: 289.9 kB / 328.9 MB, free: 3.949 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.005158, allocations: 8.031 kB / 328.9 MB, free: 3.941 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.273e-05/0.005181, allocations: 4.938 kB / 328.9 MB, free: 3.938 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.049e-05/0.005232, allocations: 101.8 kB / 329 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.00524, allocations: 384 / 329 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-06/0.005245, allocations: 384 / 329 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.176e-05/0.005306, allocations: 59.95 kB / 329.1 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.005313, allocations: 192 / 329.1 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.00532, allocations: 4.375 kB / 329.1 MB, free: 3.738 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.005325, allocations: 3.938 kB / 329.1 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.83e-05/0.005343, allocations: 33.64 kB / 329.1 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.971e-05/0.005403, allocations: 57.05 kB / 329.2 MB, free: 3.625 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.694e-05/0.00545, allocations: 48.31 kB / 329.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/0.005465, allocations: 34.55 kB / 329.3 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-06/0.005469, allocations: 4.062 kB / 329.3 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.005497, allocations: 56.27 kB / 329.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 5.41e-07/0.005497, allocations: 0 / 329.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 9.906e-05/0.005596, allocations: 118.8 kB / 329.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.005629, allocations: 81.09 kB / 329.5 MB, free: 3.207 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3e-05/0.005659, allocations: 89.86 kB / 329.6 MB, free: 3.109 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.005668, allocations: 25.7 kB / 329.7 MB, free: 3.078 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.906e-05/0.005687, allocations: 80.14 kB / 329.7 MB, free: 2.996 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.005702, allocations: 1.375 kB / 329.7 MB, free: 2.996 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.005723, allocations: 17.72 kB / 329.8 MB, free: 2.973 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.228e-05/0.005796, allocations: 318.8 kB / 330.1 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.00581, allocations: 29.7 kB / 330.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.276e-05/0.005823, allocations: 25.7 kB / 330.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.097e-05/0.005864, allocations: 72.38 kB / 330.2 MB, free: 2.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.005866, allocations: 0 / 330.2 MB, free: 2.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.616e-05/0.005912, allocations: 85.05 kB / 330.3 MB, free: 2.398 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.005937, allocations: 33.7 kB / 330.3 MB, free: 2.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-06/0.005941, allocations: 0 / 330.3 MB, free: 2.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.005949, allocations: 0 / 330.3 MB, free: 2.359 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.434e-06/0.005952, allocations: 3.984 kB / 330.3 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.005955, allocations: 0 / 330.3 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.177e-06/0.005964, allocations: 0 / 330.3 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.005971, allocations: 3.938 kB / 330.3 MB, free: 2.352 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 6.23e-05/0.006033, allocations: 139.6 kB / 330.4 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-06/0.00604, allocations: 7.984 kB / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.859e-06/0.00605, allocations: 3 kB / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.006053, allocations: 4 kB / 330.5 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.006054, allocations: 0 / 330.5 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.006056, allocations: 0 / 330.5 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.082e-05/0.006097, allocations: 65.83 kB / 330.5 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.006098, allocations: 4 kB / 330.5 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.006098, allocations: 0 / 330.5 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.91e-07/0.006099, allocations: 0 / 330.5 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.006104, allocations: 8 kB / 330.5 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.006105, allocations: 0 / 330.5 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.006106, allocations: 0 / 330.5 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.929e-05/0.006165, allocations: 120.4 kB / 330.7 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-06/0.006169, allocations: 4.344 kB / 330.7 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.006181, allocations: 0 / 330.7 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.268e-06/0.006185, allocations: 0 / 330.7 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.018e-05/0.006195, allocations: 4 kB / 330.7 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.006197, allocations: 0 / 330.7 MB, free: 1.938 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.322e-06/0.006203, allocations: 4.859 kB / 330.7 MB, free: 1.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006204, allocations: 0 / 330.7 MB, free: 1.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001879/0.006391, allocations: 71.83 kB / 330.7 MB, free: 1.859 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.000313/0.006704, allocations: 187.3 kB / 330.9 MB, free: 1.684 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.006807, allocations: 123.6 kB / 331 MB, free: 1.535 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.006809, allocations: 0 / 331 MB, free: 1.535 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.986e-05/0.006839, allocations: 94.03 kB / 331.1 MB, free: 1.422 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.201e-05/0.006891, allocations: 7.938 kB / 331.1 MB, free: 1.414 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001461/0.007037, allocations: 108.6 kB / 331.2 MB, free: 1.273 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.845e-05/0.007066, allocations: 51.36 kB / 331.3 MB, free: 1.203 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.781e-06/0.007071, allocations: 0 / 331.3 MB, free: 1.203 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.007109, allocations: 51.38 kB / 331.3 MB, free: 1.148 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.007109, allocations: 0 / 331.3 MB, free: 1.148 MB / 298.7 MB Notification: Performance of Templates: time 0.00323/0.01034, allocations: 1.899 MB / 333.2 MB, free: 15.25 MB / 314.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 -s gbode -gbm=radauIIA3 -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: 2.7788185901008546]