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.001673/0.001673, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002043/0.002043, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.459/1.459, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2325/0.2325, allocations: 46.93 MB / 361.6 MB, free: 4.184 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.002461/0.002461, allocations: 80.16 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3419, allocations: 66.09 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.004508/0.3464, allocations: 2.391 MB / 0.5638 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.3478, allocations: 0.6739 MB / 0.5645 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.3479, allocations: 4 kB / 0.5645 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.348, allocations: 39.59 kB / 0.5645 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.3482, allocations: 79.27 kB / 0.5646 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.3486, allocations: 91.88 kB / 0.5647 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004095/0.349, allocations: 339.2 kB / 0.565 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002868/0.3493, allocations: 123.6 kB / 0.5651 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003149/0.3496, allocations: 147.5 kB / 0.5653 GB, free: 432 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002868/0.3499, allocations: 155.4 kB / 0.5654 GB, free: 276 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.933e-05/0.35, allocations: 36 kB / 0.5655 GB, free: 240 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.655e-05/0.3501, allocations: 40 kB / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.184e-05/0.3501, allocations: 71.81 kB / 0.5656 GB, free: 128 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.3503, allocations: 155.3 kB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004712/0.3508, allocations: 376.4 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3508, allocations: 0 / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3508, allocations: 0 / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.3508, allocations: 0 / 0.5661 GB, free: 15.61 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.000984/0.3518, allocations: 0.5172 MB / 0.5666 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3518, allocations: 8.031 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.026e-05/0.3519, allocations: 70.72 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003148/0.3522, allocations: 48.69 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.3524, allocations: 142.2 kB / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/0.3524, allocations: 25.03 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.344e-05/0.3525, allocations: 32.38 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005171/0.353, allocations: 278.2 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.353, allocations: 0 / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.353, allocations: 19.94 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.353, allocations: 8 kB / 0.5672 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004332/0.3535, allocations: 210.5 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.3553, allocations: 0.9939 MB / 0.5684 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.163e-05/0.3554, allocations: 30.52 kB / 0.5684 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.584e-05/0.3555, allocations: 32.91 kB / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.3555, allocations: 0 / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.3555, allocations: 38.5 kB / 0.5685 GB, free: 13.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.3555, allocations: 0 / 0.5685 GB, free: 13.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002228/0.3557, allocations: 73.55 kB / 0.5685 GB, free: 12.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.3558, allocations: 51.41 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004207/0.3562, allocations: 320.1 kB / 0.5689 GB, free: 12.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.3562, allocations: 37.83 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.3564, allocations: 227.5 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.3564, allocations: 19.83 kB / 0.5692 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.797e-05/0.3565, allocations: 57.64 kB / 0.5692 GB, free: 12.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3567, allocations: 326.8 kB / 0.5695 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.3568, allocations: 63.97 kB / 0.5696 GB, free: 11.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.357, allocations: 93.67 kB / 0.5697 GB, free: 11.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.3572, allocations: 121.7 kB / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3572, allocations: 0 / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000443/0.3576, allocations: 238 kB / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3576, allocations: 7.938 kB / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3576, allocations: 0 / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3577, allocations: 7.984 kB / 0.57 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.358, allocations: 55.91 kB / 0.5701 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.358, allocations: 0 / 0.5701 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.3582, allocations: 35.77 kB / 0.5701 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.3582, allocations: 15.98 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.0001296/0.3584, allocations: 134.6 kB / 0.5703 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.3584, allocations: 23.8 kB / 0.5703 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/0.3585, allocations: 24.98 kB / 0.5703 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3585, allocations: 0 / 0.5703 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3585, allocations: 0 / 0.5703 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3585, allocations: 0 / 0.5703 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006641/0.3591, allocations: 0.4983 MB / 0.5708 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3591, allocations: 0 / 0.5708 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.96e-05/0.3592, allocations: 4 kB / 0.5708 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3592, allocations: 0 / 0.5708 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.3592, allocations: 0 / 0.5708 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.3592, allocations: 4 kB / 0.5708 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3592, allocations: 3.984 kB / 0.5708 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.3593, allocations: 93.91 kB / 0.5709 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-05/0.3594, allocations: 31.78 kB / 0.5709 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.3594, allocations: 0 / 0.5709 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3595, allocations: 4 kB / 0.5709 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.3595, allocations: 7.984 kB / 0.5709 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.3595, allocations: 0 / 0.5709 GB, free: 10.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002724/0.3598, allocations: 219.1 kB / 0.5711 GB, free: 10.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3598, allocations: 7.969 kB / 0.5712 GB, free: 10.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002855/0.3601, 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.0004334/0.3605, allocations: 0.6288 MB / 0.5718 GB, free: 9.379 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002715/0.3608, allocations: 111.9 kB / 0.5719 GB, free: 9.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3608, allocations: 0 / 0.5719 GB, free: 9.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.806e-05/0.3608, allocations: 12 kB / 0.5719 GB, free: 9.258 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.3611, allocations: 20.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.002962/0.3641, allocations: 2.232 MB / 0.5741 GB, free: 6.902 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.3645, allocations: 0.7401 MB / 0.5749 GB, free: 6.137 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.3646, allocations: 25.94 kB / 0.5749 GB, free: 6.113 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.3647, allocations: 75.41 kB / 0.575 GB, free: 6.039 MB / 414.1 MB Notification: Performance of SimCode: time 9.51e-07/0.3647, allocations: 0 / 0.575 GB, free: 6.039 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.3937, allocations: 4.322 MB / 0.5792 GB, free: 1.801 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.645/9.039, allocations: 9.469 kB / 0.5792 GB, free: 1.793 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 & 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.951262380927801] 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'] 9.123422778677195 9.139444604 8.785352617 Calling exit ...