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.0009916/0.0009913, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009492/0.0009493, allocations: 177.3 kB / 15.94 MB, free: 228 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.472/1.472, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.2869/0.2869, allocations: 40 MB / 310.4 MB, free: 9.703 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.000542/0.0005422, allocations: 12 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1018, allocations: 57.95 MB / 436.7 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.0007146/0.1026, allocations: 228.4 kB / 437 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004146/0.1067, allocations: 3.109 MB / 440.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.6e-05/0.1068, allocations: 0 / 440.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.264e-05/0.1068, allocations: 0 / 440.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.669e-06/0.1068, allocations: 0 / 440.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008471/0.1077, allocations: 183.5 kB / 440.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.823e-05/0.1077, allocations: 0 / 440.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.947e-05/0.1077, allocations: 0 / 440.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.598e-05/0.1078, allocations: 4 kB / 440.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.601e-05/0.1078, allocations: 0 / 440.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.06e-06/0.1078, allocations: 0 / 440.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005312/0.1083, allocations: 351.3 kB / 440.6 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.552e-06/0.1084, allocations: 3.984 kB / 440.6 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.572e-05/0.1084, allocations: 29.7 kB / 440.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.1087, allocations: 207.6 kB / 440.8 MB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.1087, allocations: 0 / 440.8 MB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1087, allocations: 0 / 440.8 MB, free: 14.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.685e-06/0.1087, allocations: 0 / 440.8 MB, free: 14.17 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.0003102/0.109, allocations: 381.1 kB / 441.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.1091, allocations: 8.031 kB / 441.2 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.1091, allocations: 8 kB / 441.2 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.61e-05/0.1092, allocations: 159.1 kB / 441.4 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1092, allocations: 4 kB / 441.4 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.1092, allocations: 0 / 441.4 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.158e-05/0.1093, allocations: 29.64 kB / 441.4 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.1093, allocations: 0 / 441.4 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.1093, allocations: 7.953 kB / 441.4 MB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1093, allocations: 0 / 441.4 MB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.553e-05/0.1094, allocations: 3.984 kB / 441.4 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001146/0.1095, allocations: 145.7 kB / 441.6 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.596e-05/0.1095, allocations: 22.61 kB / 441.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.503e-06/0.1095, allocations: 0 / 441.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.1096, allocations: 60.2 kB / 441.7 MB, free: 13.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 2.725e-06/0.1096, allocations: 0 / 441.7 MB, free: 13.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001423/0.1097, allocations: 71.3 kB / 441.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.1098, allocations: 81.06 kB / 441.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.361e-05/0.1098, allocations: 93.98 kB / 441.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.1099, allocations: 29.7 kB / 441.9 MB, free: 12.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.1099, allocations: 84.14 kB / 442 MB, free: 12.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.1099, allocations: 0 / 442 MB, free: 12.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.1099, allocations: 0 / 442 MB, free: 12.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.11, allocations: 314.8 kB / 442.3 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-06/0.11, allocations: 0 / 442.3 MB, free: 12.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-06/0.1101, allocations: 4 kB / 442.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.675e-05/0.1101, allocations: 33.75 kB / 442.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1101, allocations: 0 / 442.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.257e-05/0.1102, allocations: 63.34 kB / 442.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.499e-05/0.1102, allocations: 33.3 kB / 442.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1103, allocations: 0 / 442.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.1103, allocations: 0 / 442.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.545e-06/0.1103, allocations: 4 kB / 442.4 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1103, allocations: 7.984 kB / 442.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.723e-05/0.1103, allocations: 3.953 kB / 442.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.1103, allocations: 4 kB / 442.5 MB, free: 12.3 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 7.916e-05/0.1104, allocations: 139.6 kB / 442.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-06/0.1104, allocations: 0 / 442.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.532e-06/0.1104, allocations: 3.125 kB / 442.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1104, allocations: 0 / 442.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.1105, allocations: 0 / 442.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.1105, allocations: 0 / 442.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.289e-05/0.1106, allocations: 153.6 kB / 442.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1106, allocations: 0 / 442.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-07/0.1106, allocations: 0 / 442.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1106, allocations: 4 kB / 442.8 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.1106, allocations: 0 / 442.8 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1106, allocations: 0 / 442.8 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1106, allocations: 0 / 442.8 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.606e-05/0.1107, allocations: 98.72 kB / 442.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.028e-05/0.1107, allocations: 81.05 kB / 442.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.1108, allocations: 4 kB / 442.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.638e-06/0.1108, allocations: 0 / 442.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.052e-05/0.1108, allocations: 4.031 kB / 442.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.1108, allocations: 4 kB / 442.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.496e-05/0.1108, allocations: 75.28 kB / 443 MB, free: 11.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1108, allocations: 0 / 443 MB, free: 11.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003505/0.1112, allocations: 63.98 kB / 443.1 MB, free: 11.57 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.000408/0.1116, allocations: 202.9 kB / 443.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.772e-05/0.1117, allocations: 59.41 kB / 443.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1117, allocations: 3.938 kB / 443.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.822e-05/0.1117, allocations: 55.39 kB / 443.4 MB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.825e-05/0.1118, allocations: 7.953 kB / 443.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001653/0.112, allocations: 74.77 kB / 443.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.1122, allocations: 0.6809 MB / 444.2 MB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.562e-06/0.1122, allocations: 4.125 kB / 444.2 MB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.035e-05/0.1123, allocations: 7.438 kB / 444.2 MB, free: 10.41 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1123, allocations: 0 / 444.2 MB, free: 10.41 MB / 382.1 MB Notification: Performance of Templates: time 0.004136/0.1164, allocations: 1.615 MB / 445.8 MB, free: 8.789 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: