Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001256/0.001256, allocations: 111.9 kB / 19.17 MB, free: 3.758 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.001369/0.001369, allocations: 212.9 kB / 22.13 MB, free: 0.8047 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.477/1.477, allocations: 230.2 MB / 255.1 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2397/0.2397, allocations: 46.88 MB / 358.1 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002983/0.002983, allocations: 75.88 kB / 0.4923 GB, free: 8.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1517, allocations: 65.99 MB / 0.5568 GB, free: 5.934 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001714/0.1534, allocations: 486.4 kB / 0.5573 GB, free: 5.453 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002751/0.1562, allocations: 1.808 MB / 0.559 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.827e-05/0.1562, allocations: 4 kB / 0.559 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.881e-05/0.1562, allocations: 0 / 0.559 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.781e-06/0.1562, allocations: 0 / 0.559 GB, free: 3.621 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.00108/0.1573, allocations: 235.2 kB / 0.5592 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.914e-05/0.1574, allocations: 0 / 0.5592 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.935e-05/0.1574, allocations: 0 / 0.5592 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.643e-05/0.1574, allocations: 8 kB / 0.5593 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.646e-05/0.1574, allocations: 0 / 0.5593 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.821e-06/0.1574, allocations: 0 / 0.5593 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007821/0.1582, allocations: 435.1 kB / 0.5597 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.334e-06/0.1582, allocations: 0 / 0.5597 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.1582, allocations: 4 kB / 0.5597 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005793/0.1588, allocations: 299.3 kB / 0.56 GB, free: 2.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1588, allocations: 4 kB / 0.56 GB, free: 2.656 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1588, allocations: 0 / 0.56 GB, free: 2.656 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1588, allocations: 0 / 0.56 GB, free: 2.656 MB / 414.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.0005063/0.1593, allocations: 396.7 kB / 0.5603 GB, free: 2.215 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1594, allocations: 8.031 kB / 0.5604 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.1594, allocations: 0.9375 kB / 0.5604 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.1596, allocations: 160.4 kB / 0.5605 GB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.1596, allocations: 384 / 0.5605 GB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.1596, allocations: 12.3 kB / 0.5605 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.764e-05/0.1597, allocations: 30.02 kB / 0.5605 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1597, allocations: 0 / 0.5605 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.1597, allocations: 0 / 0.5605 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1597, allocations: 8 kB / 0.5606 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.835e-05/0.1597, allocations: 4 kB / 0.5606 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.1599, allocations: 149.7 kB / 0.5607 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.338e-05/0.1599, allocations: 18.61 kB / 0.5607 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.841e-05/0.16, allocations: 8.797 kB / 0.5607 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.16, allocations: 3.938 kB / 0.5607 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/0.16, allocations: 60.2 kB / 0.5608 GB, free: 1.641 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.16, allocations: 4 kB / 0.5608 GB, free: 1.637 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001818/0.1602, allocations: 67.45 kB / 0.5609 GB, free: 1.559 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.1603, allocations: 81.11 kB / 0.5609 GB, free: 1.461 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.746e-05/0.1603, allocations: 93.81 kB / 0.561 GB, free: 1.359 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.1603, allocations: 25.7 kB / 0.561 GB, free: 1.328 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.1604, allocations: 80.14 kB / 0.5611 GB, free: 1.246 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.1604, allocations: 0 / 0.5611 GB, free: 1.246 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.1604, allocations: 17.72 kB / 0.5611 GB, free: 1.223 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1606, allocations: 319 kB / 0.5614 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.182e-05/0.1606, allocations: 3.938 kB / 0.5614 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.88e-06/0.1606, allocations: 0 / 0.5614 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.722e-05/0.1606, allocations: 64.2 kB / 0.5615 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1607, allocations: 0 / 0.5615 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.721e-05/0.1607, allocations: 59.41 kB / 0.5616 GB, free: 0.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/0.1608, allocations: 41.62 kB / 0.5616 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1608, allocations: 96 / 0.5616 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1608, allocations: 4 kB / 0.5616 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.1608, allocations: 4 kB / 0.5616 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1608, allocations: 0 / 0.5616 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.575e-05/0.1608, allocations: 0 / 0.5616 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1608, allocations: 0 / 0.5616 GB, free: 0.6953 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 9.807e-05/0.1609, allocations: 139.5 kB / 0.5617 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.009e-05/0.1609, allocations: 3.938 kB / 0.5617 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.554e-06/0.1609, allocations: 3.125 kB / 0.5618 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1609, allocations: 0 / 0.5618 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1609, allocations: 4 kB / 0.5618 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1609, allocations: 3.984 kB / 0.5618 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.161, allocations: 145.7 kB / 0.5619 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.1611, allocations: 0 / 0.5619 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.1611, allocations: 0 / 0.5619 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1611, allocations: 3.938 kB / 0.5619 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.1611, allocations: 0 / 0.5619 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.1611, allocations: 0 / 0.5619 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.1611, allocations: 0 / 0.5619 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.1612, allocations: 98.77 kB / 0.562 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/0.1612, allocations: 77.11 kB / 0.5621 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.1612, allocations: 7.938 kB / 0.5621 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.064e-05/0.1612, allocations: 4 kB / 0.5621 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.1613, allocations: 3.984 kB / 0.5621 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.1613, allocations: 4 kB / 0.5621 GB, free: 104 kB / 414.1 MB Notification: Performance of sorting global known variables: time 3.721e-05/0.1613, allocations: 79.22 kB / 0.5622 GB, free: 24 kB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1613, allocations: 0 / 0.5622 GB, free: 24 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003445/0.1616, allocations: 67.89 kB / 0.5622 GB, free: 15.95 MB / 430.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.000589/0.1622, allocations: 189.1 kB / 0.5624 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000125/0.1624, allocations: 67.39 kB / 0.5625 GB, free: 15.69 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1624, allocations: 0 / 0.5625 GB, free: 15.69 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.99e-05/0.1624, allocations: 59.47 kB / 0.5625 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.1625, allocations: 2.031 kB / 0.5625 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002332/0.1628, allocations: 110.8 kB / 0.5626 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.1632, allocations: 0.6729 MB / 0.5633 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.473e-05/0.1632, allocations: 11.44 kB / 0.5633 GB, free: 14.77 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1632, allocations: 0 / 0.5633 GB, free: 14.77 MB / 430.1 MB Notification: Performance of Templates: time 0.003608/0.1668, allocations: 1.51 MB / 0.5648 GB, free: 13.25 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.424772659083828]