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.001644/0.001644, 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.002216/0.002216, allocations: 212.6 kB / 24.54 MB, free: 4.02 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.453/1.453, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.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.001984/0.001984, allocations: 64.77 kB / 378.5 MB, free: 3.238 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2834, allocations: 53.38 MB / 431.9 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004623/0.288, allocations: 2.88 MB / 434.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.2901, allocations: 1.223 MB / 436 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.2902, allocations: 11.94 kB / 436 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.2917, allocations: 0.6301 MB / 436.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.2921, allocations: 143 kB / 436.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.2935, allocations: 0.657 MB / 437.5 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005171/0.294, allocations: 294.6 kB / 437.7 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004999/0.2945, allocations: 237.3 kB / 438 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002716/0.2948, allocations: 143.5 kB / 438.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.295, allocations: 171.3 kB / 438.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.061e-05/0.2951, allocations: 24 kB / 438.3 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004276/0.2955, allocations: 187.8 kB / 438.5 MB, free: 324 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.823e-05/0.2955, allocations: 59.78 kB / 438.6 MB, free: 264 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.2957, allocations: 151.3 kB / 438.7 MB, free: 112 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006997/0.2964, allocations: 0.4981 MB / 439.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.2964, allocations: 0 / 439.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2964, allocations: 0 / 439.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.046e-06/0.2964, allocations: 0 / 439.2 MB, free: 15.61 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001757/0.2982, allocations: 0.6573 MB / 439.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2982, allocations: 8.031 kB / 439.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.178e-05/0.2983, allocations: 70.72 kB / 439.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000781/0.2991, allocations: 116.7 kB / 440 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.2994, allocations: 217.6 kB / 440.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.2995, allocations: 21.03 kB / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.318e-05/0.2995, allocations: 40.12 kB / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005814/0.3001, allocations: 341 kB / 440.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.3001, allocations: 0 / 440.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.817e-05/0.3002, allocations: 16 kB / 440.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.3002, allocations: 8 kB / 440.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004292/0.3006, allocations: 238.5 kB / 440.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002133/0.3027, allocations: 1.364 MB / 442.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005321/0.3033, allocations: 248.3 kB / 442.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.3034, allocations: 96.75 kB / 442.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.3036, allocations: 15.98 kB / 442.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.3036, allocations: 34.55 kB / 442.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.3036, allocations: 0 / 442.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001263/0.3049, allocations: 415.1 kB / 443.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.3049, allocations: 59.39 kB / 443.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.3051, allocations: 171.2 kB / 443.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.3052, allocations: 33.7 kB / 443.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.3053, allocations: 180.3 kB / 443.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.309e-05/0.3054, allocations: 95.2 kB / 443.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.408e-05/0.3054, allocations: 49.98 kB / 443.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.3056, allocations: 330.8 kB / 444 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.3057, allocations: 68.55 kB / 444 MB, free: 10.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.3059, allocations: 129 kB / 444.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.3062, allocations: 224 kB / 444.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3062, allocations: 0 / 444.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006146/0.3069, allocations: 332.6 kB / 444.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.3069, allocations: 10.97 kB / 444.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.3069, allocations: 0 / 444.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003088/0.3072, allocations: 72.8 kB / 444.8 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.3074, allocations: 52.05 kB / 444.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.3096, allocations: 1.942 MB / 446.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.3098, allocations: 23.84 kB / 446.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.3098, allocations: 8 kB / 446.8 MB, free: 7.551 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.0001769/0.31, allocations: 153.7 kB / 447 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.31, allocations: 27.86 kB / 447 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006013/0.3106, allocations: 283.9 kB / 447.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3106, allocations: 0 / 447.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3106, allocations: 4 kB / 447.3 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3106, allocations: 0 / 447.3 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.3117, allocations: 0.6583 MB / 447.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3117, allocations: 0 / 447.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.3118, allocations: 23.98 kB / 447.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002467/0.3121, allocations: 76.75 kB / 448 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.3121, allocations: 7.984 kB / 448 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/0.3143, allocations: 1.922 MB / 450 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3143, allocations: 288 / 450 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007076/0.315, allocations: 452.4 kB / 450.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.007e-05/0.3151, allocations: 39.81 kB / 450.4 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.3151, allocations: 7.938 kB / 450.4 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.3152, allocations: 0 / 450.4 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.3153, allocations: 19.97 kB / 450.5 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.3153, allocations: 7.938 kB / 450.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.3154, allocations: 131.2 kB / 450.6 MB, free: 3.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3154, allocations: 0 / 450.6 MB, free: 3.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005106/0.3159, allocations: 103.8 kB / 450.7 MB, free: 3.453 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.001178/0.3171, allocations: 1.001 MB / 451.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006747/0.3178, allocations: 338.4 kB / 452 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3178, allocations: 448 / 452 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003486/0.3181, allocations: 250.2 kB / 452.3 MB, free: 1.824 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.3184, allocations: 19.98 kB / 452.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003555/0.322, allocations: 2.502 MB / 454.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.3224, allocations: 0.756 MB / 455.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.339e-05/0.3225, allocations: 25.94 kB / 455.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.3226, allocations: 75.41 kB / 455.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3226, allocations: 0 / 455.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03708/0.3597, allocations: 5.34 MB / 461 MB, free: 9.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.65, allocations: 5.391 kB / 461 MB, free: 9.066 MB / 366.1 MB " [Timeout remaining time 649] (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 --stepSize=0.001 --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: 12.99829406477511] Failed to read output from testmodel.py, exit status != 0: ['time', 'leakageWithCoefficient.port_p.reference.gamma'] 10.741258249152452 10.762663497 10.462154181 Calling exit ...