Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.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.001251/0.001251, allocations: 114.2 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.0014/0.0014, allocations: 212.7 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.4/1.4, allocations: 207.6 MB / 233.8 MB, free: 10.01 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.2503/0.2503, allocations: 44.24 MB / 330.3 MB, free: 9.539 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.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear",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.00215/0.00215, allocations: 75.84 kB / 467.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1225, allocations: 61.05 MB / 0.5161 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001485/0.124, allocations: 0.4948 MB / 0.5166 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003233/0.1272, allocations: 2.256 MB / 0.5188 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.165e-06/0.1272, allocations: 0 / 0.5188 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.226e-06/0.1272, allocations: 0 / 0.5188 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.142e-06/0.1272, allocations: 0 / 0.5188 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.1292, allocations: 0.6159 MB / 0.5194 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.418e-05/0.1293, allocations: 15.98 kB / 0.5194 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.894e-05/0.1293, allocations: 4 kB / 0.5194 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.076e-05/0.1294, allocations: 11.92 kB / 0.5195 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.749e-05/0.1294, allocations: 8 kB / 0.5195 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.989e-06/0.1294, allocations: 0 / 0.5195 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.1305, allocations: 0.6436 MB / 0.5201 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.101e-06/0.1305, allocations: 4 kB / 0.5201 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.1305, allocations: 4 kB / 0.5201 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005875/0.1311, allocations: 431.1 kB / 0.5205 GB, free: 2.855 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1311, allocations: 0 / 0.5205 GB, free: 2.855 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1311, allocations: 0 / 0.5205 GB, free: 2.855 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.1311, allocations: 4 kB / 0.5205 GB, free: 2.852 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004297/0.1315, allocations: 351.3 kB / 0.5208 GB, free: 2.473 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1316, allocations: 12.03 kB / 0.5209 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.416e-05/0.1317, allocations: 106 kB / 0.521 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.82e-05/0.1317, allocations: 80.22 kB / 0.521 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.1318, allocations: 181.8 kB / 0.5212 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.234e-05/0.1319, allocations: 150.9 kB / 0.5214 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.149e-05/0.132, allocations: 158.5 kB / 0.5215 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.598e-05/0.1321, allocations: 101 kB / 0.5216 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.155e-05/0.1321, allocations: 75.28 kB / 0.5217 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.577e-05/0.1322, allocations: 162.5 kB / 0.5218 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.966e-05/0.1322, allocations: 150.6 kB / 0.522 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.001e-05/0.1323, allocations: 150.6 kB / 0.5221 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.1326, allocations: 421 kB / 0.5225 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.851e-05/0.1327, allocations: 177 kB / 0.5227 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.1327, allocations: 84.08 kB / 0.5228 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.1328, allocations: 75.28 kB / 0.5228 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.918e-05/0.1329, allocations: 135.5 kB / 0.523 GB, free: 184 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 2.475e-06/0.1329, allocations: 3.984 kB / 0.523 GB, free: 180 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.408e-05/0.1329, allocations: 29.7 kB / 0.523 GB, free: 144 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.133, allocations: 160.4 kB / 0.5231 GB, free: 15.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.168e-05/0.1331, allocations: 89.86 kB / 0.5232 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1331, allocations: 29.7 kB / 0.5233 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.623e-05/0.1332, allocations: 80.14 kB / 0.5233 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.412e-06/0.1332, allocations: 0 / 0.5233 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.1332, allocations: 13.72 kB / 0.5234 GB, free: 15.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1333, allocations: 310.8 kB / 0.5236 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.164e-06/0.1333, allocations: 4 kB / 0.5237 GB, free: 15.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.645e-05/0.1334, allocations: 7.938 kB / 0.5237 GB, free: 15.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.613e-05/0.1334, allocations: 79.22 kB / 0.5237 GB, free: 15.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.891e-05/0.1334, allocations: 75.28 kB / 0.5238 GB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.783e-05/0.1335, allocations: 33.62 kB / 0.5238 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.891e-05/0.1335, allocations: 83.28 kB / 0.5239 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-05/0.1336, allocations: 79.28 kB / 0.524 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.375e-05/0.1337, allocations: 154.5 kB / 0.5241 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.196e-05/0.1337, allocations: 83.31 kB / 0.5242 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.361e-05/0.1338, allocations: 154.5 kB / 0.5244 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.681e-05/0.1338, allocations: 75.28 kB / 0.5244 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.1339, allocations: 79.33 kB / 0.5245 GB, free: 14.52 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001611/0.134, allocations: 272.3 kB / 0.5248 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.081e-05/0.1341, allocations: 108.9 kB / 0.5249 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.231e-05/0.1342, allocations: 108 kB / 0.525 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.124e-05/0.1343, allocations: 180.2 kB / 0.5252 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.755e-05/0.1343, allocations: 176.3 kB / 0.5253 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.723e-05/0.1344, allocations: 184.2 kB / 0.5255 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.1347, allocations: 380.2 kB / 0.5259 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.375e-05/0.1347, allocations: 101 kB / 0.526 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/0.1348, allocations: 104.9 kB / 0.5261 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.569e-05/0.1349, allocations: 184.2 kB / 0.5262 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.284e-05/0.135, allocations: 180.2 kB / 0.5264 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-05/0.135, allocations: 176.3 kB / 0.5266 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.742e-05/0.1351, allocations: 184.3 kB / 0.5267 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.1353, allocations: 307.7 kB / 0.527 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.1354, allocations: 112.9 kB / 0.5272 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.1355, allocations: 180.3 kB / 0.5273 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-05/0.1356, allocations: 105 kB / 0.5274 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.097e-05/0.1356, allocations: 188.1 kB / 0.5276 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-05/0.1357, allocations: 105.4 kB / 0.5277 GB, free: 11.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.658e-05/0.1357, allocations: 75.28 kB / 0.5278 GB, free: 10.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1357, allocations: 0 / 0.5278 GB, free: 10.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005236/0.1363, allocations: 131.6 kB / 0.5279 GB, free: 10.85 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.001241/0.1375, allocations: 1.057 MB / 0.5289 GB, free: 9.773 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.683e-05/0.1375, allocations: 8 kB / 0.5289 GB, free: 9.766 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1376, allocations: 0 / 0.5289 GB, free: 9.766 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.1376, allocations: 4 kB / 0.5289 GB, free: 9.762 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.1379, allocations: 455.7 kB / 0.5294 GB, free: 9.312 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004374/0.1384, allocations: 253.3 kB / 0.5296 GB, free: 9.023 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.1387, allocations: 0.669 MB / 0.5303 GB, free: 8.328 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.262e-06/0.1387, allocations: 0 / 0.5303 GB, free: 8.328 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.673e-05/0.1387, allocations: 11.44 kB / 0.5303 GB, free: 8.316 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1387, allocations: 3.938 kB / 0.5303 GB, free: 8.312 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03263/0.1713, allocations: 4.079 MB / 0.5343 GB, free: 4.238 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.19, allocations: 8.859 kB / 0.5343 GB, free: 4.23 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear_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_TestNonlinear.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.201759765994211] Failed to read output from testmodel.py, exit status != 0: 11.292137784999795 11.504739959 11.370348482 Calling exit ...