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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001578/0.001579, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.916/1.916, allocations: 194.3 MB / 207.5 MB, free: 3.453 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001648/0.001648, allocations: 111.2 kB / 252.6 MB, free: 4.781 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2975/0.2975, allocations: 39.94 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.413e-05/4.42e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1478, allocations: 54.87 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6445/0.7924, allocations: 192.5 MB / 0.6325 GB, free: 216 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/0.7926, allocations: 64.34 kB / 0.6325 GB, free: 184 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02268/0.8153, allocations: 6.982 MB / 0.6394 GB, free: 10.27 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.8154, allocations: 0 / 0.6394 GB, free: 10.27 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.8154, allocations: 0 / 0.6394 GB, free: 10.27 MB / 458.7 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.000498/0.8159, allocations: 403.8 kB / 0.6397 GB, free: 9.832 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.8159, allocations: 12.02 kB / 0.6398 GB, free: 9.82 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.816, allocations: 4 kB / 0.6398 GB, free: 9.816 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.8161, allocations: 159.1 kB / 0.6399 GB, free: 9.621 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.8161, allocations: 7.938 kB / 0.6399 GB, free: 9.613 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.8162, allocations: 0 / 0.6399 GB, free: 9.613 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.8163, allocations: 25.7 kB / 0.6399 GB, free: 9.582 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.8163, allocations: 0 / 0.6399 GB, free: 9.582 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.8163, allocations: 4 kB / 0.6399 GB, free: 9.578 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.8163, allocations: 3.953 kB / 0.6399 GB, free: 9.574 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.932e-05/0.8163, allocations: 0 / 0.6399 GB, free: 9.574 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.8165, allocations: 153.2 kB / 0.6401 GB, free: 9.379 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.226e-05/0.8166, allocations: 26.53 kB / 0.6401 GB, free: 9.344 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.334e-05/0.8166, allocations: 4.859 kB / 0.6401 GB, free: 9.336 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-06/0.8166, allocations: 0 / 0.6401 GB, free: 9.336 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/0.8166, allocations: 60.33 kB / 0.6402 GB, free: 9.262 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.8166, allocations: 0 / 0.6402 GB, free: 9.262 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001644/0.8168, allocations: 62.52 kB / 0.6402 GB, free: 9.191 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.8169, allocations: 89.09 kB / 0.6403 GB, free: 9.086 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.516e-05/0.8169, allocations: 85 kB / 0.6404 GB, free: 8.996 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.8169, allocations: 25.7 kB / 0.6404 GB, free: 8.965 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.602e-05/0.817, allocations: 80.14 kB / 0.6405 GB, free: 8.883 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.817, allocations: 0 / 0.6405 GB, free: 8.883 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-06/0.817, allocations: 0 / 0.6405 GB, free: 8.883 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.8171, allocations: 310.8 kB / 0.6408 GB, free: 8.57 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-06/0.8171, allocations: 0 / 0.6408 GB, free: 8.57 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-06/0.8172, allocations: 11.94 kB / 0.6408 GB, free: 8.559 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.88e-05/0.8172, allocations: 28.64 kB / 0.6408 GB, free: 8.527 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.8172, allocations: 0 / 0.6408 GB, free: 8.527 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.603e-05/0.8173, allocations: 63.39 kB / 0.6409 GB, free: 8.453 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.8173, allocations: 29.7 kB / 0.6409 GB, free: 8.418 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.758e-06/0.8173, allocations: 0 / 0.6409 GB, free: 8.418 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.8173, allocations: 4 kB / 0.6409 GB, free: 8.414 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.8174, allocations: 0 / 0.6409 GB, free: 8.414 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.8174, allocations: 0 / 0.6409 GB, free: 8.414 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.37e-05/0.8174, allocations: 96 / 0.6409 GB, free: 8.414 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.8174, allocations: 11.89 kB / 0.6409 GB, free: 8.402 MB / 458.7 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 () * 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.587e-05/0.8175, allocations: 130.7 kB / 0.6411 GB, free: 8.262 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-06/0.8175, allocations: 3.188 kB / 0.6411 GB, free: 8.262 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.317e-05/0.8175, allocations: 7.109 kB / 0.6411 GB, free: 8.254 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.8175, allocations: 0 / 0.6411 GB, free: 8.254 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.8175, allocations: 0 / 0.6411 GB, free: 8.254 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.8175, allocations: 3.938 kB / 0.6411 GB, free: 8.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.583e-05/0.8176, allocations: 149.6 kB / 0.6412 GB, free: 8.055 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.8176, allocations: 0 / 0.6412 GB, free: 8.055 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.8177, allocations: 7.938 kB / 0.6412 GB, free: 8.047 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-06/0.8177, allocations: 0 / 0.6412 GB, free: 8.047 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.8177, allocations: 3.984 kB / 0.6412 GB, free: 8.043 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.8177, allocations: 0 / 0.6412 GB, free: 8.043 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.8177, allocations: 0 / 0.6412 GB, free: 8.043 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.263e-05/0.8178, allocations: 94.23 kB / 0.6413 GB, free: 7.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.272e-05/0.8178, allocations: 81.09 kB / 0.6414 GB, free: 7.832 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.8178, allocations: 8 kB / 0.6414 GB, free: 7.824 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-06/0.8179, allocations: 4.031 kB / 0.6414 GB, free: 7.82 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.185e-05/0.8179, allocations: 0 / 0.6414 GB, free: 7.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.8179, allocations: 0 / 0.6414 GB, free: 7.82 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.446e-05/0.8179, allocations: 75.28 kB / 0.6415 GB, free: 7.746 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8179, allocations: 0 / 0.6415 GB, free: 7.746 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003481/0.8183, allocations: 87.23 kB / 0.6416 GB, free: 7.664 MB / 458.7 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) * 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.0004845/0.8188, allocations: 215.4 kB / 0.6418 GB, free: 7.453 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.539e-05/0.8189, allocations: 55.41 kB / 0.6418 GB, free: 7.387 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8189, allocations: 0 / 0.6418 GB, free: 7.387 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.417e-05/0.8189, allocations: 55.41 kB / 0.6419 GB, free: 7.32 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.807e-05/0.819, allocations: 3.953 kB / 0.6419 GB, free: 7.316 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001494/0.8192, allocations: 48.56 kB / 0.6419 GB, free: 7.25 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.8195, allocations: 0.6772 MB / 0.6426 GB, free: 6.547 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.631e-06/0.8195, allocations: 0 / 0.6426 GB, free: 6.547 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.525e-05/0.8195, allocations: 7.438 kB / 0.6426 GB, free: 6.539 MB / 458.7 MB Notification: Performance of SimCode: time 2.5e-07/0.8195, allocations: 7.938 kB / 0.6426 GB, free: 6.531 MB / 458.7 MB Notification: Performance of Templates: time 0.004287/0.8238, allocations: 1.829 MB / 0.6444 GB, free: 4.711 MB / 458.7 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)