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.001801/0.001801, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.002079/0.002079, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.536/1.536, allocations: 230.5 MB / 254 MB, free: 15.2 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.235/0.235, allocations: 46.91 MB / 357 MB, free: 10.25 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.002263/0.002263, allocations: 75.88 kB / 0.491 GB, free: 7.805 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1305, allocations: 66.05 MB / 0.5555 GB, free: 5.625 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001765/0.1323, allocations: 499.1 kB / 0.5559 GB, free: 5.133 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002975/0.1352, allocations: 1.797 MB / 0.5577 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.76e-05/0.1353, allocations: 0 / 0.5577 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.585e-05/0.1353, allocations: 4 kB / 0.5577 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.783e-06/0.1353, allocations: 0 / 0.5577 GB, free: 3.312 MB / 414.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.001038/0.1363, allocations: 231.2 kB / 0.5579 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.33e-05/0.1364, allocations: 0 / 0.5579 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.1364, allocations: 11.92 kB / 0.5579 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.835e-05/0.1364, allocations: 3.984 kB / 0.5579 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.806e-05/0.1364, allocations: 0 / 0.5579 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.591e-06/0.1365, allocations: 0 / 0.5579 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006668/0.1371, allocations: 427.2 kB / 0.5583 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.586e-06/0.1371, allocations: 4 kB / 0.5583 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.793e-05/0.1371, allocations: 0 / 0.5583 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004459/0.1376, allocations: 307.2 kB / 0.5586 GB, free: 2.348 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1376, allocations: 0 / 0.5586 GB, free: 2.348 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1376, allocations: 0 / 0.5586 GB, free: 2.348 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.1376, allocations: 0 / 0.5586 GB, free: 2.348 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.0004455/0.1381, allocations: 388.8 kB / 0.559 GB, free: 1.914 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.1381, allocations: 8.031 kB / 0.559 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.1381, allocations: 34.75 kB / 0.559 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.537e-05/0.1382, allocations: 12.88 kB / 0.559 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.1383, allocations: 164.4 kB / 0.5592 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1383, allocations: 384 / 0.5592 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-06/0.1383, allocations: 384 / 0.5592 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.1384, allocations: 37.83 kB / 0.5592 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.1384, allocations: 0 / 0.5592 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.1384, allocations: 0 / 0.5592 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1384, allocations: 0 / 0.5592 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.815e-05/0.1384, allocations: 0 / 0.5592 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.1386, allocations: 149.7 kB / 0.5594 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.079e-05/0.1387, allocations: 26.44 kB / 0.5594 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/0.1387, allocations: 4.859 kB / 0.5594 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.071e-06/0.1387, allocations: 0 / 0.5594 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.39e-05/0.1387, allocations: 68.3 kB / 0.5595 GB, free: 1.289 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.1387, allocations: 0 / 0.5595 GB, free: 1.289 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001701/0.1389, allocations: 63.48 kB / 0.5595 GB, free: 1.215 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.139, allocations: 89.02 kB / 0.5596 GB, free: 1.109 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.244e-05/0.139, allocations: 93.81 kB / 0.5597 GB, free: 1.008 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.139, allocations: 25.7 kB / 0.5597 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.1391, allocations: 80.14 kB / 0.5598 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.1391, allocations: 0 / 0.5598 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.1391, allocations: 17.72 kB / 0.5598 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1392, allocations: 310.8 kB / 0.5601 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.295e-06/0.1393, allocations: 0 / 0.5601 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.033e-06/0.1393, allocations: 8 kB / 0.5601 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.146e-05/0.1393, allocations: 60.25 kB / 0.5602 GB, free: 488 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1393, allocations: 4 kB / 0.5602 GB, free: 484 kB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.131e-05/0.1394, allocations: 59.41 kB / 0.5603 GB, free: 412 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/0.1394, allocations: 37.64 kB / 0.5603 GB, free: 368 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1394, allocations: 0 / 0.5603 GB, free: 368 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1394, allocations: 3.938 kB / 0.5603 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.1394, allocations: 0 / 0.5603 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1394, allocations: 4.094 kB / 0.5603 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.526e-05/0.1395, allocations: 0 / 0.5603 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.1395, allocations: 0 / 0.5603 GB, free: 360 kB / 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.765e-05/0.1396, allocations: 139.5 kB / 0.5604 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.1396, allocations: 3.938 kB / 0.5604 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.965e-06/0.1396, allocations: 3.125 kB / 0.5604 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1396, allocations: 4 kB / 0.5604 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.1396, allocations: 3.984 kB / 0.5604 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.1396, allocations: 0 / 0.5604 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.1397, allocations: 149.7 kB / 0.5606 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1397, allocations: 0 / 0.5606 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1397, allocations: 0 / 0.5606 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1397, allocations: 3.938 kB / 0.5606 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1397, allocations: 8 kB / 0.5606 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1397, allocations: 7.938 kB / 0.5606 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1397, allocations: 0 / 0.5606 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.1398, allocations: 94.77 kB / 0.5607 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.1399, allocations: 85.08 kB / 0.5608 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.1399, allocations: 0 / 0.5608 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.285e-06/0.1399, allocations: 0 / 0.5608 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.1399, allocations: 0 / 0.5608 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.1399, allocations: 4 kB / 0.5608 GB, free: 15.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.253e-05/0.14, allocations: 75.28 kB / 0.5609 GB, free: 15.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.14, allocations: 0 / 0.5609 GB, free: 15.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003104/0.1403, allocations: 63.8 kB / 0.5609 GB, free: 15.61 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.0007591/0.141, allocations: 0.7254 MB / 0.5616 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.8e-05/0.1411, allocations: 71.38 kB / 0.5617 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1411, allocations: 4.062 kB / 0.5617 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.678e-05/0.1412, allocations: 55.41 kB / 0.5617 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001185/0.1413, allocations: 3.984 kB / 0.5618 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.1416, allocations: 134.5 kB / 0.5619 GB, free: 14.53 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.1419, allocations: 0.669 MB / 0.5625 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.52e-06/0.1419, allocations: 0 / 0.5625 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.288e-05/0.1419, allocations: 7.438 kB / 0.5625 GB, free: 13.82 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1419, allocations: 4 kB / 0.5625 GB, free: 13.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.1657, allocations: 2.456 MB / 0.5649 GB, free: 11.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.876/8.042, allocations: 7.922 kB / 0.565 GB, free: 11.42 MB / 430.1 MB " [Timeout remaining time 652] (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: 11.213695581071079] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.114446594030596 8.139773832 7.998143912 Calling exit ...