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.001411/0.001411, allocations: 105 kB / 19.74 MB, free: 2.566 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.001568/0.001568, allocations: 216.9 kB / 22.92 MB, free: 5.539 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.303/1.303, allocations: 230.2 MB / 256.1 MB, free: 8.77 MB / 206.1 MB " [Timeout remaining time 179] 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.2004/0.2004, allocations: 46.89 MB / 359.3 MB, free: 4.996 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.002161/0.002161, allocations: 75.88 kB / 0.494 GB, free: 9.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2598, allocations: 65.99 MB / 0.5584 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003363/0.2632, allocations: 2.391 MB / 0.5607 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.2642, allocations: 0.6662 MB / 0.5614 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.123e-05/0.2643, allocations: 4 kB / 0.5614 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.891e-05/0.2644, allocations: 43.52 kB / 0.5614 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.2645, allocations: 75.34 kB / 0.5615 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.2648, allocations: 95.81 kB / 0.5616 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.2651, allocations: 331.4 kB / 0.5619 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.2654, allocations: 123.3 kB / 0.562 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.2656, allocations: 147.5 kB / 0.5622 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.2658, allocations: 155.4 kB / 0.5623 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.627e-05/0.2658, allocations: 32 kB / 0.5624 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.875e-05/0.2659, allocations: 40 kB / 0.5624 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.136e-05/0.266, allocations: 75.8 kB / 0.5625 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.2661, allocations: 155.3 kB / 0.5626 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000384/0.2665, allocations: 376.3 kB / 0.563 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2665, allocations: 3.938 kB / 0.563 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2665, allocations: 0 / 0.563 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.2665, allocations: 3.984 kB / 0.563 GB, free: 0.5273 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008761/0.2674, allocations: 0.5847 MB / 0.5636 GB, free: 15.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.2674, allocations: 8.031 kB / 0.5636 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.274e-05/0.2675, allocations: 74.66 kB / 0.5636 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002667/0.2678, allocations: 48.69 kB / 0.5637 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.2679, allocations: 200 kB / 0.5639 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.268, allocations: 29.03 kB / 0.5639 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.332e-05/0.268, allocations: 28.38 kB / 0.5639 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004523/0.2685, allocations: 278.2 kB / 0.5642 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2685, allocations: 3.984 kB / 0.5642 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.2685, allocations: 12 kB / 0.5642 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.2685, allocations: 8 kB / 0.5642 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003842/0.2689, allocations: 218.5 kB / 0.5644 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.2705, allocations: 1.025 MB / 0.5654 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.217e-05/0.2705, allocations: 30.58 kB / 0.5654 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.244e-05/0.2706, allocations: 28.91 kB / 0.5655 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-06/0.2706, allocations: 0 / 0.5655 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.2706, allocations: 42.56 kB / 0.5655 GB, free: 13.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.2706, allocations: 0 / 0.5655 GB, free: 13.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001784/0.2708, allocations: 73.48 kB / 0.5656 GB, free: 13.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.2709, allocations: 51.41 kB / 0.5656 GB, free: 13.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.2712, allocations: 322.8 kB / 0.5659 GB, free: 13.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.2712, allocations: 33.83 kB / 0.566 GB, free: 13.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.2714, allocations: 231.5 kB / 0.5662 GB, free: 13.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.2714, allocations: 19.88 kB / 0.5662 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.11e-05/0.2715, allocations: 53.66 kB / 0.5663 GB, free: 12.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2716, allocations: 330.8 kB / 0.5666 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.2717, allocations: 59.98 kB / 0.5666 GB, free: 12.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.2719, allocations: 89.67 kB / 0.5667 GB, free: 12.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.2721, allocations: 130.1 kB / 0.5669 GB, free: 12.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2721, allocations: 0 / 0.5669 GB, free: 12.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003712/0.2725, allocations: 233.5 kB / 0.5671 GB, free: 12.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2725, allocations: 7.938 kB / 0.5671 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.2725, allocations: 0 / 0.5671 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.2725, allocations: 4 kB / 0.5671 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.2728, allocations: 55.91 kB / 0.5671 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2728, allocations: 0 / 0.5671 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.273, allocations: 43.75 kB / 0.5672 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.273, allocations: 12 kB / 0.5672 GB, free: 11.96 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.0001063/0.2731, allocations: 133.8 kB / 0.5673 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/0.2732, allocations: 27.73 kB / 0.5673 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.567e-05/0.2732, allocations: 28.83 kB / 0.5674 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.2732, allocations: 0 / 0.5674 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2732, allocations: 3.984 kB / 0.5674 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2732, allocations: 0 / 0.5674 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005931/0.2738, allocations: 0.511 MB / 0.5679 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2738, allocations: 0 / 0.5679 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-05/0.2739, allocations: 4 kB / 0.5679 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2739, allocations: 3.984 kB / 0.5679 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.2739, allocations: 0 / 0.5679 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.2739, allocations: 4 kB / 0.5679 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2739, allocations: 0 / 0.5679 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.274, allocations: 101.8 kB / 0.568 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.803e-05/0.2741, allocations: 105 kB / 0.5681 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.2741, allocations: 3.984 kB / 0.5681 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.2742, allocations: 0 / 0.5681 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.2742, allocations: 4 kB / 0.5681 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/0.2742, allocations: 0 / 0.5681 GB, free: 10.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002369/0.2745, allocations: 221.9 kB / 0.5683 GB, free: 10.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2745, allocations: 4.031 kB / 0.5683 GB, free: 10.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.2747, allocations: 67.83 kB / 0.5684 GB, free: 10.64 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.000394/0.2751, allocations: 0.6287 MB / 0.569 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.2753, allocations: 107.9 kB / 0.5691 GB, free: 9.871 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2753, allocations: 0 / 0.5691 GB, free: 9.871 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.318e-05/0.2754, allocations: 12 kB / 0.5691 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.2756, allocations: 20.88 kB / 0.5691 GB, free: 9.836 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.2781, allocations: 2.229 MB / 0.5713 GB, free: 7.508 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.2784, allocations: 0.7401 MB / 0.572 GB, free: 6.738 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.327e-05/0.2785, allocations: 29.92 kB / 0.572 GB, free: 6.711 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.2786, allocations: 67.42 kB / 0.5721 GB, free: 6.645 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2786, allocations: 3.938 kB / 0.5721 GB, free: 6.641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/0.3033, allocations: 4.2 MB / 0.5762 GB, free: 2.531 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.11/7.414, allocations: 7.5 kB / 0.5762 GB, free: 2.527 MB / 414.1 MB " [Timeout remaining time 653] (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 --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: 9.891900523987715]