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.001675/0.001675, allocations: 109.4 kB / 20.22 MB, free: 1.812 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.001992/0.001992, allocations: 220.6 kB / 23.48 MB, free: 5.258 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.444/1.444, allocations: 230.4 MB / 257 MB, free: 8.266 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.001917/0.001917, allocations: 67.89 kB / 377.1 MB, free: 3.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2547, allocations: 53.3 MB / 430.4 MB, free: 7.234 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.00701/0.2617, allocations: 5.305 MB / 435.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003336/0.2651, allocations: 1.763 MB / 437.5 MB, free: 140 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003496/0.2654, allocations: 16 kB / 437.5 MB, free: 124 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003194/0.2686, allocations: 1.426 MB / 438.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009473/0.2696, allocations: 321.6 kB / 439.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.2709, allocations: 0.6457 MB / 439.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.272, allocations: 0.8091 MB / 440.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009527/0.2729, allocations: 0.5827 MB / 441.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004275/0.2733, allocations: 350.7 kB / 441.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005473/0.2739, allocations: 474.1 kB / 442.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.274, allocations: 72 kB / 442.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005893/0.2746, allocations: 255.8 kB / 442.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.2747, allocations: 183.3 kB / 442.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003897/0.2751, allocations: 425.9 kB / 443 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.2766, allocations: 1.205 MB / 444.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2766, allocations: 0 / 444.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2766, allocations: 0 / 444.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.2766, allocations: 4 kB / 444.2 MB, free: 9.383 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.004067/0.2807, allocations: 1.469 MB / 445.6 MB, free: 7.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.2807, allocations: 12.03 kB / 445.7 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001877/0.2809, allocations: 148.4 kB / 445.8 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/0.2825, allocations: 244.2 kB / 446 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.2827, allocations: 263.2 kB / 446.3 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.759e-05/0.2828, allocations: 78.36 kB / 446.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/0.283, allocations: 96.38 kB / 446.5 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.2845, allocations: 0.9539 MB / 447.4 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.563e-05/0.2846, allocations: 11.95 kB / 447.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-05/0.2847, allocations: 40 kB / 447.5 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.003e-05/0.2847, allocations: 24 kB / 447.5 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.2861, allocations: 0.7809 MB / 448.3 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005406/0.2915, allocations: 3.615 MB / 451.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.2934, allocations: 1.182 MB / 453.1 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005379/0.2939, allocations: 326 kB / 453.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/0.2941, allocations: 191.2 kB / 453.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/0.2942, allocations: 43.5 kB / 453.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.504e-06/0.2942, allocations: 0 / 453.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=87): time 0.002259/0.2964, allocations: 1.308 MB / 454.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.2965, allocations: 94.12 kB / 455 MB, free: 13.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004369/0.2969, allocations: 372.3 kB / 455.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.297, allocations: 33.7 kB / 455.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/0.2973, allocations: 392.2 kB / 455.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002439/0.2975, allocations: 317.3 kB / 456.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002622/0.2978, allocations: 174.9 kB / 456.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.2979, allocations: 370.7 kB / 456.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004738/0.2984, allocations: 274.5 kB / 456.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006328/0.299, allocations: 471.4 kB / 457.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.3002, allocations: 0.7823 MB / 458.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3002, allocations: 0 / 458.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001686/0.3019, allocations: 0.9765 MB / 459.1 MB, free: 9.625 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.3019, allocations: 11.94 kB / 459.1 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.3019, allocations: 4.594 kB / 459.1 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000388/0.3023, allocations: 127.4 kB / 459.3 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007732/0.3031, allocations: 207.7 kB / 459.5 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005139/0.3082, allocations: 6.127 MB / 465.6 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006487/0.3089, allocations: 99.25 kB / 465.7 MB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/0.3089, allocations: 43.98 kB / 465.7 MB, free: 2.441 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.0003643/0.3093, allocations: 229.6 kB / 466 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.3094, allocations: 59.62 kB / 466 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.311, allocations: 0.8405 MB / 466.9 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.311, allocations: 11.98 kB / 466.9 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.311, allocations: 7.938 kB / 466.9 MB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.128e-06/0.311, allocations: 3.984 kB / 466.9 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003108/0.3141, allocations: 2.097 MB / 469 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.3141, allocations: 0 / 469 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005806/0.3147, allocations: 148 kB / 469.1 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000299/0.315, allocations: 107.4 kB / 469.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.313e-05/0.315, allocations: 20 kB / 469.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004553/0.3196, allocations: 5.709 MB / 475 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.3196, allocations: 7.984 kB / 475 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.3215, allocations: 1.285 MB / 476.3 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.3217, allocations: 144.5 kB / 476.4 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.779e-05/0.3218, allocations: 23.94 kB / 476.4 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/0.3221, allocations: 20 kB / 476.4 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.3222, allocations: 64.5 kB / 476.5 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.094e-05/0.3223, allocations: 24 kB / 476.5 MB, free: 6.809 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003033/0.3226, allocations: 263.2 kB / 476.8 MB, free: 6.555 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3226, allocations: 0 / 476.8 MB, free: 6.555 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009774/0.3236, allocations: 259.6 kB / 477 MB, free: 6.301 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.002406/0.326, allocations: 1.887 MB / 478.9 MB, free: 4.344 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.3277, allocations: 1.135 MB / 480.1 MB, free: 3.156 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3277, allocations: 0 / 480.1 MB, free: 3.156 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009253/0.3287, allocations: 0.765 MB / 480.8 MB, free: 2.336 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005667/0.3292, allocations: 57.42 kB / 480.9 MB, free: 2.281 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008215/0.3375, allocations: 5.686 MB / 486.6 MB, free: 12.28 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006123/0.3381, allocations: 0.9149 MB / 487.5 MB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004081/0.3385, allocations: 101.1 kB / 487.6 MB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003612/0.3388, allocations: 247.3 kB / 487.8 MB, free: 10.99 MB / 398.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3388, allocations: 0 / 487.8 MB, free: 10.99 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0612/0.4, allocations: 13.13 MB / 0.4892 GB, free: 14.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.33, allocations: 4.875 kB / 0.4892 GB, free: 14.01 MB / 414.1 MB " [Timeout remaining time 649] (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: 13.67302110302262] Failed to read output from testmodel.py, exit status != 0: ['time', 'quarterCylinder1.port_p.reference.gamma'] 11.423375264042988 11.444937544 11.163924524 Calling exit ...