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.008326/0.008326, allocations: 102.3 kB / 15.73 MB, free: 6.035 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.001563/0.001563, allocations: 196.8 kB / 16.67 MB, free: 5.969 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.64/1.64, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.3875/0.3875, allocations: 39.94 MB / 309.8 MB, free: 9.305 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.001763/0.001763, allocations: 75.91 kB / 435.8 MB, free: 2.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3557, allocations: 56.88 MB / 492.6 MB, free: 19.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001643/0.3573, allocations: 0.4995 MB / 493.1 MB, free: 19.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006538/0.3639, allocations: 5.074 MB / 498.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.714e-05/0.364, allocations: 0 / 498.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.094e-05/0.3641, allocations: 0 / 498.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.031e-05/0.3641, allocations: 1.062 kB / 498.2 MB, free: 15.39 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1250:3-1403:19:writable] Warning: Pure function 'Modelica.Math.Matrices.leastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgelsy_vec'. [/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.001409/0.3655, allocations: 223.3 kB / 498.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.234e-05/0.3656, allocations: 10.31 kB / 498.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.114e-05/0.3657, allocations: 6.203 kB / 498.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.127e-05/0.3657, allocations: 0.9375 kB / 498.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.299e-05/0.3657, allocations: 0 / 498.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.867e-06/0.3658, allocations: 5.312 kB / 498.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009248/0.3667, allocations: 406.2 kB / 498.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.3667, allocations: 0 / 498.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.3668, allocations: 1.281 kB / 498.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006989/0.3675, allocations: 307.4 kB / 499.1 MB, free: 15.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3675, allocations: 0 / 499.1 MB, free: 15.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3675, allocations: 4 kB / 499.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.3675, allocations: 1.438 kB / 499.2 MB, free: 15.08 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.0004501/0.368, allocations: 382.7 kB / 499.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.368, allocations: 13.83 kB / 499.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.3681, allocations: 0.9375 kB / 499.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.772e-05/0.3682, allocations: 163.1 kB / 499.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.3682, allocations: 384 / 499.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.3682, allocations: 5.688 kB / 499.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.3683, allocations: 33.69 kB / 499.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.3683, allocations: 4 kB / 499.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.3684, allocations: 0 / 499.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.3684, allocations: 5.297 kB / 499.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.556e-05/0.3684, allocations: 5.984 kB / 499.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.3685, allocations: 148.8 kB / 499.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.801e-05/0.3686, allocations: 15.95 kB / 499.9 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.056e-05/0.3686, allocations: 10.98 kB / 499.9 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.3686, allocations: 7.938 kB / 499.9 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/0.3687, allocations: 66.06 kB / 500 MB, free: 14.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.3687, allocations: 0 / 500 MB, free: 14.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001955/0.3689, allocations: 62.72 kB / 0.4883 GB, free: 14.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.3689, allocations: 77.11 kB / 0.4884 GB, free: 13.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.099e-05/0.369, allocations: 92.06 kB / 0.4885 GB, free: 13.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.369, allocations: 25.7 kB / 0.4885 GB, free: 13.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.75e-05/0.369, allocations: 80.14 kB / 0.4886 GB, free: 13.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.3691, allocations: 5.406 kB / 0.4886 GB, free: 13.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.3691, allocations: 15.77 kB / 0.4886 GB, free: 13.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.685e-05/0.3692, allocations: 312.7 kB / 0.4889 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.284e-05/0.3692, allocations: 4.641 kB / 0.4889 GB, free: 13.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-06/0.3692, allocations: 5.344 kB / 0.4889 GB, free: 13.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.11e-05/0.3692, allocations: 61.89 kB / 0.489 GB, free: 13.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3692, allocations: 0 / 0.489 GB, free: 13.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.07e-05/0.3693, allocations: 68.61 kB / 0.4891 GB, free: 13.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.782e-05/0.3694, allocations: 34.97 kB / 0.4891 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3694, allocations: 1.375 kB / 0.4891 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3694, allocations: 0 / 0.4891 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.685e-06/0.3694, allocations: 0.7031 kB / 0.4891 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.3694, allocations: 5.375 kB / 0.4891 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.3694, allocations: 0 / 0.4891 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.3695, allocations: 2.125 kB / 0.4891 GB, free: 13.22 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 6.618e-05/0.3695, allocations: 137.9 kB / 0.4892 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-06/0.3695, allocations: 9.125 kB / 0.4892 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.989e-06/0.3696, allocations: 3.828 kB / 0.4892 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.71e-07/0.3696, allocations: 1.156 kB / 0.4892 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3696, allocations: 0.75 kB / 0.4892 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3696, allocations: 0 / 0.4892 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.377e-05/0.3697, allocations: 146.1 kB / 0.4894 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.3697, allocations: 0 / 0.4894 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-06/0.3697, allocations: 0.6094 kB / 0.4894 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.3697, allocations: 5.375 kB / 0.4894 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.3697, allocations: 0.7969 kB / 0.4894 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3697, allocations: 1.406 kB / 0.4894 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3697, allocations: 4 kB / 0.4894 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.532e-05/0.3698, allocations: 93.06 kB / 0.4895 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.3698, allocations: 89.17 kB / 0.4896 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.3698, allocations: 1.906 kB / 0.4896 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.377e-06/0.3698, allocations: 1.281 kB / 0.4896 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/0.3699, allocations: 0 / 0.4896 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.3699, allocations: 1.641 kB / 0.4896 GB, free: 12.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.651e-05/0.3699, allocations: 83.25 kB / 0.4897 GB, free: 12.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3699, allocations: 0 / 0.4897 GB, free: 12.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003857/0.3703, allocations: 65.02 kB / 0.4897 GB, free: 12.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 (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.0005058/0.3708, allocations: 190.9 kB / 0.4899 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.3709, allocations: 62.86 kB / 0.49 GB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3709, allocations: 0 / 0.49 GB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.79e-05/0.371, allocations: 55.23 kB / 0.49 GB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.3711, allocations: 7.125 kB / 0.49 GB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002057/0.3713, allocations: 82.75 kB / 0.4901 GB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.3715, allocations: 0.6718 MB / 0.4907 GB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.546e-06/0.3715, allocations: 3.984 kB / 0.4908 GB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.969e-06/0.3715, allocations: 7.438 kB / 0.4908 GB, free: 11.51 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3715, allocations: 5.562 kB / 0.4908 GB, free: 11.5 MB / 382.1 MB Notification: Performance of Templates: time 0.006641/0.3782, allocations: 1.682 MB / 0.4924 GB, free: 11.34 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)