Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001422/0.001422, allocations: 109.7 kB / 19.74 MB, free: 2.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001533/0.001533, allocations: 220.1 kB / 22.92 MB, free: 5.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 230.2 MB / 256.2 MB, free: 8.602 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.199/0.199, allocations: 46.89 MB / 359.3 MB, free: 4.941 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 87.84 kB / 0.494 GB, free: 9.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2555, allocations: 65.98 MB / 0.5584 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001429/0.2569, allocations: 0.496 MB / 0.5589 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.2592, allocations: 1.801 MB / 0.5606 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.623e-05/0.2592, allocations: 0 / 0.5606 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.478e-06/0.2592, allocations: 3.938 kB / 0.5606 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.84e-06/0.2592, allocations: 0 / 0.5606 GB, free: 2.879 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:120:3-169: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.0008012/0.26, allocations: 235.2 kB / 0.5609 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.768e-05/0.26, allocations: 4 kB / 0.5609 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.071e-05/0.2601, allocations: 11.91 kB / 0.5609 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.183e-05/0.2601, allocations: 0 / 0.5609 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.328e-05/0.2601, allocations: 4 kB / 0.5609 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.408e-06/0.2601, allocations: 0 / 0.5609 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006363/0.2607, allocations: 423.2 kB / 0.5613 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.332e-06/0.2607, allocations: 0 / 0.5613 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.604e-05/0.2607, allocations: 8 kB / 0.5613 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.2612, allocations: 309 kB / 0.5616 GB, free: 1.906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2612, allocations: 4 kB / 0.5616 GB, free: 1.902 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2612, allocations: 0 / 0.5616 GB, free: 1.902 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.2612, allocations: 0 / 0.5616 GB, free: 1.902 MB / 398.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.0003714/0.2615, allocations: 388.8 kB / 0.562 GB, free: 1.469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.2616, allocations: 8.031 kB / 0.562 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.849e-05/0.2616, allocations: 30.75 kB / 0.562 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.087e-05/0.2616, allocations: 0.9375 kB / 0.562 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.887e-05/0.2617, allocations: 168.4 kB / 0.5622 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.2617, allocations: 4.375 kB / 0.5622 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-06/0.2617, allocations: 384 / 0.5622 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.628e-05/0.2618, allocations: 34.78 kB / 0.5622 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.2618, allocations: 0 / 0.5622 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.2618, allocations: 4 kB / 0.5622 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-06/0.2618, allocations: 0 / 0.5622 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.349e-05/0.2618, allocations: 0 / 0.5622 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.262, allocations: 145.7 kB / 0.5623 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.909e-05/0.262, allocations: 26.59 kB / 0.5624 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.227e-05/0.262, allocations: 8.797 kB / 0.5624 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.262, allocations: 0 / 0.5624 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.2621, allocations: 68.2 kB / 0.5624 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.2621, allocations: 0 / 0.5624 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001424/0.2622, allocations: 59.41 kB / 0.5625 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.2623, allocations: 89.22 kB / 0.5626 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.166e-05/0.2623, allocations: 93.81 kB / 0.5627 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.2623, allocations: 25.7 kB / 0.5627 GB, free: 0.543 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.2623, allocations: 80.14 kB / 0.5628 GB, free: 472 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.2624, allocations: 0 / 0.5628 GB, free: 472 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.2624, allocations: 13.72 kB / 0.5628 GB, free: 452 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.2625, allocations: 310.8 kB / 0.5631 GB, free: 132 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-06/0.2625, allocations: 0 / 0.5631 GB, free: 132 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.238e-06/0.2625, allocations: 0 / 0.5631 GB, free: 132 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.19e-05/0.2626, allocations: 72.27 kB / 0.5632 GB, free: 44 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2626, allocations: 3.984 kB / 0.5632 GB, free: 40 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.815e-05/0.2626, allocations: 59.41 kB / 0.5632 GB, free: 15.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.2627, allocations: 37.58 kB / 0.5632 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2627, allocations: 0 / 0.5632 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.2627, allocations: 4 kB / 0.5633 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.2627, allocations: 0 / 0.5633 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.2627, allocations: 0 / 0.5633 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.546e-05/0.2627, allocations: 4 kB / 0.5633 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.2627, allocations: 4.031 kB / 0.5633 GB, free: 15.91 MB / 414.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.522e-05/0.2628, allocations: 143.5 kB / 0.5634 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.777e-06/0.2628, allocations: 3.938 kB / 0.5634 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.302e-06/0.2628, allocations: 3.125 kB / 0.5634 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.2628, allocations: 0 / 0.5634 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.2628, allocations: 0 / 0.5634 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.2628, allocations: 0 / 0.5634 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.2629, allocations: 153.6 kB / 0.5635 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.2629, allocations: 0 / 0.5635 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-07/0.2629, allocations: 4 kB / 0.5636 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2629, allocations: 3.938 kB / 0.5636 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.2629, allocations: 0 / 0.5636 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.2629, allocations: 0 / 0.5636 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2629, allocations: 7.938 kB / 0.5636 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.929e-05/0.263, allocations: 94.81 kB / 0.5637 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.642e-05/0.2631, allocations: 81.05 kB / 0.5637 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.2631, allocations: 4.031 kB / 0.5637 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-06/0.2631, allocations: 4 kB / 0.5637 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.008e-05/0.2631, allocations: 3.984 kB / 0.5637 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.2631, allocations: 0 / 0.5637 GB, free: 15.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 2.898e-05/0.2631, allocations: 75.28 kB / 0.5638 GB, free: 15.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2631, allocations: 0 / 0.5638 GB, free: 15.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.2634, allocations: 71.8 kB / 0.5639 GB, free: 15.17 MB / 414.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.0006557/0.2641, allocations: 0.718 MB / 0.5646 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.589e-05/0.2641, allocations: 59.41 kB / 0.5646 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2641, allocations: 96 / 0.5646 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.076e-05/0.2642, allocations: 55.41 kB / 0.5647 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001078/0.2643, allocations: 6.5 kB / 0.5647 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/0.2646, allocations: 146.4 kB / 0.5648 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.2648, allocations: 0.669 MB / 0.5655 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.539e-06/0.2648, allocations: 0 / 0.5655 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.146e-05/0.2648, allocations: 7.438 kB / 0.5655 GB, free: 13.39 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2648, allocations: 0 / 0.5655 GB, free: 13.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0209/0.2857, allocations: 2.463 MB / 0.5679 GB, free: 10.99 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.928/7.214, allocations: 0 / 0.5679 GB, free: 10.99 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestPolynomials_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestPolynomials.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.663137993993587]