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.001428/0.001428, allocations: 122.7 kB / 18.46 MB, free: 4.59 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.001823/0.001824, allocations: 211.3 kB / 21.4 MB, free: 1.645 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.539/1.539, allocations: 227.4 MB / 251.6 MB, free: 48 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.2338/0.2338, allocations: 46.17 MB / 351.1 MB, free: 14.36 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.002201/0.002201, allocations: 81.67 kB / 490.2 MB, free: 28.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1358, allocations: 62.45 MB / 0.5397 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001795/0.1377, allocations: 498.2 kB / 0.5401 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002855/0.1405, allocations: 1.791 MB / 0.5419 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.039e-05/0.1406, allocations: 0 / 0.5419 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.574e-05/0.1406, allocations: 3.938 kB / 0.5419 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.618e-06/0.1406, allocations: 3.938 kB / 0.5419 GB, free: 1.949 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.0009324/0.1416, allocations: 227.3 kB / 0.5421 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.719e-05/0.1416, allocations: 0 / 0.5421 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.787e-05/0.1417, allocations: 4 kB / 0.5421 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.457e-05/0.1417, allocations: 3.938 kB / 0.5421 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.411e-05/0.1417, allocations: 0 / 0.5421 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.328e-06/0.1417, allocations: 0 / 0.5421 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006708/0.1424, allocations: 407.2 kB / 0.5425 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.012e-06/0.1424, allocations: 0 / 0.5425 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.61e-05/0.1424, allocations: 4 kB / 0.5425 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004529/0.1429, allocations: 307.2 kB / 0.5428 GB, free: 1.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1429, allocations: 4 kB / 0.5428 GB, free: 1.012 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1429, allocations: 0 / 0.5428 GB, free: 1.012 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.1429, allocations: 0 / 0.5428 GB, free: 1.012 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.0004483/0.1434, allocations: 392.7 kB / 0.5432 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.1434, allocations: 8.031 kB / 0.5432 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.1434, allocations: 4.938 kB / 0.5432 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.1436, allocations: 164.4 kB / 0.5433 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.1436, allocations: 8.359 kB / 0.5434 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.1436, allocations: 384 / 0.5434 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.412e-05/0.1437, allocations: 38.02 kB / 0.5434 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1437, allocations: 0 / 0.5434 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1437, allocations: 4 kB / 0.5434 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.1437, allocations: 3.938 kB / 0.5434 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.448e-05/0.1438, allocations: 0 / 0.5434 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.1439, allocations: 145.7 kB / 0.5435 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.586e-05/0.144, allocations: 18.61 kB / 0.5436 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.43e-05/0.144, allocations: 4.859 kB / 0.5436 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.777e-06/0.144, allocations: 4 kB / 0.5436 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.979e-05/0.1441, allocations: 60.53 kB / 0.5436 GB, free: 16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1441, allocations: 4 kB / 0.5436 GB, free: 15.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001695/0.1443, allocations: 67.27 kB / 0.5437 GB, free: 15.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/0.1443, allocations: 81.11 kB / 0.5438 GB, free: 15.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.28e-05/0.1444, allocations: 93.81 kB / 0.5439 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.1444, allocations: 25.7 kB / 0.5439 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.1445, allocations: 88.2 kB / 0.544 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.1445, allocations: 0 / 0.544 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.1446, allocations: 17.72 kB / 0.544 GB, free: 15.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1447, allocations: 310.8 kB / 0.5443 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-06/0.1447, allocations: 0 / 0.5443 GB, free: 15.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.95e-06/0.1447, allocations: 3.938 kB / 0.5443 GB, free: 15.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.47e-05/0.1448, allocations: 68.19 kB / 0.5443 GB, free: 15.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1448, allocations: 0 / 0.5443 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.814e-05/0.1449, allocations: 67.47 kB / 0.5444 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.1449, allocations: 29.7 kB / 0.5444 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1449, allocations: 3.938 kB / 0.5444 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1449, allocations: 4 kB / 0.5444 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.145, allocations: 0 / 0.5444 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.145, allocations: 3.984 kB / 0.5445 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.352e-05/0.145, allocations: 0 / 0.5445 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.145, allocations: 0 / 0.5445 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 8.981e-05/0.1451, allocations: 135.5 kB / 0.5446 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/0.1451, allocations: 4.031 kB / 0.5446 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.019e-05/0.1451, allocations: 7.062 kB / 0.5446 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.1451, allocations: 0 / 0.5446 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1451, allocations: 0 / 0.5446 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1451, allocations: 0 / 0.5446 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.1453, allocations: 153.7 kB / 0.5447 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.1453, allocations: 0 / 0.5447 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1453, allocations: 0 / 0.5447 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.1453, allocations: 0 / 0.5447 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1453, allocations: 3.938 kB / 0.5447 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1453, allocations: 4 kB / 0.5447 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1453, allocations: 11.94 kB / 0.5448 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.1454, allocations: 86.83 kB / 0.5448 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.1455, allocations: 77.11 kB / 0.5449 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.1455, allocations: 7.938 kB / 0.5449 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-06/0.1455, allocations: 0 / 0.5449 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.319e-05/0.1455, allocations: 3.984 kB / 0.5449 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.1455, allocations: 0 / 0.5449 GB, free: 14.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.988e-05/0.1456, allocations: 79.31 kB / 0.545 GB, free: 14.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1456, allocations: 3.938 kB / 0.545 GB, free: 14.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003084/0.1459, allocations: 67.8 kB / 0.5451 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.0004557/0.1463, allocations: 196.2 kB / 0.5453 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.919e-05/0.1465, allocations: 67.34 kB / 0.5453 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1465, allocations: 0 / 0.5453 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.561e-05/0.1465, allocations: 63.39 kB / 0.5454 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001118/0.1466, allocations: 0 / 0.5454 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001616/0.1468, allocations: 81.06 kB / 0.5455 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.1471, allocations: 0.669 MB / 0.5461 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.739e-06/0.1471, allocations: 0 / 0.5461 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.304e-05/0.1471, allocations: 11.55 kB / 0.5461 GB, free: 13.15 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1471, allocations: 4 kB / 0.5461 GB, free: 13.14 MB / 414.1 MB Notification: Performance of Templates: time 0.004609/0.1518, allocations: 1.621 MB / 0.5477 GB, free: 11.52 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.9223168436437845]