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.001338/0.001338, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001557/0.001557, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.484/1.484, allocations: 230.5 MB / 258.2 MB, free: 8 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.2321/0.2321, allocations: 46.93 MB / 361.6 MB, free: 4.18 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.002463/0.002463, allocations: 79.88 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3228, allocations: 66.09 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003934/0.3268, allocations: 2.383 MB / 0.5638 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.3281, allocations: 0.674 MB / 0.5645 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.3282, allocations: 7.938 kB / 0.5645 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.3283, allocations: 39.58 kB / 0.5645 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.3285, allocations: 67.34 kB / 0.5646 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.3288, allocations: 95.81 kB / 0.5647 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003574/0.3291, allocations: 339.3 kB / 0.565 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000247/0.3294, allocations: 119.6 kB / 0.5651 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.3297, allocations: 155.5 kB / 0.5653 GB, free: 428 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.3299, allocations: 155.4 kB / 0.5654 GB, free: 272 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.306e-05/0.33, allocations: 36 kB / 0.5655 GB, free: 236 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.635e-05/0.3301, allocations: 36 kB / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.3301, allocations: 67.81 kB / 0.5656 GB, free: 132 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.3303, allocations: 155.3 kB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004507/0.3307, allocations: 380.4 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3307, allocations: 0 / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3307, allocations: 0 / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.3308, allocations: 7.938 kB / 0.5661 GB, free: 15.6 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.0009601/0.3317, allocations: 0.5094 MB / 0.5666 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.3318, allocations: 12.03 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.801e-05/0.3319, allocations: 70.72 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000303/0.3322, allocations: 48.69 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.3323, allocations: 142.2 kB / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.3324, allocations: 25.03 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.951e-05/0.3324, allocations: 28.38 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005295/0.3329, allocations: 282.2 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.333, allocations: 0 / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.333, allocations: 12 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.333, allocations: 15.94 kB / 0.5672 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004372/0.3334, allocations: 214.5 kB / 0.5674 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.3353, allocations: 0.9938 MB / 0.5684 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.726e-05/0.3354, allocations: 30.58 kB / 0.5684 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.947e-05/0.3354, allocations: 24.91 kB / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.3354, allocations: 4 kB / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.3354, allocations: 34.56 kB / 0.5685 GB, free: 13.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.793e-06/0.3354, allocations: 0 / 0.5685 GB, free: 13.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002294/0.3357, allocations: 77.48 kB / 0.5685 GB, free: 12.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.3357, allocations: 51.41 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.3361, allocations: 324.1 kB / 0.5689 GB, free: 12.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.3361, allocations: 25.7 kB / 0.5689 GB, free: 12.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.3363, allocations: 231.5 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.3363, allocations: 19.88 kB / 0.5691 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.896e-05/0.3364, allocations: 53.66 kB / 0.5692 GB, free: 12.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3366, allocations: 334.9 kB / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.3367, allocations: 59.98 kB / 0.5696 GB, free: 11.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.3369, allocations: 93.67 kB / 0.5697 GB, free: 11.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.3371, allocations: 129.6 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3371, allocations: 0 / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004309/0.3375, allocations: 238 kB / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3375, allocations: 7.938 kB / 0.57 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.3375, allocations: 8.016 kB / 0.57 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.834e-05/0.3376, allocations: 4 kB / 0.57 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/0.3379, allocations: 47.97 kB / 0.5701 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3379, allocations: 0 / 0.5701 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.3381, allocations: 39.72 kB / 0.5701 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.3382, allocations: 7.938 kB / 0.5701 GB, free: 11.24 MB / 414.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.0001408/0.3383, allocations: 134.7 kB / 0.5703 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/0.3384, allocations: 27.73 kB / 0.5703 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.067e-05/0.3384, allocations: 28.98 kB / 0.5703 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3384, allocations: 0 / 0.5703 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3384, allocations: 0 / 0.5703 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3384, allocations: 0 / 0.5703 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007116/0.3391, allocations: 494.3 kB / 0.5708 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.3391, allocations: 0 / 0.5708 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.383e-05/0.3392, allocations: 4 kB / 0.5708 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3392, allocations: 0 / 0.5708 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.3392, allocations: 4.062 kB / 0.5708 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.3392, allocations: 11.92 kB / 0.5708 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3392, allocations: 0 / 0.5708 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.3393, allocations: 93.84 kB / 0.5709 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.3394, allocations: 31.78 kB / 0.5709 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.3394, allocations: 0 / 0.5709 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.3395, allocations: 8.016 kB / 0.5709 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.3395, allocations: 4 kB / 0.5709 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.3396, allocations: 0 / 0.5709 GB, free: 10.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002808/0.3398, allocations: 223.1 kB / 0.5711 GB, free: 10.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3398, allocations: 0 / 0.5711 GB, free: 10.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002918/0.3401, allocations: 63.89 kB / 0.5712 GB, free: 10.04 MB / 414.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.000514/0.3406, allocations: 0.6326 MB / 0.5718 GB, free: 9.379 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000285/0.3409, allocations: 103.9 kB / 0.5719 GB, free: 9.277 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3409, allocations: 0 / 0.5719 GB, free: 9.277 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.075e-05/0.341, allocations: 15.94 kB / 0.5719 GB, free: 9.262 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.3413, allocations: 24.92 kB / 0.572 GB, free: 9.234 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.3443, allocations: 2.236 MB / 0.5741 GB, free: 6.898 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.3447, allocations: 0.7401 MB / 0.5749 GB, free: 6.133 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.3448, allocations: 25.94 kB / 0.5749 GB, free: 6.109 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.3449, allocations: 71.41 kB / 0.575 GB, free: 6.039 MB / 414.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3449, allocations: 3.938 kB / 0.575 GB, free: 6.035 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02813/0.3731, allocations: 4.335 MB / 0.5792 GB, free: 1.785 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.312/8.685, allocations: 4.797 kB / 0.5792 GB, free: 1.785 MB / 414.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 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.46833464410156] 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.759046277031302 8.775493168 8.441386138 Calling exit ...