Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001324/0.001324, allocations: 120 kB / 18.5 MB, free: 4.52 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.001437/0.001437, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.474/1.474, allocations: 230.4 MB / 254.7 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2263/0.2263, allocations: 46.92 MB / 357.7 MB, free: 10.21 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-beta.om/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_4_1_0-beta_om_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0023/0.0023, allocations: 83.86 kB / 0.4917 GB, free: 7.766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1312, allocations: 66.04 MB / 0.5561 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001712/0.1329, allocations: 494.2 kB / 0.5566 GB, free: 5.105 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002696/0.1356, allocations: 1.805 MB / 0.5584 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.092e-05/0.1356, allocations: 0 / 0.5584 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.589e-05/0.1357, allocations: 0 / 0.5584 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.172e-06/0.1357, allocations: 0 / 0.5584 GB, free: 3.281 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.001082/0.1367, allocations: 231.3 kB / 0.5586 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.564e-05/0.1368, allocations: 7.938 kB / 0.5586 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.876e-05/0.1368, allocations: 3.938 kB / 0.5586 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.501e-05/0.1369, allocations: 0 / 0.5586 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.556e-05/0.1369, allocations: 0 / 0.5586 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.37e-06/0.1369, allocations: 0 / 0.5586 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006782/0.1376, allocations: 439.2 kB / 0.559 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.386e-06/0.1376, allocations: 0 / 0.559 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.101e-05/0.1376, allocations: 0 / 0.559 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004542/0.138, allocations: 303.2 kB / 0.5593 GB, free: 2.316 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.138, allocations: 0 / 0.5593 GB, free: 2.316 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.138, allocations: 0 / 0.5593 GB, free: 2.316 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1381, allocations: 0 / 0.5593 GB, free: 2.316 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.0004495/0.1385, allocations: 388.8 kB / 0.5597 GB, free: 1.883 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.1385, allocations: 16.02 kB / 0.5597 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.1386, allocations: 30.75 kB / 0.5597 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.1386, allocations: 8.875 kB / 0.5597 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.1387, allocations: 160.4 kB / 0.5599 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-06/0.1387, allocations: 384 / 0.5599 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.1388, allocations: 8.312 kB / 0.5599 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.201e-05/0.1388, allocations: 29.83 kB / 0.5599 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1388, allocations: 0 / 0.5599 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.1389, allocations: 0 / 0.5599 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1389, allocations: 0 / 0.5599 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.231e-05/0.1389, allocations: 11.97 kB / 0.5599 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001515/0.139, allocations: 149.7 kB / 0.5601 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.854e-05/0.1391, allocations: 22.55 kB / 0.5601 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.547e-05/0.1391, allocations: 4.859 kB / 0.5601 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.057e-06/0.1391, allocations: 0 / 0.5601 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.031e-05/0.1392, allocations: 60.2 kB / 0.5602 GB, free: 1.262 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1392, allocations: 0 / 0.5602 GB, free: 1.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001891/0.1394, allocations: 67.45 kB / 0.5602 GB, free: 1.184 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.1394, allocations: 85.17 kB / 0.5603 GB, free: 1.082 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.617e-05/0.1395, allocations: 93.81 kB / 0.5604 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.1395, allocations: 29.7 kB / 0.5604 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/0.1395, allocations: 80.14 kB / 0.5605 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.1395, allocations: 0 / 0.5605 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.1396, allocations: 9.719 kB / 0.5605 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1397, allocations: 318.8 kB / 0.5608 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.133e-05/0.1397, allocations: 4 kB / 0.5608 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.41e-06/0.1397, allocations: 4 kB / 0.5608 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.498e-05/0.1398, allocations: 60.27 kB / 0.5609 GB, free: 456 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1398, allocations: 0 / 0.5609 GB, free: 456 kB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.175e-05/0.1399, allocations: 63.34 kB / 0.5609 GB, free: 380 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.482e-05/0.1399, allocations: 37.62 kB / 0.561 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1399, allocations: 0 / 0.561 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1399, allocations: 3.938 kB / 0.561 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.1399, allocations: 0 / 0.561 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.1399, allocations: 8.078 kB / 0.561 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.538e-05/0.14, allocations: 4 kB / 0.561 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.14, allocations: 0 / 0.561 GB, free: 320 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 0.0001009/0.1401, allocations: 135.5 kB / 0.5611 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.1401, allocations: 7.938 kB / 0.5611 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.646e-06/0.1401, allocations: 3.125 kB / 0.5611 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1401, allocations: 0 / 0.5611 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1401, allocations: 7.922 kB / 0.5611 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1401, allocations: 0 / 0.5611 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.1402, allocations: 149.7 kB / 0.5613 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1402, allocations: 4 kB / 0.5613 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/0.1402, allocations: 0 / 0.5613 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1402, allocations: 3.938 kB / 0.5613 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.1403, allocations: 0 / 0.5613 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1403, allocations: 0 / 0.5613 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1403, allocations: 0 / 0.5613 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.1404, allocations: 94.77 kB / 0.5614 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.1404, allocations: 85.08 kB / 0.5615 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.1404, allocations: 0 / 0.5615 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.301e-05/0.1404, allocations: 7.984 kB / 0.5615 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.06e-05/0.1404, allocations: 0 / 0.5615 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.1404, allocations: 0 / 0.5615 GB, free: 15.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.182e-05/0.1405, allocations: 75.28 kB / 0.5615 GB, free: 15.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1405, allocations: 0 / 0.5615 GB, free: 15.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003301/0.1408, allocations: 67.8 kB / 0.5616 GB, free: 15.58 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.0007415/0.1415, allocations: 0.7197 MB / 0.5623 GB, free: 14.83 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.1416, allocations: 67.33 kB / 0.5624 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1416, allocations: 4.094 kB / 0.5624 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.141e-05/0.1417, allocations: 55.41 kB / 0.5624 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.1418, allocations: 4 kB / 0.5624 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.1421, allocations: 134.5 kB / 0.5626 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.1424, allocations: 0.6729 MB / 0.5632 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.28e-06/0.1424, allocations: 0 / 0.5632 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.285e-05/0.1425, allocations: 7.438 kB / 0.5632 GB, free: 13.8 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1425, allocations: 0 / 0.5632 GB, free: 13.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.1663, allocations: 2.465 MB / 0.5656 GB, free: 11.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.827/7.993, allocations: 10.11 kB / 0.5656 GB, free: 11.4 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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-beta_om_ModelicaTest_Math_TestPolynomials.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.01613746676594] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.061460143886507 8.076166564 7.935328428 Calling exit ...