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.001705/0.001705, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002012/0.002012, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.469/1.469, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2288/0.2288, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.001899/0.001899, allocations: 71.89 kB / 0.4909 GB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1322, allocations: 65.99 MB / 0.5554 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001811/0.134, allocations: 0.4892 MB / 0.5558 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002892/0.1369, allocations: 1.797 MB / 0.5576 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.102e-05/0.137, allocations: 0 / 0.5576 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.137, allocations: 7.875 kB / 0.5576 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.792e-06/0.137, allocations: 0 / 0.5576 GB, free: 3.566 MB / 414.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.001134/0.1381, allocations: 227.3 kB / 0.5578 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.928e-05/0.1382, allocations: 4 kB / 0.5578 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.1382, allocations: 0 / 0.5578 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.926e-05/0.1382, allocations: 3.984 kB / 0.5578 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.756e-05/0.1383, allocations: 0 / 0.5578 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.501e-06/0.1383, allocations: 0 / 0.5578 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000735/0.139, allocations: 435.2 kB / 0.5582 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.726e-06/0.139, allocations: 0 / 0.5582 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.139, allocations: 0 / 0.5582 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004931/0.1395, allocations: 311.2 kB / 0.5585 GB, free: 2.605 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1395, allocations: 0 / 0.5585 GB, free: 2.605 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1395, allocations: 0 / 0.5585 GB, free: 2.605 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1395, allocations: 0 / 0.5585 GB, free: 2.605 MB / 414.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.0004898/0.14, allocations: 388.8 kB / 0.5589 GB, free: 2.172 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.1401, allocations: 12.03 kB / 0.5589 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.1401, allocations: 34.75 kB / 0.5589 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.1401, allocations: 0.9375 kB / 0.5589 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.1402, allocations: 160.4 kB / 0.5591 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1403, allocations: 384 / 0.5591 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.503e-06/0.1403, allocations: 384 / 0.5591 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.1404, allocations: 41.75 kB / 0.5591 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.1404, allocations: 0 / 0.5591 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.1404, allocations: 0 / 0.5591 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1404, allocations: 0 / 0.5591 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.203e-05/0.1404, allocations: 7.938 kB / 0.5591 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/0.1406, allocations: 149.7 kB / 0.5593 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.798e-05/0.1406, allocations: 14.58 kB / 0.5593 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.14e-05/0.1406, allocations: 12.94 kB / 0.5593 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.1406, allocations: 0 / 0.5593 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.687e-05/0.1407, allocations: 64.14 kB / 0.5594 GB, free: 1.555 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.1407, allocations: 0 / 0.5594 GB, free: 1.555 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001955/0.1409, allocations: 71.34 kB / 0.5594 GB, free: 1.473 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/0.141, allocations: 77.11 kB / 0.5595 GB, free: 1.379 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.268e-05/0.141, allocations: 97.8 kB / 0.5596 GB, free: 1.273 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.141, allocations: 25.7 kB / 0.5596 GB, free: 1.242 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.1411, allocations: 84.14 kB / 0.5597 GB, free: 1.156 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.1411, allocations: 0 / 0.5597 GB, free: 1.156 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.1411, allocations: 9.719 kB / 0.5597 GB, free: 1.141 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.1413, allocations: 314.8 kB / 0.56 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/0.1413, allocations: 8.125 kB / 0.56 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.141e-06/0.1413, allocations: 0 / 0.56 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.352e-05/0.1414, allocations: 64.2 kB / 0.5601 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1414, allocations: 0 / 0.5601 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.811e-05/0.1415, allocations: 63.39 kB / 0.5602 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.946e-05/0.1415, allocations: 33.64 kB / 0.5602 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1415, allocations: 0 / 0.5602 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1415, allocations: 0 / 0.5602 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.1415, allocations: 0 / 0.5602 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1415, allocations: 8.078 kB / 0.5602 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.1416, allocations: 4 kB / 0.5602 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.1416, allocations: 4 kB / 0.5602 GB, free: 0.6094 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.0001015/0.1417, allocations: 137.7 kB / 0.5603 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.1417, allocations: 11.94 kB / 0.5603 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.578e-06/0.1417, allocations: 3.125 kB / 0.5603 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1417, allocations: 0 / 0.5603 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.1417, allocations: 0 / 0.5603 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.1417, allocations: 3.938 kB / 0.5604 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.1418, allocations: 149.7 kB / 0.5605 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1418, allocations: 0 / 0.5605 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.1418, allocations: 4 kB / 0.5605 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.1418, allocations: 7.875 kB / 0.5605 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.1418, allocations: 0 / 0.5605 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.1418, allocations: 0 / 0.5605 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1418, allocations: 0 / 0.5605 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.1419, allocations: 94.81 kB / 0.5606 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.282e-05/0.142, allocations: 85.08 kB / 0.5607 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.142, allocations: 0 / 0.5607 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-06/0.142, allocations: 0 / 0.5607 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.039e-05/0.142, allocations: 4 kB / 0.5607 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.142, allocations: 4 kB / 0.5607 GB, free: 12 kB / 414.1 MB Notification: Performance of sorting global known variables: time 4.89e-05/0.142, allocations: 75.28 kB / 0.5608 GB, free: 15.94 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.142, allocations: 0 / 0.5608 GB, free: 15.94 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003428/0.1424, allocations: 63.8 kB / 0.5608 GB, free: 15.88 MB / 430.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.0008289/0.1432, allocations: 0.7285 MB / 0.5615 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.1434, allocations: 63.44 kB / 0.5616 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1434, allocations: 0 / 0.5616 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.896e-05/0.1434, allocations: 55.41 kB / 0.5616 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.1435, allocations: 8 kB / 0.5617 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.1439, allocations: 138.4 kB / 0.5618 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.1442, allocations: 0.6729 MB / 0.5624 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.791e-06/0.1442, allocations: 0 / 0.5624 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.585e-05/0.1442, allocations: 7.438 kB / 0.5624 GB, free: 14.09 MB / 430.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1442, allocations: 0 / 0.5624 GB, free: 14.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/0.1714, allocations: 2.466 MB / 0.5649 GB, free: 11.69 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.083/8.254, allocations: 10.23 kB / 0.5649 GB, free: 11.68 MB / 430.1 MB " [Timeout remaining time 652] (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: 11.260751901005278] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.321287936996669 8.341858395 8.198483833 Calling exit ...