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.001306/0.001306, allocations: 116.4 kB / 18.5 MB, free: 4.574 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.001395/0.001395, allocations: 208.9 kB / 21.46 MB, free: 1.617 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.42/1.42, allocations: 230.4 MB / 254.7 MB, free: 15 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.001855/0.001855, allocations: 67.88 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1026, allocations: 53.31 MB / 426.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.2073/0.3099, allocations: 5.279 MB / 432.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.3124, allocations: 1.756 MB / 433.9 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000254/0.3127, allocations: 16.81 kB / 433.9 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002474/0.3152, allocations: 1.418 MB / 435.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006119/0.3158, allocations: 327.3 kB / 435.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.3169, allocations: 0.6453 MB / 436.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007362/0.3176, allocations: 0.8003 MB / 437.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000782/0.3184, allocations: 0.5935 MB / 437.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004187/0.3188, allocations: 351.2 kB / 438.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004715/0.3193, allocations: 469.1 kB / 438.5 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.3194, allocations: 77.59 kB / 438.6 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005769/0.32, allocations: 267.9 kB / 438.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.3201, allocations: 176.1 kB / 439 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003077/0.3204, allocations: 422.3 kB / 439.4 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.3218, allocations: 1.208 MB / 440.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3218, allocations: 0 / 440.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3218, allocations: 1.906 kB / 440.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.3218, allocations: 0 / 440.6 MB, free: 5.484 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.003662/0.3255, allocations: 1.468 MB / 442.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3255, allocations: 9.656 kB / 442.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001387/0.3256, allocations: 147.1 kB / 442.3 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/0.3272, allocations: 248.4 kB / 442.5 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.3275, allocations: 266.9 kB / 442.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.717e-05/0.3275, allocations: 73.62 kB / 442.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.3277, allocations: 97.28 kB / 442.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.3293, allocations: 0.9454 MB / 443.9 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.682e-05/0.3294, allocations: 5.984 kB / 443.9 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.541e-05/0.3294, allocations: 41.16 kB / 443.9 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.3295, allocations: 22.91 kB / 443.9 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.3307, allocations: 0.783 MB / 444.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004694/0.3354, allocations: 3.632 MB / 448.4 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.3372, allocations: 1.177 MB / 449.5 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004757/0.3376, allocations: 319.5 kB / 449.9 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001786/0.3378, allocations: 192.8 kB / 450 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.3379, allocations: 52.03 kB / 450.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.354e-06/0.3379, allocations: 0 / 450.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=87): time 0.002334/0.3402, allocations: 1.306 MB / 451.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.3403, allocations: 91.84 kB / 451.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000499/0.3408, allocations: 369.9 kB / 451.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.171e-05/0.3408, allocations: 44.14 kB / 451.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/0.3411, allocations: 391 kB / 452.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/0.3414, allocations: 316.7 kB / 452.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002747/0.3416, allocations: 173 kB / 452.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.3419, allocations: 362.9 kB / 453.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004736/0.3423, allocations: 269.3 kB / 453.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006367/0.343, allocations: 476 kB / 453.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.3441, allocations: 0.7733 MB / 454.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.3441, allocations: 1.406 kB / 454.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001724/0.3458, allocations: 0.983 MB / 455.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.3459, allocations: 16.98 kB / 455.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.3459, allocations: 6.031 kB / 455.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003892/0.3463, allocations: 122.5 kB / 455.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007831/0.3471, allocations: 210.2 kB / 455.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005091/0.3521, allocations: 6.123 MB / 462.1 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007688/0.3529, allocations: 100 kB / 462.2 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.706e-05/0.353, allocations: 40.86 kB / 462.2 MB, free: 6.098 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.0004126/0.3534, allocations: 229 kB / 462.4 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.3535, allocations: 62.31 kB / 462.5 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.3551, allocations: 0.8398 MB / 463.3 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.3551, allocations: 9.062 kB / 463.3 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.3552, allocations: 10.56 kB / 463.3 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/0.3552, allocations: 5.594 kB / 463.3 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003338/0.3585, allocations: 2.098 MB / 465.4 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.3585, allocations: 4.062 kB / 465.5 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005563/0.3591, allocations: 135.8 kB / 465.6 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000294/0.3594, allocations: 111.9 kB / 465.7 MB, free: 4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.634e-05/0.3594, allocations: 19.58 kB / 465.7 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004612/0.364, allocations: 5.719 MB / 471.4 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.364, allocations: 3.719 kB / 471.4 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/0.3661, allocations: 1.278 MB / 472.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002217/0.3664, allocations: 147.2 kB / 472.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.952e-05/0.3664, allocations: 18.56 kB / 472.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/0.3668, allocations: 32.02 kB / 472.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.367, allocations: 65.59 kB / 473 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.954e-05/0.367, allocations: 28.84 kB / 473 MB, free: 13.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003228/0.3673, allocations: 252.6 kB / 473.2 MB, free: 12.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3673, allocations: 0 / 473.2 MB, free: 12.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001233/0.3686, allocations: 264.3 kB / 473.5 MB, free: 12.88 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.002426/0.371, allocations: 1.881 MB / 475.4 MB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001905/0.3729, allocations: 1.133 MB / 476.5 MB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.3729, allocations: 1.406 kB / 476.5 MB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009447/0.3738, allocations: 0.7677 MB / 477.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000606/0.3744, allocations: 56.84 kB / 477.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008006/0.3825, allocations: 5.685 MB / 483 MB, free: 6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005996/0.3831, allocations: 0.9123 MB / 483.9 MB, free: 5.211 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004866/0.3835, allocations: 107.4 kB / 484 MB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003687/0.3839, allocations: 244.4 kB / 484.3 MB, free: 4.949 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3839, allocations: 0 / 484.3 MB, free: 4.949 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06791/0.4518, allocations: 13.1 MB / 497.4 MB, free: 8.309 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.22, allocations: 16.36 kB / 497.4 MB, free: 8.293 MB / 398.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.523214108776301] Failed to read output from testmodel.py, exit status != 0: ['time', 'quarterCylinder1.port_p.reference.gamma'] 11.318447244819254 11.336886193 11.011619797 Calling exit ...