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.001358/0.001358, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002376/0.002376, allocations: 213 kB / 23.73 MB, free: 4.164 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.45/1.45, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.2508/0.2508, allocations: 46.95 MB / 360.8 MB, free: 3.918 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.003372/0.003372, allocations: 79.88 kB / 0.4961 GB, free: 7.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3577, allocations: 66.08 MB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001765/0.3595, allocations: 494.9 kB / 0.5611 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002651/0.3621, allocations: 1.731 MB / 0.5628 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.655e-05/0.3621, allocations: 0 / 0.5628 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.3622, allocations: 0 / 0.5628 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.131e-06/0.3622, allocations: 4 kB / 0.5628 GB, free: 1.793 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.001027/0.3632, allocations: 251.2 kB / 0.5631 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.592e-05/0.3632, allocations: 4 kB / 0.5631 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.679e-05/0.3633, allocations: 0 / 0.5631 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.651e-05/0.3633, allocations: 3.938 kB / 0.5631 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.658e-05/0.3633, allocations: 0 / 0.5631 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.32e-06/0.3633, allocations: 7.938 kB / 0.5631 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000758/0.3641, allocations: 451.1 kB / 0.5635 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.494e-06/0.3641, allocations: 0 / 0.5635 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.129e-05/0.3641, allocations: 7.938 kB / 0.5635 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004568/0.3646, allocations: 301.1 kB / 0.5638 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3646, allocations: 3.984 kB / 0.5638 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3646, allocations: 0 / 0.5638 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.3646, allocations: 0 / 0.5638 GB, free: 0.7852 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.000388/0.365, allocations: 311.6 kB / 0.5641 GB, free: 456 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.365, allocations: 12.03 kB / 0.5641 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.927e-05/0.365, allocations: 34.75 kB / 0.5642 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.09e-05/0.365, allocations: 0.9375 kB / 0.5642 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.845e-05/0.3651, allocations: 106.5 kB / 0.5643 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.3651, allocations: 4.375 kB / 0.5643 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.3652, allocations: 384 / 0.5643 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.3653, allocations: 64.55 kB / 0.5643 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.3653, allocations: 0 / 0.5643 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-06/0.3653, allocations: 0 / 0.5643 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.3653, allocations: 0 / 0.5643 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.176e-05/0.3653, allocations: 29.64 kB / 0.5644 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001463/0.3655, allocations: 120.8 kB / 0.5645 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.278e-05/0.3655, allocations: 44.28 kB / 0.5645 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.989e-05/0.3656, allocations: 38.66 kB / 0.5646 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.713e-06/0.3656, allocations: 0 / 0.5646 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.53e-05/0.3656, allocations: 60.2 kB / 0.5646 GB, free: 15.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.3656, allocations: 0 / 0.5646 GB, free: 15.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001803/0.3658, allocations: 122.7 kB / 0.5647 GB, free: 15.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.3659, allocations: 85.11 kB / 0.5648 GB, free: 15.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.004e-05/0.3659, allocations: 93.81 kB / 0.5649 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.3659, allocations: 25.7 kB / 0.5649 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.366, allocations: 84.27 kB / 0.565 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.366, allocations: 0 / 0.565 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.366, allocations: 17.72 kB / 0.565 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3661, allocations: 310.8 kB / 0.5653 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.448e-05/0.3662, allocations: 29.69 kB / 0.5653 GB, free: 14.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.367e-05/0.3662, allocations: 33.7 kB / 0.5654 GB, free: 14.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.093e-05/0.3663, allocations: 60.27 kB / 0.5654 GB, free: 14.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3663, allocations: 0 / 0.5654 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.693e-05/0.3663, allocations: 93.03 kB / 0.5655 GB, free: 14.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.3664, allocations: 36.08 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.3664, allocations: 7.938 kB / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.3664, allocations: 0 / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.3664, allocations: 3.938 kB / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.3664, allocations: 0 / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.591e-05/0.3664, allocations: 4 kB / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.3664, allocations: 4 kB / 0.5656 GB, free: 14.69 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 9.682e-05/0.3665, allocations: 132.9 kB / 0.5657 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.886e-06/0.3665, allocations: 7.938 kB / 0.5657 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.105e-05/0.3665, allocations: 6.984 kB / 0.5657 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.3665, allocations: 0 / 0.5657 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3665, allocations: 8 kB / 0.5657 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3665, allocations: 0 / 0.5657 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.742e-05/0.3666, allocations: 116.8 kB / 0.5658 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.3666, allocations: 0 / 0.5658 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.3666, allocations: 0 / 0.5658 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3666, allocations: 3.938 kB / 0.5658 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.3667, allocations: 0 / 0.5658 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.3667, allocations: 0 / 0.5658 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3667, allocations: 0 / 0.5658 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.3668, allocations: 120.5 kB / 0.566 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.857e-06/0.3668, allocations: 15.97 kB / 0.566 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.3668, allocations: 3.984 kB / 0.566 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.365e-06/0.3668, allocations: 0 / 0.566 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.3668, allocations: 0 / 0.566 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.3668, allocations: 4 kB / 0.566 GB, free: 14.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.08e-05/0.3669, allocations: 75.28 kB / 0.5661 GB, free: 14.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3669, allocations: 0 / 0.5661 GB, free: 14.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003036/0.3672, allocations: 63.8 kB / 0.5661 GB, free: 14.05 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.0007429/0.3679, allocations: 0.7477 MB / 0.5668 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.368, allocations: 114.8 kB / 0.567 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.368, allocations: 0 / 0.567 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.027e-05/0.3681, allocations: 81.11 kB / 0.567 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.3682, allocations: 4 kB / 0.567 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/0.3685, allocations: 164.2 kB / 0.5672 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.307e-05/0.3686, allocations: 55.48 kB / 0.5672 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.528e-06/0.3686, allocations: 0 / 0.5672 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.522e-05/0.3686, allocations: 11.44 kB / 0.5673 GB, free: 12.74 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3686, allocations: 0 / 0.5673 GB, free: 12.74 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02768/0.3963, allocations: 2.989 MB / 0.5702 GB, free: 9.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.48, allocations: 4.062 kB / 0.5702 GB, free: 9.84 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.476180060766637] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.593795175198466 11.617594808 11.248555812 Calling exit ...