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.GeneralLeakage.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.00138/0.00138, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001484/0.001484, allocations: 214.8 kB / 22.92 MB, free: 5.191 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.269/1.269, allocations: 230.5 MB / 256.4 MB, free: 8.266 MB / 206.1 MB " [Timeout remaining time 179] 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.GeneralLeakage,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",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.001731/0.001731, allocations: 63.84 kB / 376.1 MB, free: 4.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1998, allocations: 53.31 MB / 429.4 MB, free: 7.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003935/0.2038, allocations: 2.89 MB / 432.3 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.2054, allocations: 1.219 MB / 433.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.2055, allocations: 8 kB / 433.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.2069, allocations: 0.6215 MB / 434.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.2072, allocations: 147 kB / 434.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.2083, allocations: 0.6537 MB / 434.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003568/0.2087, allocations: 298.6 kB / 435.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003638/0.209, allocations: 203.8 kB / 435.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.2092, allocations: 139.5 kB / 435.6 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.2094, allocations: 167.3 kB / 435.7 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.2095, allocations: 28 kB / 435.7 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003129/0.2098, allocations: 183.8 kB / 435.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.013e-05/0.2098, allocations: 59.77 kB / 436 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.21, allocations: 155.2 kB / 436.1 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00055/0.2105, allocations: 0.4937 MB / 436.6 MB, free: 236 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2105, allocations: 0 / 436.6 MB, free: 236 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2105, allocations: 4 kB / 436.6 MB, free: 232 kB / 334.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2105, allocations: 0 / 436.6 MB, free: 232 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.00153/0.2121, allocations: 0.7287 MB / 437.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.2121, allocations: 8.031 kB / 437.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.566e-05/0.2122, allocations: 70.72 kB / 437.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007672/0.2129, allocations: 120.7 kB / 437.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.2133, allocations: 268.5 kB / 437.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.2133, allocations: 25.03 kB / 437.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.2133, allocations: 32.12 kB / 437.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004888/0.2138, allocations: 337 kB / 438.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.2138, allocations: 4 kB / 438.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.2139, allocations: 16 kB / 438.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.2139, allocations: 8 kB / 438.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000394/0.2143, allocations: 234.5 kB / 438.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.2162, allocations: 1.451 MB / 439.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006708/0.2169, allocations: 0.682 MB / 440.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.217, allocations: 96.77 kB / 440.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.2172, allocations: 166.2 kB / 440.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.2172, allocations: 38.56 kB / 440.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.303e-06/0.2172, allocations: 0 / 440.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001156/0.2184, allocations: 495.4 kB / 441.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.2184, allocations: 59.34 kB / 441.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.2186, allocations: 175.3 kB / 441.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.2186, allocations: 29.7 kB / 441.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.2187, allocations: 180.4 kB / 441.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.443e-05/0.2188, allocations: 91.2 kB / 441.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.532e-05/0.2189, allocations: 57.92 kB / 442 MB, free: 10.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.219, allocations: 334.8 kB / 442.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.2191, allocations: 68.53 kB / 442.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.2193, allocations: 125 kB / 442.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.2196, allocations: 220.9 kB / 442.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2196, allocations: 0 / 442.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005617/0.2201, allocations: 335.6 kB / 443 MB, free: 9.309 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.2202, allocations: 4 kB / 443 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2202, allocations: 4 kB / 443 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002749/0.2204, allocations: 77.02 kB / 443.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.2206, allocations: 43.92 kB / 443.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.2227, allocations: 2.026 MB / 445.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.2228, allocations: 27.81 kB / 445.2 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.2228, allocations: 8 kB / 445.2 MB, free: 6.977 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.223, allocations: 153.8 kB / 445.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.223, allocations: 23.8 kB / 445.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005296/0.2235, allocations: 279.6 kB / 445.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2235, allocations: 8 kB / 445.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.2235, allocations: 0 / 445.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.2235, allocations: 3.984 kB / 445.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009409/0.2245, allocations: 0.6826 MB / 446.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2245, allocations: 0 / 446.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.2246, allocations: 35.98 kB / 446.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002265/0.2248, allocations: 72.75 kB / 446.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.2249, allocations: 4 kB / 446.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/0.2268, allocations: 2.031 MB / 448.5 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2268, allocations: 3.938 kB / 448.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006397/0.2274, allocations: 459.3 kB / 448.9 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-05/0.2275, allocations: 113 kB / 449 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.2275, allocations: 4 kB / 449 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.2276, allocations: 4 kB / 449.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.2277, allocations: 27.84 kB / 449.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.2277, allocations: 8 kB / 449.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.684e-05/0.2278, allocations: 127.3 kB / 449.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2278, allocations: 0 / 449.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000429/0.2282, allocations: 95.78 kB / 449.3 MB, free: 2.609 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001009/0.2292, allocations: 1.002 MB / 450.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005635/0.2298, allocations: 342.5 kB / 450.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2298, allocations: 0 / 450.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003308/0.2301, allocations: 241.6 kB / 450.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.2304, allocations: 20 kB / 450.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.2334, allocations: 2.502 MB / 453.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.2338, allocations: 0.756 MB / 454.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.399e-05/0.2339, allocations: 25.94 kB / 454.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.934e-05/0.234, allocations: 71.41 kB / 454.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.234, allocations: 0 / 454.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/0.2668, allocations: 5.189 MB / 459.4 MB, free: 8.391 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.786/9.052, allocations: 8.062 kB / 459.4 MB, free: 8.383 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.10992177400476]