Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 191.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3202/0.3202, allocations: 39.93 MB / 309.4 MB, free: 9.691 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.89 kB / 377.1 MB, free: 13.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1362, allocations: 56.89 MB / 434 MB, free: 4.328 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001918/0.1381, allocations: 0.5441 MB / 434.5 MB, free: 3.781 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006463/0.1446, allocations: 5.049 MB / 439.6 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.123e-05/0.1448, allocations: 0 / 439.6 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.784e-05/0.1448, allocations: 0 / 439.6 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.504e-06/0.1448, allocations: 0 / 439.6 MB, free: 14.69 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:113:3-163: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.001383/0.1462, allocations: 207.5 kB / 439.8 MB, free: 14.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.95e-05/0.1463, allocations: 4 kB / 439.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.706e-05/0.1464, allocations: 0 / 439.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.144e-05/0.1464, allocations: 0 / 439.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.481e-05/0.1464, allocations: 0 / 439.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.1464, allocations: 0 / 439.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006351/0.1471, allocations: 407.2 kB / 440.2 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.1471, allocations: 8 kB / 440.2 MB, free: 14.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.334e-05/0.1471, allocations: 0 / 440.2 MB, free: 14.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004753/0.1476, allocations: 303.4 kB / 440.5 MB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1476, allocations: 4 kB / 440.5 MB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1477, allocations: 0 / 440.5 MB, free: 13.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.1477, allocations: 0 / 440.5 MB, free: 13.78 MB / 382.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.0004589/0.1481, allocations: 381.3 kB / 440.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.1482, allocations: 11.89 kB / 440.9 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.1482, allocations: 0.9375 kB / 440.9 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.1484, allocations: 172.3 kB / 441 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.1484, allocations: 384 / 441 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.1484, allocations: 8.359 kB / 441.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.654e-05/0.1485, allocations: 29.83 kB / 441.1 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1486, allocations: 0 / 441.1 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1486, allocations: 0 / 441.1 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1486, allocations: 4 kB / 441.1 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.863e-05/0.1486, allocations: 0 / 441.1 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.1488, allocations: 145.7 kB / 441.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.545e-05/0.1488, allocations: 30.53 kB / 441.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.473e-05/0.1488, allocations: 4.859 kB / 441.3 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.53e-06/0.1488, allocations: 0 / 441.3 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.151e-05/0.1489, allocations: 64.14 kB / 441.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.1489, allocations: 0 / 441.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001881/0.1491, allocations: 71.36 kB / 441.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.1492, allocations: 85.23 kB / 441.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.793e-05/0.1493, allocations: 93.86 kB / 441.6 MB, free: 12.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1493, allocations: 29.64 kB / 441.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/0.1493, allocations: 84.08 kB / 441.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.1493, allocations: 0 / 441.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.1494, allocations: 13.72 kB / 441.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1495, allocations: 310.8 kB / 442 MB, free: 12.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.517e-06/0.1495, allocations: 0 / 442 MB, free: 12.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.859e-06/0.1496, allocations: 0 / 442 MB, free: 12.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.068e-05/0.1496, allocations: 72.31 kB / 442.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1496, allocations: 0 / 442.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.326e-05/0.1497, allocations: 59.41 kB / 442.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.037e-05/0.1498, allocations: 33.64 kB / 442.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1498, allocations: 0 / 442.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1498, allocations: 0 / 442.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.935e-06/0.1498, allocations: 7.938 kB / 442.2 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.1498, allocations: 3.984 kB / 442.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.795e-05/0.1499, allocations: 0 / 442.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.1499, allocations: 8.016 kB / 442.2 MB, free: 11.82 MB / 382.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.977e-05/0.15, allocations: 139.5 kB / 442.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.113e-05/0.15, allocations: 7.938 kB / 442.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.208e-05/0.15, allocations: 3.125 kB / 442.3 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.62e-07/0.15, allocations: 0 / 442.3 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.15, allocations: 0 / 442.3 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.15, allocations: 0 / 442.3 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.1501, allocations: 149.7 kB / 442.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1502, allocations: 0 / 442.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.1502, allocations: 4 kB / 442.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1502, allocations: 3.938 kB / 442.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.1502, allocations: 0 / 442.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.42e-07/0.1502, allocations: 0 / 442.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1502, allocations: 0 / 442.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.1503, allocations: 90.83 kB / 442.6 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.951e-05/0.1504, allocations: 84.98 kB / 442.7 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.1504, allocations: 7.938 kB / 442.7 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-06/0.1504, allocations: 4.031 kB / 442.7 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.1504, allocations: 0 / 442.7 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.1504, allocations: 0 / 442.7 MB, free: 11.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.124e-05/0.1505, allocations: 75.28 kB / 442.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1505, allocations: 0 / 442.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003241/0.1508, allocations: 71.98 kB / 442.8 MB, free: 11.08 MB / 382.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.0004666/0.1513, allocations: 194.3 kB / 443 MB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.819e-05/0.1514, allocations: 63.41 kB / 443.1 MB, free: 10.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1514, allocations: 0 / 443.1 MB, free: 10.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.685e-05/0.1514, allocations: 59.39 kB / 443.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.1516, allocations: 0 / 443.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001901/0.1518, allocations: 85.06 kB / 443.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.1521, allocations: 0.6768 MB / 443.9 MB, free: 9.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.993e-06/0.1521, allocations: 0 / 443.9 MB, free: 9.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.259e-05/0.1521, allocations: 7.438 kB / 443.9 MB, free: 9.922 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1521, allocations: 0 / 443.9 MB, free: 9.922 MB / 382.1 MB Notification: Performance of Templates: time 0.004355/0.1565, allocations: 1.686 MB / 445.6 MB, free: 8.234 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials.pipe 2>&1)