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.001339/0.001339, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00183/0.00183, allocations: 193.3 kB / 16.14 MB, free: 6.703 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.598/1.598, allocations: 205.1 MB / 222 MB, free: 4.949 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.3061/0.3061, allocations: 39.93 MB / 309.3 MB, free: 9.578 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.001334/0.001334, allocations: 66.41 kB / 376.9 MB, free: 13.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.117, allocations: 56.88 MB / 433.8 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001775/0.1188, allocations: 0.5558 MB / 434.3 MB, free: 3.949 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006685/0.1255, allocations: 5.15 MB / 439.5 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.425e-05/0.1256, allocations: 0 / 439.5 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/0.1256, allocations: 0 / 439.5 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.179e-06/0.1256, allocations: 4 kB / 439.5 MB, free: 14.75 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.0008913/0.1265, allocations: 191.5 kB / 439.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.631e-05/0.1266, allocations: 0 / 439.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.924e-05/0.1266, allocations: 4 kB / 439.7 MB, free: 14.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.852e-05/0.1267, allocations: 0 / 439.7 MB, free: 14.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.656e-05/0.1267, allocations: 0 / 439.7 MB, free: 14.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.931e-06/0.1267, allocations: 0 / 439.7 MB, free: 14.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006266/0.1273, allocations: 399.2 kB / 440.1 MB, free: 14.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.747e-06/0.1273, allocations: 0 / 440.1 MB, free: 14.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.1274, allocations: 7.984 kB / 440.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004518/0.1278, allocations: 307.4 kB / 440.4 MB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1278, allocations: 0 / 440.4 MB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1279, allocations: 0 / 440.4 MB, free: 13.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1279, allocations: 3.938 kB / 440.4 MB, free: 13.86 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.0004404/0.1283, allocations: 381.3 kB / 440.8 MB, free: 13.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1284, allocations: 12.03 kB / 440.8 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.1284, allocations: 4.922 kB / 440.8 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.1285, allocations: 160.4 kB / 440.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.1285, allocations: 384 / 440.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.1286, allocations: 4.375 kB / 440.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.559e-05/0.1287, allocations: 33.83 kB / 441 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.1287, allocations: 3.938 kB / 441 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.1287, allocations: 0 / 441 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.1287, allocations: 0 / 441 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.148e-05/0.1287, allocations: 4 kB / 441 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.1289, allocations: 149.6 kB / 441.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.361e-05/0.1289, allocations: 18.58 kB / 441.1 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.1289, allocations: 12.95 kB / 441.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-06/0.129, allocations: 0 / 441.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/0.129, allocations: 60.2 kB / 441.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.129, allocations: 0 / 441.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001837/0.1292, allocations: 71.23 kB / 441.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.1293, allocations: 77.11 kB / 441.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.197e-05/0.1293, allocations: 93.86 kB / 441.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.1293, allocations: 25.83 kB / 441.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.069e-05/0.1294, allocations: 88.14 kB / 441.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.1294, allocations: 0 / 441.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.1294, allocations: 9.719 kB / 441.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1296, allocations: 310.8 kB / 441.9 MB, free: 12.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.179e-05/0.1296, allocations: 4 kB / 441.9 MB, free: 12.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-06/0.1296, allocations: 3.984 kB / 441.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.843e-05/0.1297, allocations: 64.27 kB / 442 MB, free: 12.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1297, allocations: 4.062 kB / 442 MB, free: 12.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.968e-05/0.1298, allocations: 63.34 kB / 442 MB, free: 11.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/0.1298, allocations: 33.64 kB / 442.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1298, allocations: 3.984 kB / 442.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1298, allocations: 0 / 442.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.1298, allocations: 0 / 442.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1299, allocations: 0 / 442.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.726e-05/0.1299, allocations: 4 kB / 442.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.1299, allocations: 0 / 442.1 MB, free: 11.92 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.244e-05/0.13, allocations: 139.6 kB / 442.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.13, allocations: 7.938 kB / 442.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.218e-05/0.13, allocations: 7.125 kB / 442.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.13, allocations: 0 / 442.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.13, allocations: 3.938 kB / 442.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.13, allocations: 0 / 442.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.759e-05/0.1301, allocations: 149.6 kB / 442.4 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1301, allocations: 0 / 442.4 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.836e-06/0.1302, allocations: 8 kB / 442.4 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1302, allocations: 3.938 kB / 442.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.1302, allocations: 4 kB / 442.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1302, allocations: 0 / 442.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1302, allocations: 0 / 442.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.1303, allocations: 94.77 kB / 442.5 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.1304, allocations: 81.05 kB / 442.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.1304, allocations: 0 / 442.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-06/0.1304, allocations: 0 / 442.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.912e-05/0.1304, allocations: 8.031 kB / 442.6 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.1304, allocations: 7.969 kB / 442.6 MB, free: 11.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.31e-05/0.1305, allocations: 75.28 kB / 442.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1305, allocations: 0 / 442.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002956/0.1308, allocations: 64 kB / 442.7 MB, free: 11.17 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.0004497/0.1312, allocations: 187.1 kB / 442.9 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.934e-05/0.1313, allocations: 63.39 kB / 442.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1313, allocations: 0 / 442.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.25e-05/0.1314, allocations: 59.34 kB / 443 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/0.1315, allocations: 4 kB / 443 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001821/0.1317, allocations: 78.64 kB / 443.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.132, allocations: 0.677 MB / 443.8 MB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.252e-06/0.132, allocations: 0 / 443.8 MB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.112e-05/0.132, allocations: 11.56 kB / 443.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.132, allocations: 0 / 443.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of Templates: time 0.004223/0.1362, allocations: 1.686 MB / 445.5 MB, free: 8.332 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)