Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001335/0.001335, allocations: 111.1 kB / 20.44 MB, free: 1.34 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.001395/0.001395, allocations: 211.3 kB / 23.72 MB, free: 4.531 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.451/1.451, allocations: 230.5 MB / 257.4 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2328/0.2328, allocations: 46.95 MB / 360.8 MB, free: 3.93 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 79.88 kB / 0.4961 GB, free: 7.574 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3231, allocations: 66.07 MB / 0.5607 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001732/0.3248, allocations: 0.4893 MB / 0.5611 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002692/0.3275, allocations: 1.727 MB / 0.5628 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.924e-05/0.3275, allocations: 0 / 0.5628 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.201e-05/0.3275, allocations: 3.938 kB / 0.5628 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.15e-06/0.3275, allocations: 0 / 0.5628 GB, free: 1.82 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0009971/0.3285, allocations: 251.3 kB / 0.5631 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.812e-05/0.3286, allocations: 7.984 kB / 0.5631 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.725e-05/0.3286, allocations: 0 / 0.5631 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.622e-05/0.3286, allocations: 3.938 kB / 0.5631 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.612e-05/0.3286, allocations: 0 / 0.5631 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.33e-06/0.3286, allocations: 3.938 kB / 0.5631 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007453/0.3294, allocations: 463.1 kB / 0.5635 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.3294, allocations: 3.984 kB / 0.5635 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.07e-05/0.3294, allocations: 8 kB / 0.5635 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004488/0.3299, allocations: 301.1 kB / 0.5638 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3299, allocations: 0 / 0.5638 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3299, allocations: 0 / 0.5638 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.3299, allocations: 0 / 0.5638 GB, free: 0.8008 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.0003858/0.3303, allocations: 315.6 kB / 0.5641 GB, free: 468 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3303, allocations: 8.031 kB / 0.5641 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.607e-05/0.3303, allocations: 34.73 kB / 0.5642 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.204e-05/0.3304, allocations: 4.938 kB / 0.5642 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.767e-05/0.3304, allocations: 102.5 kB / 0.5643 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.3305, allocations: 4.375 kB / 0.5643 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-06/0.3305, allocations: 384 / 0.5643 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.3306, allocations: 60.55 kB / 0.5643 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3306, allocations: 0 / 0.5643 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.3306, allocations: 0 / 0.5643 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.3306, allocations: 0 / 0.5643 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.417e-05/0.3306, allocations: 33.62 kB / 0.5644 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001251/0.3307, allocations: 120.8 kB / 0.5645 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.807e-05/0.3308, allocations: 40.28 kB / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.645e-05/0.3308, allocations: 38.66 kB / 0.5645 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-06/0.3308, allocations: 0 / 0.5645 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.987e-05/0.3309, allocations: 60.2 kB / 0.5646 GB, free: 15.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3309, allocations: 0 / 0.5646 GB, free: 15.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002036/0.3311, allocations: 130.7 kB / 0.5647 GB, free: 15.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.3312, allocations: 77.11 kB / 0.5648 GB, free: 15.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.348e-05/0.3312, allocations: 93.81 kB / 0.5649 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.3312, allocations: 25.7 kB / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.3313, allocations: 84.08 kB / 0.565 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.3313, allocations: 128 / 0.565 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.3313, allocations: 29.7 kB / 0.565 GB, free: 15.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3315, allocations: 314.8 kB / 0.5653 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.453e-05/0.3315, allocations: 25.7 kB / 0.5654 GB, free: 14.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.719e-05/0.3315, allocations: 29.7 kB / 0.5654 GB, free: 14.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.845e-05/0.3315, allocations: 60.27 kB / 0.5654 GB, free: 14.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3315, allocations: 0 / 0.5654 GB, free: 14.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.789e-05/0.3316, allocations: 97.03 kB / 0.5655 GB, free: 14.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/0.3317, allocations: 33.64 kB / 0.5656 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.3317, allocations: 0 / 0.5656 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3317, allocations: 4.094 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.3317, allocations: 0 / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.3317, allocations: 0 / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.433e-05/0.3317, allocations: 4 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.3317, allocations: 0 / 0.5656 GB, free: 14.71 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 0.0001017/0.3318, allocations: 139.5 kB / 0.5657 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.3318, allocations: 3.938 kB / 0.5657 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.108e-05/0.3318, allocations: 3 kB / 0.5657 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.41e-07/0.3318, allocations: 0 / 0.5657 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3318, allocations: 0 / 0.5657 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.3318, allocations: 4 kB / 0.5657 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.47e-05/0.3319, allocations: 124.8 kB / 0.5658 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3319, allocations: 0 / 0.5658 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.296e-06/0.3319, allocations: 3.984 kB / 0.5658 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3319, allocations: 3.938 kB / 0.5658 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.332, allocations: 0 / 0.5658 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.332, allocations: 0 / 0.5658 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.332, allocations: 0 / 0.5658 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.3321, allocations: 120.5 kB / 0.566 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-06/0.3321, allocations: 7.938 kB / 0.566 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.3321, allocations: 0 / 0.566 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-06/0.3321, allocations: 4.031 kB / 0.566 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.104e-05/0.3321, allocations: 3.984 kB / 0.566 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.3321, allocations: 4 kB / 0.566 GB, free: 14.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.252e-05/0.3322, allocations: 75.28 kB / 0.566 GB, free: 14.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3322, allocations: 3.938 kB / 0.566 GB, free: 14.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003081/0.3325, allocations: 67.8 kB / 0.5661 GB, free: 14.06 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.0007698/0.3332, allocations: 0.7506 MB / 0.5668 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.3333, allocations: 106.8 kB / 0.5669 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3333, allocations: 0 / 0.5669 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.774e-05/0.3334, allocations: 85.09 kB / 0.567 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.3335, allocations: 8 kB / 0.567 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.3339, allocations: 156.2 kB / 0.5672 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.466e-05/0.3339, allocations: 51.36 kB / 0.5672 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.02e-06/0.3339, allocations: 4.125 kB / 0.5672 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.53e-05/0.3339, allocations: 11.44 kB / 0.5673 GB, free: 12.75 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3339, allocations: 0 / 0.5673 GB, free: 12.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.3628, allocations: 3.014 MB / 0.5702 GB, free: 9.836 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.42, allocations: 3.938 kB / 0.5702 GB, free: 9.832 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_trunk_ModelicaTest_Math_TestPolynomials.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.324003067013109] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.52171018300578 11.537069434 11.204010098 Calling exit ...