Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001434/0.001434, allocations: 115 kB / 19.13 MB, free: 3.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001574/0.001574, allocations: 202.6 kB / 22.07 MB, free: 1 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 252.3 MB, free: 60 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2443/0.2443, allocations: 46.16 MB / 351.8 MB, free: 14.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 77.92 kB / 490.8 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1251, allocations: 62.45 MB / 0.5403 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001612/0.1267, allocations: 489.1 kB / 0.5408 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002764/0.1295, allocations: 1.791 MB / 0.5425 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.79e-05/0.1295, allocations: 4 kB / 0.5425 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.56e-05/0.1296, allocations: 0 / 0.5425 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.282e-06/0.1296, allocations: 0 / 0.5425 GB, free: 1.957 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.001087/0.1307, allocations: 231.2 kB / 0.5428 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.104e-05/0.1307, allocations: 4 kB / 0.5428 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.645e-05/0.1308, allocations: 4 kB / 0.5428 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.945e-05/0.1308, allocations: 3.938 kB / 0.5428 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.772e-05/0.1308, allocations: 0 / 0.5428 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.851e-06/0.1309, allocations: 0 / 0.5428 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006962/0.1316, allocations: 411.2 kB / 0.5432 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.865e-06/0.1316, allocations: 0 / 0.5432 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.1316, allocations: 0 / 0.5432 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000475/0.1321, allocations: 303.3 kB / 0.5435 GB, free: 1.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1321, allocations: 0 / 0.5435 GB, free: 1.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.389e-06/0.1321, allocations: 0 / 0.5435 GB, free: 1.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1321, allocations: 3.938 kB / 0.5435 GB, free: 1.016 MB / 398.1 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.0004613/0.1326, allocations: 399.6 kB / 0.5438 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.1326, allocations: 8.031 kB / 0.5439 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.1327, allocations: 4.875 kB / 0.5439 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.1328, allocations: 168.3 kB / 0.544 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1328, allocations: 384 / 0.544 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-06/0.1328, allocations: 384 / 0.544 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.1329, allocations: 38.02 kB / 0.5441 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.133, allocations: 0 / 0.5441 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.133, allocations: 0 / 0.5441 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.133, allocations: 7.984 kB / 0.5441 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.797e-05/0.133, allocations: 0 / 0.5441 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.1332, allocations: 141.7 kB / 0.5442 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.335e-05/0.1332, allocations: 22.55 kB / 0.5442 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.744e-05/0.1333, allocations: 4.859 kB / 0.5442 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.849e-06/0.1333, allocations: 0 / 0.5442 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.771e-05/0.1334, allocations: 68.53 kB / 0.5443 GB, free: 16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1334, allocations: 0 / 0.5443 GB, free: 16 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002014/0.1336, allocations: 67.33 kB / 0.5444 GB, free: 15.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/0.1337, allocations: 77.11 kB / 0.5444 GB, free: 15.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.107e-05/0.1337, allocations: 93.81 kB / 0.5445 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.1338, allocations: 33.58 kB / 0.5445 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.1338, allocations: 80.14 kB / 0.5446 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.1338, allocations: 0 / 0.5446 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/0.1339, allocations: 17.84 kB / 0.5446 GB, free: 15.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1341, allocations: 318.8 kB / 0.5449 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.093e-05/0.1341, allocations: 0 / 0.5449 GB, free: 15.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.275e-06/0.1341, allocations: 4 kB / 0.5449 GB, free: 15.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.122e-05/0.1342, allocations: 56.27 kB / 0.545 GB, free: 15.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1342, allocations: 0 / 0.545 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.586e-05/0.1343, allocations: 67.39 kB / 0.5451 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.144e-05/0.1343, allocations: 33.7 kB / 0.5451 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.1343, allocations: 12.02 kB / 0.5451 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1343, allocations: 0 / 0.5451 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.715e-06/0.1344, allocations: 3.938 kB / 0.5451 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1344, allocations: 0 / 0.5451 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.789e-05/0.1344, allocations: 4 kB / 0.5451 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.1344, allocations: 0 / 0.5451 GB, free: 15.05 MB / 414.1 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 0.0001087/0.1345, allocations: 135.5 kB / 0.5452 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-06/0.1345, allocations: 0 / 0.5452 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.416e-05/0.1345, allocations: 11.05 kB / 0.5453 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1345, allocations: 4 kB / 0.5453 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1346, allocations: 4 kB / 0.5453 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1346, allocations: 0 / 0.5453 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.1347, allocations: 145.7 kB / 0.5454 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1347, allocations: 3.938 kB / 0.5454 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.01e-07/0.1347, allocations: 0 / 0.5454 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.1347, allocations: 0 / 0.5454 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1347, allocations: 7.938 kB / 0.5454 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1347, allocations: 0 / 0.5454 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1347, allocations: 3.984 kB / 0.5454 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.1349, allocations: 90.84 kB / 0.5455 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.1349, allocations: 77.11 kB / 0.5456 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.1349, allocations: 11.86 kB / 0.5456 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.475e-06/0.135, allocations: 0 / 0.5456 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.337e-06/0.135, allocations: 0 / 0.5456 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.135, allocations: 4 kB / 0.5456 GB, free: 14.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.469e-05/0.135, allocations: 79.22 kB / 0.5457 GB, free: 14.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.135, allocations: 0 / 0.5457 GB, free: 14.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003312/0.1354, allocations: 67.83 kB / 0.5457 GB, free: 14.31 MB / 414.1 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.0005013/0.1359, allocations: 188.7 kB / 0.5459 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001148/0.136, allocations: 63.39 kB / 0.546 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.136, allocations: 4.062 kB / 0.546 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.185e-05/0.1361, allocations: 59.41 kB / 0.546 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/0.1362, allocations: 0 / 0.546 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000202/0.1364, allocations: 110.8 kB / 0.5461 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.1367, allocations: 0.6728 MB / 0.5468 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.061e-05/0.1367, allocations: 11.38 kB / 0.5468 GB, free: 13.12 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1367, allocations: 4 kB / 0.5468 GB, free: 13.12 MB / 414.1 MB Notification: Performance of Templates: time 0.003595/0.1403, allocations: 1.498 MB / 0.5483 GB, free: 11.62 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.290869113057852]