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.001184/0.001184, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.0111/0.0111, allocations: 169.7 kB / 16.27 MB, free: 6.363 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.723/1.723, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3305/0.3305, allocations: 40 MB / 310.7 MB, free: 10 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.0005356/0.0005356, allocations: 16.56 kB / 379.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1173, allocations: 57.96 MB / 437.4 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.0007245/0.118, allocations: 222.1 kB / 437.6 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006108/0.1242, allocations: 5.069 MB / 442.7 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.17e-05/0.1242, allocations: 0 / 442.7 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.186e-05/0.1242, allocations: 0 / 442.7 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.067e-06/0.1243, allocations: 0 / 442.7 MB, free: 12.87 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.0009326/0.1252, allocations: 195.5 kB / 442.9 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.321e-05/0.1252, allocations: 0 / 442.9 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/0.1253, allocations: 0 / 442.9 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.482e-05/0.1253, allocations: 3.938 kB / 442.9 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.54e-05/0.1253, allocations: 3.984 kB / 442.9 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.788e-06/0.1253, allocations: 4 kB / 442.9 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005386/0.1259, allocations: 391.2 kB / 443.3 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.326e-06/0.1259, allocations: 3.984 kB / 443.3 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.1259, allocations: 25.7 kB / 443.3 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004043/0.1263, allocations: 303.4 kB / 443.6 MB, free: 11.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1264, allocations: 4 kB / 443.6 MB, free: 11.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1264, allocations: 0 / 443.6 MB, free: 11.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1264, allocations: 0 / 443.6 MB, free: 11.95 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.0003754/0.1268, allocations: 385.3 kB / 444 MB, free: 11.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1268, allocations: 12.03 kB / 444 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.1268, allocations: 0.9375 kB / 444 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.802e-05/0.1269, allocations: 160.4 kB / 444.1 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.127, allocations: 4.375 kB / 444.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.127, allocations: 384 / 444.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.931e-05/0.1271, allocations: 41.77 kB / 444.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.1271, allocations: 0 / 444.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.1271, allocations: 0 / 444.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1271, allocations: 0 / 444.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.877e-05/0.1271, allocations: 7.984 kB / 444.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.1272, allocations: 145.7 kB / 444.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.609e-05/0.1273, allocations: 14.58 kB / 444.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.986e-05/0.1273, allocations: 16.89 kB / 444.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.1273, allocations: 0 / 444.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/0.1274, allocations: 68.12 kB / 444.4 MB, free: 10.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.1274, allocations: 0 / 444.4 MB, free: 10.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001576/0.1275, allocations: 71.3 kB / 444.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.1276, allocations: 77.11 kB / 444.6 MB, free: 10.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.015e-05/0.1277, allocations: 89.86 kB / 444.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.1277, allocations: 25.7 kB / 444.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.395e-05/0.1277, allocations: 88.27 kB / 444.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.1277, allocations: 0 / 444.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.1278, allocations: 9.719 kB / 444.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1279, allocations: 314.8 kB / 445.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.1279, allocations: 0 / 445.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-06/0.1279, allocations: 7.938 kB / 445.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.408e-05/0.1279, allocations: 60.27 kB / 445.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.128, allocations: 0 / 445.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.909e-05/0.128, allocations: 63.47 kB / 445.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.1281, allocations: 41.62 kB / 445.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1281, allocations: 0 / 445.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1281, allocations: 3.938 kB / 445.3 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.1281, allocations: 0 / 445.3 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.1281, allocations: 0 / 445.3 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.339e-05/0.1281, allocations: 0 / 445.3 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1281, allocations: 3.984 kB / 445.3 MB, free: 10 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 8.057e-05/0.1282, allocations: 139.5 kB / 445.4 MB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-06/0.1282, allocations: 11.91 kB / 445.4 MB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.786e-06/0.1282, allocations: 3.125 kB / 445.4 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.1283, allocations: 0 / 445.4 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1283, allocations: 4 kB / 445.4 MB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1283, allocations: 3.984 kB / 445.4 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.516e-05/0.1284, allocations: 141.7 kB / 445.6 MB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1284, allocations: 0 / 445.6 MB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1284, allocations: 0 / 445.6 MB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.1284, allocations: 3.938 kB / 445.6 MB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.1284, allocations: 4 kB / 445.6 MB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.1284, allocations: 4 kB / 445.6 MB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1284, allocations: 0 / 445.6 MB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.446e-05/0.1285, allocations: 86.83 kB / 445.7 MB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.1286, allocations: 88.98 kB / 445.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.1286, allocations: 0 / 445.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-06/0.1286, allocations: 0 / 445.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.1286, allocations: 3.984 kB / 445.8 MB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.1286, allocations: 4 kB / 445.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.415e-05/0.1286, allocations: 83.31 kB / 445.8 MB, free: 9.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1286, allocations: 3.938 kB / 445.9 MB, free: 9.316 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003296/0.129, allocations: 64 kB / 445.9 MB, free: 9.254 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.0003968/0.1294, allocations: 187.1 kB / 446.1 MB, free: 9.066 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.1295, allocations: 67.39 kB / 446.2 MB, free: 8.988 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1295, allocations: 0 / 446.2 MB, free: 8.988 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.773e-05/0.1296, allocations: 55.41 kB / 446.2 MB, free: 8.922 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001139/0.1297, allocations: 3.938 kB / 446.2 MB, free: 8.918 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001869/0.1299, allocations: 82.7 kB / 446.3 MB, free: 8.812 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.1302, allocations: 0.677 MB / 447 MB, free: 8.109 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.92e-06/0.1302, allocations: 0 / 447 MB, free: 8.109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.049e-05/0.1302, allocations: 7.438 kB / 447 MB, free: 8.102 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1302, allocations: 8.125 kB / 447 MB, free: 8.094 MB / 382.1 MB Notification: Performance of Templates: time 0.004356/0.1346, allocations: 1.678 MB / 448.7 MB, free: 6.414 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: