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.001344/0.001344, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.608/1.608, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.3248/0.3248, allocations: 39.94 MB / 309.7 MB, free: 9.211 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.001676/0.001676, allocations: 67.91 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1115, allocations: 56.88 MB / 434.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001497/0.1131, allocations: 0.4909 MB / 435 MB, free: 3.203 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006081/0.1192, allocations: 5.068 MB / 440 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.847e-05/0.1193, allocations: 0 / 440 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.711e-05/0.1193, allocations: 3.938 kB / 440 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.594e-06/0.1193, allocations: 0 / 440 MB, free: 14.09 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.001104/0.1204, allocations: 231.2 kB / 440.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.687e-05/0.1205, allocations: 0 / 440.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.826e-05/0.1206, allocations: 3.984 kB / 440.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.936e-05/0.1206, allocations: 4 kB / 440.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.167e-05/0.1206, allocations: 3.984 kB / 440.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.663e-06/0.1206, allocations: 3.938 kB / 440.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007183/0.1214, allocations: 391.3 kB / 440.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.1214, allocations: 7.984 kB / 440.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.1214, allocations: 4 kB / 440.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004556/0.1219, allocations: 307.4 kB / 441 MB, free: 13.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1219, allocations: 0 / 441 MB, free: 13.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1219, allocations: 0 / 441 MB, free: 13.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1219, allocations: 0 / 441 MB, free: 13.15 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.0004702/0.1224, allocations: 385.3 kB / 441.4 MB, free: 12.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1224, allocations: 11.89 kB / 441.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.1225, allocations: 4.938 kB / 441.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.1226, allocations: 160.4 kB / 441.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.1226, allocations: 8.375 kB / 441.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.1226, allocations: 384 / 441.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.238e-05/0.1227, allocations: 33.81 kB / 441.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1228, allocations: 4 kB / 441.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.1228, allocations: 0 / 441.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.1228, allocations: 0 / 441.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.811e-05/0.1228, allocations: 3.938 kB / 441.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.1229, allocations: 141.7 kB / 441.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.37e-05/0.123, allocations: 30.59 kB / 441.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.416e-05/0.123, allocations: 8.797 kB / 441.8 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-06/0.123, allocations: 0 / 441.8 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.969e-05/0.1231, allocations: 64.27 kB / 441.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.1231, allocations: 0 / 441.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001717/0.1233, allocations: 71.23 kB / 441.9 MB, free: 12.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.1233, allocations: 81.09 kB / 442 MB, free: 11.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.1234, allocations: 97.98 kB / 442.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.1235, allocations: 25.7 kB / 442.1 MB, free: 11.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.285e-05/0.1235, allocations: 80.14 kB / 442.2 MB, free: 11.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.1235, allocations: 0 / 442.2 MB, free: 11.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.1235, allocations: 13.72 kB / 442.2 MB, free: 11.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1237, allocations: 310.8 kB / 442.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.105e-05/0.1237, allocations: 4 kB / 442.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.322e-06/0.1237, allocations: 4 kB / 442.5 MB, free: 11.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.82e-05/0.1237, allocations: 64.33 kB / 442.6 MB, free: 11.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1237, allocations: 3.938 kB / 442.6 MB, free: 11.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.314e-05/0.1238, allocations: 63.39 kB / 442.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.456e-05/0.1239, allocations: 37.64 kB / 442.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1239, allocations: 0 / 442.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.1239, allocations: 0 / 442.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.1239, allocations: 0 / 442.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1239, allocations: 3.938 kB / 442.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.1239, allocations: 0 / 442.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1239, allocations: 32 / 442.7 MB, free: 11.2 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 7.874e-05/0.124, allocations: 143.5 kB / 442.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.507e-06/0.124, allocations: 3.938 kB / 442.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.807e-06/0.1241, allocations: 3.125 kB / 442.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.11e-07/0.1241, allocations: 0 / 442.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.1241, allocations: 0 / 442.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-06/0.1241, allocations: 4 kB / 442.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.1242, allocations: 149.7 kB / 443 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1242, allocations: 0 / 443 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1242, allocations: 0 / 443 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1242, allocations: 7.938 kB / 443 MB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.1242, allocations: 3.984 kB / 443 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.1242, allocations: 4 kB / 443 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1242, allocations: 7.875 kB / 443 MB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.187e-05/0.1243, allocations: 86.83 kB / 443.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.1244, allocations: 85.05 kB / 443.1 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.1244, allocations: 0 / 443.1 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.956e-06/0.1244, allocations: 4.031 kB / 443.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.116e-05/0.1244, allocations: 0 / 443.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.1244, allocations: 0 / 443.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.256e-05/0.1245, allocations: 75.28 kB / 443.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1245, allocations: 4 kB / 443.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003269/0.1248, allocations: 63.98 kB / 443.3 MB, free: 10.46 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.0004399/0.1253, allocations: 199.1 kB / 443.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.1254, allocations: 63.34 kB / 443.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1254, allocations: 0 / 443.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.481e-05/0.1254, allocations: 59.39 kB / 443.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.1256, allocations: 0 / 443.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002385/0.1258, allocations: 81 kB / 443.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.1262, allocations: 0.673 MB / 444.4 MB, free: 9.309 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.584e-06/0.1262, allocations: 4 kB / 444.4 MB, free: 9.305 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.474e-05/0.1262, allocations: 7.438 kB / 444.4 MB, free: 9.297 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1262, allocations: 0 / 444.4 MB, free: 9.297 MB / 382.1 MB Notification: Performance of Templates: time 0.00488/0.1311, allocations: 1.69 MB / 446.1 MB, free: 7.605 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)