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.001396/0.001396, allocations: 119.7 kB / 18.5 MB, free: 4.539 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.001553/0.001553, allocations: 213.6 kB / 21.46 MB, free: 1.586 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.432/1.432, allocations: 230.4 MB / 254.7 MB, free: 15.22 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.002012/0.002012, allocations: 63.83 kB / 373.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09486/0.09688, allocations: 53.31 MB / 426.9 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004343/0.1012, allocations: 2.874 MB / 429.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.1034, allocations: 1.219 MB / 431 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.1035, allocations: 15.94 kB / 431 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.1051, allocations: 0.6144 MB / 431.6 MB, free: 148 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003877/0.1055, allocations: 147 kB / 431.7 MB, free: 0 / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1857/0.2912, allocations: 0.6461 MB / 432.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005/0.2917, allocations: 296.2 kB / 432.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003966/0.2921, allocations: 203.8 kB / 432.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.2923, allocations: 136.9 kB / 433 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.2925, allocations: 166.2 kB / 433.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.004e-05/0.2926, allocations: 26.28 kB / 433.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004213/0.293, allocations: 190.2 kB / 433.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.988e-05/0.293, allocations: 58.27 kB / 433.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.2931, allocations: 147.9 kB / 433.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005464/0.2937, allocations: 0.5078 MB / 434.1 MB, free: 7.438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2937, allocations: 0.5 kB / 434.1 MB, free: 7.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2937, allocations: 1.844 kB / 434.1 MB, free: 7.438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.2937, allocations: 0 / 434.1 MB, free: 7.438 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.001579/0.2953, allocations: 0.7268 MB / 434.8 MB, free: 6.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.2953, allocations: 10.34 kB / 434.8 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.49e-05/0.2954, allocations: 72.12 kB / 434.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008239/0.2962, allocations: 114.2 kB / 435 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.2966, allocations: 266.9 kB / 435.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.2966, allocations: 24.23 kB / 435.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.61e-05/0.2967, allocations: 34 kB / 435.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005289/0.2972, allocations: 340.2 kB / 435.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.2973, allocations: 5.031 kB / 435.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.2973, allocations: 14.31 kB / 435.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.2973, allocations: 8.031 kB / 435.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003869/0.2977, allocations: 241.3 kB / 435.9 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.2995, allocations: 1.438 MB / 437.4 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005271/0.3, allocations: 0.6826 MB / 438.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.3001, allocations: 89.44 kB / 438.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.3003, allocations: 171.7 kB / 438.3 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.3003, allocations: 39.34 kB / 438.3 MB, free: 4.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.883e-06/0.3003, allocations: 1.969 kB / 438.3 MB, free: 4.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001219/0.3015, allocations: 492.2 kB / 438.8 MB, free: 4.727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.3015, allocations: 63.2 kB / 438.9 MB, free: 4.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.3017, allocations: 168.8 kB / 439.1 MB, free: 4.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.3017, allocations: 29.7 kB / 439.1 MB, free: 4.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.78e-05/0.3018, allocations: 183 kB / 439.3 MB, free: 4.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.098e-05/0.3018, allocations: 88.78 kB / 439.4 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.912e-05/0.3019, allocations: 50.23 kB / 439.4 MB, free: 4.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.613e-05/0.302, allocations: 327.4 kB / 439.7 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.3021, allocations: 67.62 kB / 439.8 MB, free: 3.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.3022, allocations: 131.4 kB / 439.9 MB, free: 3.801 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.3025, allocations: 221.8 kB / 440.1 MB, free: 3.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.3025, allocations: 1.031 kB / 440.1 MB, free: 3.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000548/0.3031, allocations: 334.9 kB / 440.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3031, allocations: 5.734 kB / 440.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3031, allocations: 2.156 kB / 440.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003259/0.3034, allocations: 76.08 kB / 440.5 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.3036, allocations: 45.19 kB / 440.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.3052, allocations: 2.03 MB / 442.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.3054, allocations: 26.28 kB / 442.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.3054, allocations: 12.3 kB / 442.7 MB, free: 1.668 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.0001257/0.3055, allocations: 151.7 kB / 442.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.633e-05/0.3055, allocations: 23.81 kB / 442.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005416/0.3061, allocations: 279.2 kB / 443.1 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3061, allocations: 2.406 kB / 443.1 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3061, allocations: 1.75 kB / 443.1 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3061, allocations: 6.094 kB / 443.1 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009108/0.307, allocations: 0.688 MB / 443.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.307, allocations: 2.031 kB / 443.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.3072, allocations: 30.44 kB / 443.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002369/0.3074, allocations: 71.81 kB / 443.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.3074, allocations: 11.05 kB / 443.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.3093, allocations: 2.024 MB / 445.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3093, allocations: 0.5 kB / 445.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007993/0.3101, allocations: 463.8 kB / 446.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.3102, allocations: 111 kB / 446.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.3103, allocations: 7 kB / 446.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.3104, allocations: 5.125 kB / 446.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.3104, allocations: 19.25 kB / 446.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.3104, allocations: 5.141 kB / 446.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.3106, allocations: 126.4 kB / 446.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3106, allocations: 0 / 446.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005409/0.3111, allocations: 96.91 kB / 446.7 MB, free: 14.55 MB / 366.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.001159/0.3123, allocations: 0.9995 MB / 447.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007358/0.313, allocations: 340.7 kB / 448.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.313, allocations: 0 / 448.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003719/0.3134, allocations: 250.2 kB / 448.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.3137, allocations: 21.75 kB / 448.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003614/0.3174, allocations: 2.507 MB / 450.9 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.3178, allocations: 0.7565 MB / 451.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.3179, allocations: 23.05 kB / 451.6 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.318, allocations: 71.33 kB / 451.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.318, allocations: 0 / 451.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03646/0.3545, allocations: 5.223 MB / 456.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/10.5, allocations: 8.172 kB / 456.9 MB, free: 10.08 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.784287665970623] Failed to read output from testmodel.py, exit status != 0: ['time', 'leakageWithCoefficient.port_p.reference.gamma'] 10.591322353109717 10.615956964 10.318441622 Calling exit ...