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.001198/0.001198, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001507/0.001507, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.3555/0.3555, allocations: 40 MB / 310.4 MB, free: 9.945 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.0007209/0.000721, allocations: 16 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1356, allocations: 57.97 MB / 436.8 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.0006819/0.1364, allocations: 222.1 kB / 437 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006651/0.1431, allocations: 4.752 MB / 441.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.2e-05/0.1431, allocations: 0 / 441.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.043e-05/0.1431, allocations: 0 / 441.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.474e-06/0.1432, allocations: 0 / 441.8 MB, free: 13.57 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.0009377/0.1441, allocations: 187.5 kB / 441.9 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.184e-05/0.1441, allocations: 4 kB / 442 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.187e-05/0.1442, allocations: 0 / 442 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.028e-05/0.1442, allocations: 7.984 kB / 442 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.592e-05/0.1442, allocations: 0 / 442 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.791e-06/0.1443, allocations: 0 / 442 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006538/0.1449, allocations: 371.3 kB / 442.3 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.203e-06/0.1449, allocations: 0 / 442.3 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.1451, allocations: 25.7 kB / 442.3 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003857/0.1454, allocations: 211.6 kB / 442.6 MB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1455, allocations: 0 / 442.6 MB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1455, allocations: 4 kB / 442.6 MB, free: 12.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1455, allocations: 0 / 442.6 MB, free: 12.77 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.0005498/0.146, allocations: 381.1 kB / 442.9 MB, free: 12.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1461, allocations: 12.03 kB / 442.9 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.1461, allocations: 3.984 kB / 442.9 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.1463, allocations: 167 kB / 443.1 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.1463, allocations: 0 / 443.1 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.1463, allocations: 0 / 443.1 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.291e-05/0.1464, allocations: 41.64 kB / 443.1 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1464, allocations: 0 / 443.1 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1464, allocations: 3.953 kB / 443.2 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.1464, allocations: 0 / 443.2 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.987e-05/0.1465, allocations: 0 / 443.2 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.1466, allocations: 149.7 kB / 443.3 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.433e-05/0.1467, allocations: 18.52 kB / 443.3 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.365e-05/0.1467, allocations: 12.89 kB / 443.3 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.1467, allocations: 4 kB / 443.3 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.745e-05/0.1468, allocations: 60.27 kB / 443.4 MB, free: 11.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.1468, allocations: 0 / 443.4 MB, free: 11.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001805/0.147, allocations: 71.25 kB / 443.5 MB, free: 11.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.147, allocations: 77.11 kB / 443.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.153e-05/0.1471, allocations: 89.86 kB / 443.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.1471, allocations: 25.7 kB / 443.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/0.1472, allocations: 80.14 kB / 443.7 MB, free: 11.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.1472, allocations: 8.125 kB / 443.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.1472, allocations: 3.938 kB / 443.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1473, allocations: 318.8 kB / 444.1 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-06/0.1474, allocations: 0 / 444.1 MB, free: 11.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-06/0.1474, allocations: 0 / 444.1 MB, free: 11.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.33e-05/0.1474, allocations: 33.69 kB / 444.1 MB, free: 11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1474, allocations: 0 / 444.1 MB, free: 11 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.602e-05/0.1475, allocations: 59.41 kB / 444.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.1475, allocations: 33.8 kB / 444.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1476, allocations: 0 / 444.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.1476, allocations: 0 / 444.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.1476, allocations: 0 / 444.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1476, allocations: 7.938 kB / 444.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.971e-05/0.1476, allocations: 4 kB / 444.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.1476, allocations: 0 / 444.2 MB, free: 10.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.997e-05/0.1477, allocations: 135.5 kB / 444.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.1478, allocations: 4 kB / 444.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.515e-05/0.1478, allocations: 7.125 kB / 444.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1478, allocations: 3.938 kB / 444.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1478, allocations: 0 / 444.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.1478, allocations: 7.891 kB / 444.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.1479, allocations: 145.7 kB / 444.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1479, allocations: 0 / 444.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-06/0.1479, allocations: 8 kB / 444.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1479, allocations: 0 / 444.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.148, allocations: 0 / 444.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.148, allocations: 0 / 444.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.148, allocations: 0 / 444.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.1481, allocations: 98.78 kB / 444.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.1481, allocations: 77.11 kB / 444.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.1482, allocations: 0 / 444.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.079e-05/0.1482, allocations: 0 / 444.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.095e-05/0.1482, allocations: 4 kB / 444.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.1482, allocations: 3.938 kB / 444.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.802e-05/0.1482, allocations: 75.28 kB / 444.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1483, allocations: 4.031 kB / 444.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003746/0.1486, allocations: 63.98 kB / 444.8 MB, free: 10.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005419/0.1492, allocations: 203 kB / 445 MB, free: 9.941 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001731/0.1494, allocations: 55.41 kB / 445.1 MB, free: 9.875 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1494, allocations: 4.062 kB / 445.1 MB, free: 9.871 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.698e-05/0.1494, allocations: 59.39 kB / 445.1 MB, free: 9.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.1496, allocations: 7.953 kB / 445.1 MB, free: 9.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001883/0.1498, allocations: 78.7 kB / 445.2 MB, free: 9.691 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.1502, allocations: 0.6731 MB / 445.9 MB, free: 8.992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.454e-06/0.1502, allocations: 4 kB / 445.9 MB, free: 8.988 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.468e-05/0.1502, allocations: 7.438 kB / 445.9 MB, free: 8.98 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1502, allocations: 0 / 445.9 MB, free: 8.98 MB / 382.1 MB Notification: Performance of Templates: time 0.004829/0.155, allocations: 1.611 MB / 447.5 MB, free: 7.367 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: