Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.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.00146/0.00146, allocations: 116.3 kB / 18.5 MB, free: 4.559 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.001406/0.001406, allocations: 205 kB / 21.45 MB, free: 1.609 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.489/1.489, 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.2261/0.2261, allocations: 46.92 MB / 357.7 MB, free: 10.2 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.Magnetic.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage",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.002379/0.002379, allocations: 83.86 kB / 0.4917 GB, free: 7.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1255, allocations: 66.04 MB / 0.5562 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.005822/0.1313, allocations: 2.385 MB / 0.5585 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.1332, allocations: 0.6661 MB / 0.5591 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.1334, allocations: 4 kB / 0.5591 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.1335, allocations: 43.58 kB / 0.5592 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002837/0.1338, allocations: 71.33 kB / 0.5592 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.1343, allocations: 91.83 kB / 0.5593 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000563/0.1348, allocations: 339.3 kB / 0.5597 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003724/0.1352, allocations: 119.3 kB / 0.5598 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003519/0.1355, allocations: 159.5 kB / 0.5599 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003068/0.1358, allocations: 151.4 kB / 0.5601 GB, free: 1.535 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.953e-05/0.1359, allocations: 32 kB / 0.5601 GB, free: 1.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.136, allocations: 40 kB / 0.5601 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.921e-05/0.1361, allocations: 67.81 kB / 0.5602 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.1363, allocations: 159.2 kB / 0.5604 GB, free: 1.242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006149/0.1369, allocations: 374.5 kB / 0.5607 GB, free: 0.875 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1369, allocations: 4 kB / 0.5607 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.137, allocations: 0 / 0.5607 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.137, allocations: 4 kB / 0.5607 GB, free: 0.8672 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001292/0.1383, allocations: 0.5846 MB / 0.5613 GB, free: 240 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.1383, allocations: 12.03 kB / 0.5613 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/0.1384, allocations: 70.72 kB / 0.5614 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004369/0.1388, allocations: 48.69 kB / 0.5614 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.1391, allocations: 201.4 kB / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/0.1392, allocations: 21.03 kB / 0.5616 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.939e-05/0.1392, allocations: 36.31 kB / 0.5617 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007249/0.14, allocations: 278.2 kB / 0.5619 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.14, allocations: 0 / 0.5619 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.441e-05/0.14, allocations: 16 kB / 0.5619 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.14, allocations: 12 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006451/0.1407, allocations: 210.5 kB / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002862/0.1436, allocations: 1.036 MB / 0.5632 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.1437, allocations: 26.58 kB / 0.5632 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.008e-05/0.1438, allocations: 20.92 kB / 0.5632 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1438, allocations: 4 kB / 0.5632 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.1438, allocations: 30.56 kB / 0.5632 GB, free: 14.1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 3.848e-06/0.1438, allocations: 0 / 0.5632 GB, free: 14.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003754/0.1442, allocations: 85.47 kB / 0.5633 GB, free: 14.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.53e-05/0.1443, allocations: 51.41 kB / 0.5634 GB, free: 13.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006761/0.145, allocations: 318.9 kB / 0.5637 GB, free: 13.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.145, allocations: 29.69 kB / 0.5637 GB, free: 13.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/0.1453, allocations: 239.5 kB / 0.5639 GB, free: 13.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.1453, allocations: 3.953 kB / 0.5639 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.1455, allocations: 61.64 kB / 0.564 GB, free: 13.28 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002261/0.1457, allocations: 327 kB / 0.5643 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.1459, allocations: 67.97 kB / 0.5644 GB, free: 12.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/0.1463, allocations: 93.67 kB / 0.5645 GB, free: 12.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003841/0.1467, allocations: 125.6 kB / 0.5646 GB, free: 12.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.1467, allocations: 0 / 0.5646 GB, free: 12.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008259/0.1475, allocations: 230 kB / 0.5648 GB, free: 12.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.1476, allocations: 7.938 kB / 0.5648 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.1476, allocations: 11.97 kB / 0.5648 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.1476, allocations: 0 / 0.5648 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005813/0.1482, allocations: 51.95 kB / 0.5649 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.1482, allocations: 4 kB / 0.5649 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004837/0.1487, allocations: 35.67 kB / 0.5649 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-05/0.1487, allocations: 15.94 kB / 0.5649 GB, free: 12.3 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * 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.0002396/0.149, allocations: 133.8 kB / 0.5651 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1491, allocations: 27.8 kB / 0.5651 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.033e-05/0.1491, allocations: 24.89 kB / 0.5651 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1492, allocations: 0 / 0.5651 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1492, allocations: 0 / 0.5651 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1492, allocations: 0 / 0.5651 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.1504, allocations: 0.511 MB / 0.5656 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.1504, allocations: 4 kB / 0.5656 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.195e-05/0.1505, allocations: 4 kB / 0.5656 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.1505, allocations: 0 / 0.5656 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.1505, allocations: 16 kB / 0.5656 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1505, allocations: 0 / 0.5656 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.1505, allocations: 3.938 kB / 0.5656 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.1508, allocations: 97.81 kB / 0.5657 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.1509, allocations: 105 kB / 0.5658 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.077e-05/0.151, allocations: 0 / 0.5658 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.1512, allocations: 4.031 kB / 0.5658 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.1512, allocations: 4 kB / 0.5658 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.1512, allocations: 0 / 0.5658 GB, free: 11.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004849/0.1517, allocations: 225.9 kB / 0.566 GB, free: 11.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1517, allocations: 0 / 0.566 GB, free: 11.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005519/0.1523, allocations: 63.89 kB / 0.5661 GB, free: 10.98 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0006984/0.153, allocations: 0.6482 MB / 0.5667 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004522/0.1534, allocations: 95.91 kB / 0.5668 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1534, allocations: 0 / 0.5668 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.666e-05/0.1535, allocations: 15.92 kB / 0.5668 GB, free: 10.19 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004935/0.154, allocations: 21.11 kB / 0.5669 GB, free: 10.17 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004994/0.159, allocations: 2.225 MB / 0.569 GB, free: 7.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005688/0.1595, allocations: 0.7401 MB / 0.5698 GB, free: 7.074 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002052/0.1597, allocations: 17.95 kB / 0.5698 GB, free: 7.059 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.1599, allocations: 75.41 kB / 0.5698 GB, free: 6.984 MB / 430.1 MB Notification: Performance of SimCode: time 1.513e-06/0.1599, allocations: 4 kB / 0.5699 GB, free: 6.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03863/0.1986, allocations: 4.194 MB / 0.5739 GB, free: 2.902 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.392/8.59, allocations: 20.52 kB / 0.574 GB, free: 2.891 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.652291761245579] Failed to read output from testmodel.py, exit status != 0: ['time', 'quarterCylinder.G_m', 'quarterHollowCylinder.G_m', 'halfCylinder.G_m', 'halfHollowCylinder.G_m', 'quarterSphere.G_m', 'quarterHollowSphere.G_m', 'eighthOfSphere.G_m', 'eighthOfHollowSphere.G_m', 'coaxCylindersEndFaces.G_m'] 8.6620116638951 8.678872591 8.538400362 Calling exit ...