Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002267/0.002267, allocations: 207.5 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.419/1.419, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2212/0.2212, allocations: 46.95 MB / 360.9 MB, free: 4.043 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.89 kB / 0.4961 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3051, allocations: 66.04 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001569/0.3066, allocations: 481.1 kB / 0.561 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002514/0.3092, allocations: 1.727 MB / 0.5627 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.521e-05/0.3092, allocations: 0 / 0.5627 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.521e-05/0.3092, allocations: 0 / 0.5627 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.641e-06/0.3092, allocations: 0 / 0.5627 GB, free: 2.02 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.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.0009993/0.3102, allocations: 263.2 kB / 0.563 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.029e-05/0.3102, allocations: 8 kB / 0.563 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.539e-05/0.3103, allocations: 7.875 kB / 0.563 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.425e-05/0.3103, allocations: 0 / 0.563 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.551e-05/0.3103, allocations: 0 / 0.563 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.959e-06/0.3103, allocations: 4 kB / 0.563 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000736/0.311, allocations: 463.1 kB / 0.5634 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.625e-06/0.3111, allocations: 0 / 0.5634 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.908e-05/0.3111, allocations: 4 kB / 0.5634 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004425/0.3115, allocations: 305 kB / 0.5637 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3115, allocations: 0 / 0.5637 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3115, allocations: 3.938 kB / 0.5637 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3115, allocations: 0 / 0.5637 GB, free: 0.9844 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.0003597/0.3119, allocations: 307.7 kB / 0.564 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.3119, allocations: 12.03 kB / 0.564 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.884e-05/0.3119, allocations: 30.75 kB / 0.5641 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.614e-05/0.312, allocations: 8.922 kB / 0.5641 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.207e-05/0.3121, allocations: 106.5 kB / 0.5642 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.3121, allocations: 4.375 kB / 0.5642 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.3121, allocations: 384 / 0.5642 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.3122, allocations: 64.55 kB / 0.5643 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.3122, allocations: 0 / 0.5643 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-06/0.3122, allocations: 0 / 0.5643 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.3122, allocations: 3.938 kB / 0.5643 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.133e-05/0.3122, allocations: 29.64 kB / 0.5643 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001229/0.3124, allocations: 120.8 kB / 0.5644 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.063e-05/0.3124, allocations: 44.28 kB / 0.5644 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.888e-05/0.3124, allocations: 38.66 kB / 0.5645 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/0.3125, allocations: 0 / 0.5645 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.3125, allocations: 60.2 kB / 0.5645 GB, free: 4 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.3125, allocations: 0 / 0.5645 GB, free: 4 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002028/0.3127, allocations: 118.7 kB / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.3128, allocations: 89.05 kB / 0.5647 GB, free: 15.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.677e-05/0.3128, allocations: 93.81 kB / 0.5648 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.3128, allocations: 25.7 kB / 0.5648 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.03e-05/0.3128, allocations: 80.14 kB / 0.5649 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.297e-05/0.3129, allocations: 4.125 kB / 0.5649 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.3129, allocations: 17.72 kB / 0.5649 GB, free: 15.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.313, allocations: 314.8 kB / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.308e-05/0.3131, allocations: 25.7 kB / 0.5653 GB, free: 15.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.809e-05/0.3131, allocations: 29.7 kB / 0.5653 GB, free: 15.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.833e-05/0.3131, allocations: 64.27 kB / 0.5654 GB, free: 15.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3131, allocations: 0 / 0.5654 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.984e-05/0.3132, allocations: 93.03 kB / 0.5654 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.3133, allocations: 33.64 kB / 0.5655 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3133, allocations: 4.094 kB / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.3133, allocations: 0 / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.3133, allocations: 0 / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.3133, allocations: 0 / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.45e-05/0.3133, allocations: 4 kB / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.3133, allocations: 0 / 0.5655 GB, free: 14.9 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.316e-05/0.3134, allocations: 143.5 kB / 0.5656 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.3134, allocations: 3.938 kB / 0.5656 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.111e-05/0.3134, allocations: 3 kB / 0.5656 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.3134, allocations: 0 / 0.5656 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3134, allocations: 4 kB / 0.5656 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-06/0.3134, allocations: 0 / 0.5656 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.861e-05/0.3135, allocations: 116.8 kB / 0.5657 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3135, allocations: 0 / 0.5657 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.3135, allocations: 0 / 0.5657 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3135, allocations: 3.938 kB / 0.5657 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.3135, allocations: 7.984 kB / 0.5658 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3135, allocations: 0 / 0.5658 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3135, allocations: 0 / 0.5658 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.3136, allocations: 116.5 kB / 0.5659 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-06/0.3136, allocations: 15.86 kB / 0.5659 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.3137, allocations: 8.031 kB / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.736e-06/0.3137, allocations: 0 / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.3137, allocations: 3.938 kB / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.3137, allocations: 4 kB / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 2.941e-05/0.3137, allocations: 75.28 kB / 0.566 GB, free: 14.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3137, allocations: 0 / 0.566 GB, free: 14.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002857/0.314, allocations: 63.8 kB / 0.566 GB, free: 14.25 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.000724/0.3147, allocations: 0.7534 MB / 0.5668 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.3149, allocations: 114.8 kB / 0.5669 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3149, allocations: 0 / 0.5669 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.091e-05/0.3149, allocations: 81.09 kB / 0.567 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001161/0.315, allocations: 4 kB / 0.567 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/0.3154, allocations: 160.2 kB / 0.5671 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.209e-05/0.3154, allocations: 51.48 kB / 0.5672 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.829e-06/0.3154, allocations: 8 kB / 0.5672 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.381e-05/0.3154, allocations: 11.38 kB / 0.5672 GB, free: 12.93 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3154, allocations: 0 / 0.5672 GB, free: 12.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.3439, allocations: 3.01 MB / 0.5701 GB, free: 10.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.98, allocations: 10.34 kB / 0.5701 GB, free: 10.04 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Math_TestPolynomials.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.796028595999815] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.083644305006601 11.099508673 10.784861094 Calling exit ...