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.001627/0.001627, allocations: 123.6 kB / 18.45 MB, free: 4.59 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.001872/0.001872, allocations: 209.7 kB / 21.41 MB, free: 1.641 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.461/1.461, allocations: 227.7 MB / 251.9 MB, free: 15.87 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.001955/0.001955, allocations: 67.83 kB / 365.2 MB, free: 200 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1074, allocations: 50.54 MB / 415.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006952/0.1144, allocations: 5.255 MB / 421 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003267/0.1177, allocations: 1.744 MB / 422.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004598/0.1183, allocations: 16 kB / 422.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003619/0.1219, allocations: 1.414 MB / 424.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.1236, allocations: 325.6 kB / 424.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.1251, allocations: 0.6458 MB / 425.2 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001189/0.1263, allocations: 0.8013 MB / 426 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/0.1277, allocations: 0.7652 MB / 426.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005766/0.1283, allocations: 350.7 kB / 427.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005572/0.1288, allocations: 470.1 kB / 427.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.1289, allocations: 75.94 kB / 427.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006192/0.1296, allocations: 263.8 kB / 427.9 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.1297, allocations: 175.4 kB / 428 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004341/0.1302, allocations: 429.9 kB / 428.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001912/0.1321, allocations: 1.198 MB / 429.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1321, allocations: 7.938 kB / 429.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1321, allocations: 4 kB / 429.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.147e-05/0.1322, allocations: 0 / 429.7 MB, free: 15.64 MB / 366.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.006279/0.1385, allocations: 1.461 MB / 431.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.1385, allocations: 12.03 kB / 431.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002582/0.1388, allocations: 152.4 kB / 431.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002885/0.1417, allocations: 240.2 kB / 431.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004792/0.1422, allocations: 259.2 kB / 431.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.1423, allocations: 78.38 kB / 431.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002551/0.1426, allocations: 100.3 kB / 432 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/0.1451, allocations: 0.9501 MB / 432.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.819e-05/0.1452, allocations: 3.953 kB / 432.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.1453, allocations: 40 kB / 432.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.455e-05/0.1453, allocations: 24 kB / 433 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002223/0.1476, allocations: 0.7848 MB / 433.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008024/0.1556, allocations: 3.627 MB / 437.4 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002991/0.1586, allocations: 1.257 MB / 438.6 MB, free: 6.234 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008655/0.1595, allocations: 371.2 kB / 439 MB, free: 5.871 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000277/0.1598, allocations: 191.2 kB / 439.2 MB, free: 5.648 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.693e-05/0.1599, allocations: 51.5 kB / 439.2 MB, free: 5.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 4.158e-06/0.1599, allocations: 0 / 439.2 MB, free: 5.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=87): time 0.003348/0.1633, allocations: 1.308 MB / 440.5 MB, free: 4.188 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.901e-05/0.1634, allocations: 94.03 kB / 440.6 MB, free: 4.078 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007153/0.1641, allocations: 368.3 kB / 441 MB, free: 3.711 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.724e-05/0.1642, allocations: 41.7 kB / 441 MB, free: 3.664 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/0.1646, allocations: 396.2 kB / 441.4 MB, free: 3.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003894/0.165, allocations: 317.3 kB / 441.7 MB, free: 2.957 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003987/0.1654, allocations: 174.9 kB / 441.9 MB, free: 2.777 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002543/0.1657, allocations: 362.7 kB / 442.3 MB, free: 2.414 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006363/0.1663, allocations: 266.5 kB / 442.5 MB, free: 2.156 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.1674, allocations: 479.4 kB / 443 MB, free: 1.605 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.169, allocations: 0.7667 MB / 443.8 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.1691, allocations: 4 kB / 443.8 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.2099/0.379, allocations: 0.9804 MB / 444.7 MB, free: 28.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.379, allocations: 9.359 kB / 444.7 MB, free: 28.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.3791, allocations: 6.906 kB / 444.8 MB, free: 28.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004158/0.3795, allocations: 124.9 kB / 444.9 MB, free: 28.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008422/0.3803, allocations: 209.5 kB / 445.1 MB, free: 28.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003102/0.3835, allocations: 6.117 MB / 451.2 MB, free: 23.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006361/0.3841, allocations: 98.06 kB / 451.3 MB, free: 23.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.995e-05/0.3842, allocations: 44.8 kB / 451.3 MB, free: 23.24 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.0002985/0.3845, allocations: 233 kB / 451.6 MB, free: 23.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.3846, allocations: 60.5 kB / 451.6 MB, free: 23.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/0.386, allocations: 0.8448 MB / 452.5 MB, free: 22.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.386, allocations: 10.69 kB / 452.5 MB, free: 22.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.386, allocations: 4.844 kB / 452.5 MB, free: 22.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.386, allocations: 6.562 kB / 452.5 MB, free: 22.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002532/0.3886, allocations: 2.104 MB / 454.6 MB, free: 22.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.3886, allocations: 6.438 kB / 454.6 MB, free: 22.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005991/0.3892, allocations: 137.9 kB / 454.7 MB, free: 22.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003023/0.3895, allocations: 108.2 kB / 454.8 MB, free: 22.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.826e-05/0.3896, allocations: 21.2 kB / 454.9 MB, free: 22.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002724/0.3923, allocations: 5.709 MB / 460.6 MB, free: 16.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.3923, allocations: 7.062 kB / 460.6 MB, free: 16.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.3941, allocations: 1.291 MB / 461.9 MB, free: 16.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.3942, allocations: 145.7 kB / 462 MB, free: 16.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.316e-05/0.3943, allocations: 22.69 kB / 462 MB, free: 16.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003713/0.3947, allocations: 20.67 kB / 462.1 MB, free: 16.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.3948, allocations: 66.23 kB / 462.1 MB, free: 16.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/0.3949, allocations: 27.14 kB / 462.1 MB, free: 16.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002583/0.3951, allocations: 254.2 kB / 462.4 MB, free: 16.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3952, allocations: 0 / 462.4 MB, free: 16.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00108/0.3962, allocations: 268.2 kB / 462.7 MB, free: 16.12 MB / 366.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.002026/0.3983, allocations: 1.879 MB / 464.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001643/0.3999, allocations: 1.188 MB / 465.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.4, allocations: 0 / 465.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007832/0.4007, allocations: 0.7988 MB / 466.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005903/0.4013, allocations: 61.41 kB / 466.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007508/0.4089, allocations: 5.695 MB / 472.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.4094, allocations: 0.9115 MB / 473.2 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004553/0.4098, allocations: 111.9 kB / 473.3 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003311/0.4102, allocations: 246.4 kB / 473.5 MB, free: 9.953 MB / 366.1 MB Notification: Performance of SimCode: time 1.322e-06/0.4102, allocations: 0 / 473.5 MB, free: 9.953 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05076/0.461, allocations: 12.67 MB / 486.2 MB, free: 5.988 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.16, allocations: 14.52 kB / 486.2 MB, free: 5.984 MB / 366.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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.597689904039726] Failed to read output from testmodel.py, exit status != 0: ['time', 'quarterCylinder1.port_p.reference.gamma'] 11.252350529073738 11.263594519 11.128835851 Calling exit ...