Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00122/0.00122, allocations: 91.22 kB / 20.43 MB, free: 4.141 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.0009823/0.0009823, allocations: 169 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8914/0.8914, allocations: 158.6 MB / 185.7 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1165/0.1165, allocations: 32.36 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 347.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.758e-05, allocations: 4.281 kB / 347.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.0009259/0.0009435, allocations: 0.5275 MB / 348.2 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003892/0.004836, allocations: 5.047 MB / 353.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.677e-05/0.004853, allocations: 0 / 353.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.004869, allocations: 0 / 353.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.062e-06/0.004875, allocations: 0 / 353.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008315/0.005707, allocations: 255 kB / 353.5 MB, free: 3.617 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.947e-05/0.005756, allocations: 4 kB / 353.5 MB, free: 3.613 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.596e-05/0.005792, allocations: 7.984 kB / 353.5 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.623e-05/0.005819, allocations: 3.984 kB / 353.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.632e-05/0.005835, allocations: 0 / 353.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.123e-06/0.005842, allocations: 0 / 353.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004361/0.006278, allocations: 447 kB / 353.9 MB, free: 3.164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.544e-06/0.006286, allocations: 0 / 353.9 MB, free: 3.164 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.618e-05/0.006302, allocations: 4 kB / 353.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.006599, allocations: 347 kB / 354.3 MB, free: 2.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.006601, allocations: 0 / 354.3 MB, free: 2.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.006602, allocations: 0 / 354.3 MB, free: 2.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.006605, allocations: 0 / 354.3 MB, free: 2.82 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.0002273/0.006833, allocations: 421.5 kB / 354.7 MB, free: 2.367 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.006866, allocations: 8.031 kB / 354.7 MB, free: 2.359 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.0069, allocations: 0.9375 kB / 354.7 MB, free: 2.359 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.508e-05/0.006935, allocations: 104.6 kB / 354.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.006947, allocations: 4.375 kB / 354.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-06/0.006956, allocations: 384 / 354.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.414e-05/0.00704, allocations: 63.95 kB / 354.9 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.007049, allocations: 192 / 354.9 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.007061, allocations: 8.109 kB / 354.9 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.007067, allocations: 0 / 354.9 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.531e-05/0.007083, allocations: 33.64 kB / 354.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.632e-05/0.007159, allocations: 108.6 kB / 355 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.706e-05/0.007196, allocations: 48.77 kB / 355 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.536e-05/0.007211, allocations: 41.47 kB / 355.1 MB, free: 1.848 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.809e-06/0.007216, allocations: 0 / 355.1 MB, free: 1.848 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.007245, allocations: 59.09 kB / 355.1 MB, free: 1.773 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.007246, allocations: 4 kB / 355.2 MB, free: 1.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001731/0.007419, allocations: 126.7 kB / 355.3 MB, free: 1.621 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.007449, allocations: 81.05 kB / 355.4 MB, free: 1.523 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.496e-05/0.007474, allocations: 142.2 kB / 355.5 MB, free: 1.371 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.001e-06/0.00748, allocations: 25.7 kB / 355.5 MB, free: 1.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.152e-05/0.007492, allocations: 126.9 kB / 355.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.007508, allocations: 4.297 kB / 355.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/0.007529, allocations: 23.38 kB / 355.7 MB, free: 1.176 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.318e-05/0.007582, allocations: 492.1 kB / 356.1 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.261e-05/0.007594, allocations: 29.83 kB / 356.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.556e-06/0.007603, allocations: 29.7 kB / 356.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.542e-05/0.007638, allocations: 67.08 kB / 356.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.00764, allocations: 0 / 356.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.272e-05/0.007683, allocations: 96.98 kB / 356.4 MB, free: 428 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.007701, allocations: 29.7 kB / 356.4 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.007707, allocations: 3.984 kB / 356.4 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.007722, allocations: 0 / 356.4 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.006e-06/0.007725, allocations: 0 / 356.4 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.007731, allocations: 7.938 kB / 356.4 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.828e-06/0.007741, allocations: 4.094 kB / 356.4 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.007747, allocations: 0 / 356.4 MB, free: 376 kB / 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 4.55e-05/0.007792, allocations: 182.3 kB / 356.6 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-06/0.007796, allocations: 0 / 356.6 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.181e-05/0.007808, allocations: 3 kB / 356.6 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.00781, allocations: 0 / 356.6 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.007815, allocations: 3.938 kB / 356.6 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.007818, allocations: 4 kB / 356.6 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.638e-05/0.007855, allocations: 112.6 kB / 356.7 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.3e-07/0.007855, allocations: 0 / 356.7 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.71e-07/0.007855, allocations: 4 kB / 356.7 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-07/0.007856, allocations: 0 / 356.7 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.007862, allocations: 0 / 356.7 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.007863, allocations: 4 kB / 356.7 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007863, allocations: 3.938 kB / 356.7 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.368e-05/0.007957, allocations: 135.8 kB / 356.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-06/0.00796, allocations: 0 / 356.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.007972, allocations: 4 kB / 356.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.288e-06/0.007976, allocations: 0 / 356.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.007987, allocations: 0 / 356.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.00799, allocations: 7.969 kB / 356.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.475e-05/0.008015, allocations: 123.2 kB / 357 MB, free: 15.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008015, allocations: 0 / 357 MB, free: 15.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001911/0.008206, allocations: 67.8 kB / 357.1 MB, free: 15.64 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.0003205/0.008527, allocations: 193.5 kB / 357.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.425e-05/0.008621, allocations: 130.4 kB / 357.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008623, allocations: 0 / 357.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.85e-05/0.008651, allocations: 88.8 kB / 357.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.481e-05/0.008736, allocations: 0 / 357.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001534/0.008889, allocations: 117.6 kB / 357.6 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.963e-05/0.008919, allocations: 59.31 kB / 357.6 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.079e-06/0.008924, allocations: 0 / 357.6 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.182e-05/0.008936, allocations: 8.5 kB / 357.6 MB, free: 14.95 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.008936, allocations: 0 / 357.6 MB, free: 14.95 MB / 298.7 MB Notification: Performance of Templates: time 0.003109/0.01205, allocations: 1.747 MB / 359.4 MB, free: 13.2 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.030395665206015]