Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.001649/0.001649, allocations: 105.1 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.0019/0.0019, allocations: 209.9 kB / 24.54 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.451/1.451, allocations: 230.6 MB / 258.3 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.002716/0.002716, allocations: 64.77 kB / 378.6 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2802, allocations: 53.37 MB / 431.9 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.007017/0.2872, allocations: 5.299 MB / 437.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003394/0.2906, allocations: 1.767 MB / 439 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003926/0.291, allocations: 16 kB / 439 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003229/0.2942, allocations: 1.423 MB / 440.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009509/0.2951, allocations: 333.6 kB / 440.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.2966, allocations: 0.6537 MB / 441.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.2977, allocations: 0.7974 MB / 442.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.2988, allocations: 0.679 MB / 442.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004989/0.2993, allocations: 362.7 kB / 443.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000585/0.2999, allocations: 462.1 kB / 443.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.3, allocations: 72 kB / 443.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006502/0.3006, allocations: 263.8 kB / 444 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.3008, allocations: 179.3 kB / 444.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000391/0.3011, allocations: 433.9 kB / 444.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.3026, allocations: 1.201 MB / 445.8 MB, free: 8.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3026, allocations: 0 / 445.8 MB, free: 8.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3026, allocations: 3.938 kB / 445.8 MB, free: 8.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.3026, allocations: 3.984 kB / 445.8 MB, free: 8.953 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003964/0.3066, allocations: 1.39 MB / 447.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/0.3066, allocations: 12.03 kB / 447.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001933/0.3068, allocations: 152.3 kB / 447.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/0.3084, allocations: 240.2 kB / 447.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.3087, allocations: 209.4 kB / 447.8 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.797e-05/0.3088, allocations: 74.38 kB / 447.9 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.3089, allocations: 100.4 kB / 448 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.3106, allocations: 0.9423 MB / 448.9 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.774e-05/0.3107, allocations: 7.953 kB / 448.9 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.436e-05/0.3108, allocations: 36 kB / 449 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.846e-05/0.3108, allocations: 24 kB / 449 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.3123, allocations: 0.7886 MB / 449.8 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006418/0.3187, allocations: 3.084 MB / 452.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/0.3207, allocations: 0.8858 MB / 453.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005692/0.3213, allocations: 325.1 kB / 454.1 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.3214, allocations: 40.94 kB / 454.1 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/0.3215, allocations: 51.5 kB / 454.2 MB, free: 400 kB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 3.076e-06/0.3215, allocations: 0 / 454.2 MB, free: 400 kB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002444/0.3239, allocations: 0.9993 MB / 455.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.324, allocations: 90.11 kB / 455.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000459/0.3244, allocations: 368.4 kB / 455.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.134e-05/0.3245, allocations: 37.7 kB / 455.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002748/0.3248, allocations: 396.2 kB / 456 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002589/0.325, allocations: 317.3 kB / 456.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.3253, allocations: 170.9 kB / 456.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.3255, allocations: 362.7 kB / 456.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004694/0.3259, allocations: 266.5 kB / 457.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006539/0.3266, allocations: 479.4 kB / 457.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.3278, allocations: 0.7745 MB / 458.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3278, allocations: 0 / 458.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001777/0.3295, allocations: 0.9888 MB / 459.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.3296, allocations: 8 kB / 459.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.3296, allocations: 4 kB / 459.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003969/0.33, allocations: 123.4 kB / 459.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007993/0.3308, allocations: 211.6 kB / 459.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004687/0.3355, allocations: 5.708 MB / 465.4 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005701/0.336, allocations: 111.2 kB / 465.5 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-05/0.3361, allocations: 40 kB / 465.6 MB, free: 4.281 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003393/0.3364, allocations: 233.5 kB / 465.8 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.3366, allocations: 51.67 kB / 465.8 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.3381, allocations: 0.8442 MB / 466.7 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.3381, allocations: 8 kB / 466.7 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3381, allocations: 7.938 kB / 466.7 MB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.3381, allocations: 3.984 kB / 466.7 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/0.341, allocations: 1.783 MB / 468.5 MB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.341, allocations: 0 / 468.5 MB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005871/0.3416, allocations: 139.8 kB / 468.6 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002858/0.3419, allocations: 107.6 kB / 468.7 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/0.3419, allocations: 20 kB / 468.7 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004093/0.346, allocations: 5.304 MB / 474 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.346, allocations: 0 / 474 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/0.348, allocations: 1.285 MB / 475.3 MB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.3481, allocations: 59.48 kB / 475.4 MB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.878e-05/0.3482, allocations: 31.88 kB / 475.4 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.3486, allocations: 16 kB / 475.4 MB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.3487, allocations: 76.53 kB / 475.5 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.3487, allocations: 24 kB / 475.5 MB, free: 9.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003208/0.349, allocations: 255.2 kB / 475.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.349, allocations: 0 / 475.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009654/0.35, allocations: 263.6 kB / 476 MB, free: 9.152 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.port_p.reference.gamma) * 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 (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002425/0.3524, allocations: 1.879 MB / 477.9 MB, free: 7.203 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.3542, allocations: 1.137 MB / 479.1 MB, free: 6.016 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3542, allocations: 1.438 kB / 479.1 MB, free: 6.016 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00094/0.3551, allocations: 0.7606 MB / 479.8 MB, free: 5.203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006003/0.3557, allocations: 65.36 kB / 479.9 MB, free: 5.141 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00862/0.3644, allocations: 5.684 MB / 485.6 MB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/0.365, allocations: 0.911 MB / 486.5 MB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004324/0.3654, allocations: 109.1 kB / 486.6 MB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003574/0.3658, allocations: 251.3 kB / 486.8 MB, free: 13.85 MB / 398.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3658, allocations: 0 / 486.8 MB, free: 13.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05245/0.4182, allocations: 13.71 MB / 0.4888 GB, free: 300 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.7, allocations: 9.844 kB / 0.4888 GB, free: 296 kB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.038360054139048] Failed to read output from testmodel.py, exit status != 0: ['time', 'quarterCylinder1.port_p.reference.gamma'] 11.793189944233745 11.812981074 11.506258826 Calling exit ...