Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001603/0.001603, allocations: 114.4 kB / 19.69 MB, free: 2.188 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.001969/0.001969, allocations: 213.2 kB / 23 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2187/0.2187, allocations: 44.25 MB / 330.3 MB, free: 9.508 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 69.5 kB / 467.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1259, allocations: 61.04 MB / 0.5161 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001575/0.1275, allocations: 0.5065 MB / 0.5166 GB, free: 6.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00688/0.1344, allocations: 5.13 MB / 0.5216 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.919e-05/0.1344, allocations: 4 kB / 0.5216 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.704e-05/0.1344, allocations: 3.938 kB / 0.5216 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.713e-06/0.1344, allocations: 0 / 0.5216 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.1355, allocations: 259.2 kB / 0.5219 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.303e-05/0.1356, allocations: 0 / 0.5219 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.1356, allocations: 0 / 0.5219 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.013e-05/0.1356, allocations: 7.938 kB / 0.5219 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.054e-05/0.1356, allocations: 0 / 0.5219 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.742e-06/0.1357, allocations: 0 / 0.5219 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008607/0.1365, allocations: 0.5068 MB / 0.5224 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.765e-06/0.1365, allocations: 0 / 0.5224 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.933e-05/0.1365, allocations: 3.938 kB / 0.5224 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004815/0.137, allocations: 315.5 kB / 0.5227 GB, free: 0.582 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.137, allocations: 0 / 0.5227 GB, free: 0.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.137, allocations: 3.938 kB / 0.5227 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.137, allocations: 0 / 0.5227 GB, free: 0.5781 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.000419/0.1375, allocations: 315.6 kB / 0.523 GB, free: 240 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1375, allocations: 12.03 kB / 0.523 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/0.1375, allocations: 30.75 kB / 0.523 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.492e-05/0.1376, allocations: 4.938 kB / 0.523 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.725e-05/0.1376, allocations: 106.5 kB / 0.5231 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.425e-06/0.1377, allocations: 384 / 0.5231 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.1377, allocations: 4.375 kB / 0.5232 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.366e-05/0.1378, allocations: 33.58 kB / 0.5232 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.1378, allocations: 0 / 0.5232 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.1378, allocations: 0 / 0.5232 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.1378, allocations: 0 / 0.5232 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.692e-05/0.1378, allocations: 8.047 kB / 0.5232 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.138, allocations: 120.8 kB / 0.5233 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.313e-05/0.138, allocations: 22.55 kB / 0.5233 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.588e-05/0.138, allocations: 4.859 kB / 0.5233 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.138, allocations: 3.938 kB / 0.5233 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.599e-05/0.1381, allocations: 60.2 kB / 0.5234 GB, free: 15.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.1381, allocations: 0 / 0.5234 GB, free: 15.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001958/0.1383, allocations: 63.58 kB / 0.5235 GB, free: 15.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.1383, allocations: 89.05 kB / 0.5235 GB, free: 15.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.119e-05/0.1384, allocations: 93.86 kB / 0.5236 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.1384, allocations: 25.7 kB / 0.5237 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.1385, allocations: 80.14 kB / 0.5237 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.1385, allocations: 0 / 0.5237 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.1385, allocations: 13.72 kB / 0.5237 GB, free: 15.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1387, allocations: 314.8 kB / 0.524 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.916e-06/0.1387, allocations: 0 / 0.524 GB, free: 14.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-06/0.1387, allocations: 4 kB / 0.524 GB, free: 14.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.841e-05/0.1387, allocations: 68.2 kB / 0.5241 GB, free: 14.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1387, allocations: 0 / 0.5241 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.787e-05/0.1388, allocations: 63.34 kB / 0.5242 GB, free: 14.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/0.1389, allocations: 33.69 kB / 0.5242 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1389, allocations: 0 / 0.5242 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1389, allocations: 0 / 0.5242 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-06/0.1389, allocations: 4 kB / 0.5242 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1389, allocations: 4.094 kB / 0.5242 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.509e-05/0.1389, allocations: 0 / 0.5242 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.1389, allocations: 3.938 kB / 0.5242 GB, free: 14.78 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.0001089/0.139, allocations: 135.5 kB / 0.5243 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/0.139, allocations: 3.938 kB / 0.5243 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.424e-05/0.139, allocations: 7 kB / 0.5244 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.139, allocations: 0 / 0.5244 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.139, allocations: 0 / 0.5244 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.1391, allocations: 7.922 kB / 0.5244 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.1392, allocations: 120.8 kB / 0.5245 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1392, allocations: 4 kB / 0.5245 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.345e-06/0.1392, allocations: 3.938 kB / 0.5245 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-06/0.1392, allocations: 0 / 0.5245 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.1392, allocations: 0 / 0.5245 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.1392, allocations: 0 / 0.5245 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1392, allocations: 4 kB / 0.5245 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.1393, allocations: 86.83 kB / 0.5246 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-06/0.1393, allocations: 11.97 kB / 0.5246 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.1393, allocations: 0 / 0.5246 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.355e-06/0.1393, allocations: 0 / 0.5246 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.372e-05/0.1393, allocations: 3.938 kB / 0.5246 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.1393, allocations: 3.984 kB / 0.5246 GB, free: 14.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.36e-05/0.1394, allocations: 75.28 kB / 0.5247 GB, free: 14.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1394, allocations: 4 kB / 0.5247 GB, free: 14.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003234/0.1397, allocations: 63.81 kB / 0.5247 GB, free: 14.17 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.0007768/0.1405, allocations: 0.7201 MB / 0.5254 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.1406, allocations: 59.41 kB / 0.5255 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1406, allocations: 4.094 kB / 0.5255 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.624e-05/0.1406, allocations: 55.39 kB / 0.5255 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/0.1407, allocations: 7.938 kB / 0.5256 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.1411, allocations: 134.4 kB / 0.5257 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.1414, allocations: 0.6729 MB / 0.5263 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.43e-06/0.1414, allocations: 0 / 0.5263 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.354e-05/0.1414, allocations: 11.38 kB / 0.5263 GB, free: 12.38 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1414, allocations: 0 / 0.5263 GB, free: 12.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.1703, allocations: 2.643 MB / 0.5289 GB, free: 9.742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.71, allocations: 4.062 kB / 0.5289 GB, free: 9.738 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Math_TestPolynomials.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.888059082004474] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 10.820045305001258 11.0725133 10.932527674 Calling exit ...