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.LinearInductor.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.001667/0.001667, allocations: 109 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.001561/0.001561, allocations: 213.9 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.479/1.479, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.LinearInductor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",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.002046/0.002046, allocations: 60.78 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2955, allocations: 53.37 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.01009/0.3056, allocations: 6.579 MB / 438.5 MB, free: 272 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006253/0.3119, allocations: 2.655 MB / 441.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.3132, allocations: 23.94 kB / 441.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003917/0.3171, allocations: 1.279 MB / 442.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.3195, allocations: 0.5435 MB / 443 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00335/0.3228, allocations: 1.257 MB / 444.3 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002452/0.3253, allocations: 1.082 MB / 445.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.3272, allocations: 0.7932 MB / 446.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009593/0.3281, allocations: 454.4 kB / 446.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.3291, allocations: 0.5524 MB / 447.1 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002425/0.3294, allocations: 99.94 kB / 447.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.3306, allocations: 419.6 kB / 447.6 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002805/0.3309, allocations: 231.2 kB / 447.9 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007737/0.3317, allocations: 0.5208 MB / 448.4 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002772/0.3345, allocations: 1.53 MB / 449.9 MB, free: 4.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3345, allocations: 0 / 449.9 MB, free: 4.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3345, allocations: 4 kB / 449.9 MB, free: 4.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.653e-05/0.3345, allocations: 0 / 449.9 MB, free: 4.797 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.005098/0.3396, allocations: 1.692 MB / 451.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.3396, allocations: 12.03 kB / 451.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002711/0.3399, allocations: 171.4 kB / 451.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003327/0.3432, allocations: 475.8 kB / 452.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009074/0.3441, allocations: 452.9 kB / 452.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.922e-05/0.3442, allocations: 82.23 kB / 452.8 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/0.3444, allocations: 112 kB / 452.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/0.3465, allocations: 0.9708 MB / 453.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.664e-05/0.3465, allocations: 8 kB / 453.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.3466, allocations: 43.94 kB / 453.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.3466, allocations: 28 kB / 453.9 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/0.3487, allocations: 0.9653 MB / 454.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006526/0.3552, allocations: 3.514 MB / 458.4 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.357, allocations: 0.8201 MB / 459.2 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008258/0.3579, allocations: 396.3 kB / 459.6 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/0.358, allocations: 29.05 kB / 459.7 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000983/0.359, allocations: 470.5 kB / 460.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 4.097e-06/0.359, allocations: 0 / 460.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009768/0.3688, allocations: 3.706 MB / 463.8 MB, free: 6.527 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.3689, allocations: 145.5 kB / 464 MB, free: 6.355 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005851/0.3695, allocations: 409.5 kB / 464.4 MB, free: 5.949 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.688e-05/0.3696, allocations: 45.7 kB / 464.4 MB, free: 5.898 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004157/0.37, allocations: 441 kB / 464.8 MB, free: 5.461 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004497/0.3704, allocations: 444.1 kB / 465.3 MB, free: 5.023 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003358/0.3708, allocations: 202.9 kB / 465.5 MB, free: 4.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.371, allocations: 386.6 kB / 465.8 MB, free: 4.434 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008107/0.3718, allocations: 350.4 kB / 466.2 MB, free: 4.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009501/0.3727, allocations: 0.5312 MB / 466.7 MB, free: 3.492 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/0.3745, allocations: 0.9348 MB / 467.7 MB, free: 2.504 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.3745, allocations: 4 kB / 467.7 MB, free: 2.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003042/0.3776, allocations: 1.363 MB / 469 MB, free: 1.117 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.3776, allocations: 4 kB / 469 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.3776, allocations: 4 kB / 469 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.3787, allocations: 351.2 kB / 469.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009702/0.3796, allocations: 211.7 kB / 469.6 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/0.3901, allocations: 8.076 MB / 477.7 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009101/0.391, allocations: 39.98 kB / 477.7 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.3911, allocations: 47.98 kB / 477.7 MB, free: 7.945 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * 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,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006173/0.3917, allocations: 265.5 kB / 478 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.3919, allocations: 75.53 kB / 478.1 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003016/0.3949, allocations: 1.278 MB / 479.3 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.591e-05/0.3949, allocations: 12 kB / 479.4 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.3949, allocations: 4 kB / 479.4 MB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/0.395, allocations: 11.97 kB / 479.4 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005237/0.4002, allocations: 2.489 MB / 481.9 MB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/0.4002, allocations: 11.92 kB / 481.9 MB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007868/0.401, allocations: 147.8 kB / 482 MB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001034/0.402, allocations: 327.4 kB / 482.3 MB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.4022, allocations: 24 kB / 482.4 MB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/0.4125, allocations: 7.724 MB / 490.1 MB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4125, allocations: 0 / 490.1 MB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004292/0.4168, allocations: 1.81 MB / 491.9 MB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005211/0.4173, allocations: 147.5 kB / 492 MB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/0.4175, allocations: 24 kB / 492.1 MB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007177/0.4183, allocations: 35.98 kB / 492.1 MB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003012/0.4186, allocations: 116.7 kB / 492.2 MB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.352e-05/0.4187, allocations: 39.92 kB / 492.3 MB, free: 8.809 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004113/0.4191, allocations: 275.2 kB / 492.5 MB, free: 8.539 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4191, allocations: 0 / 492.5 MB, free: 8.539 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0016/0.4207, allocations: 319.9 kB / 492.8 MB, free: 8.227 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (rootMeanSquare.mean.x,coil.i,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004589/0.4253, allocations: 2.419 MB / 495.3 MB, free: 5.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00338/0.4286, allocations: 1.553 MB / 496.8 MB, free: 4.141 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.4286, allocations: 0 / 496.8 MB, free: 4.141 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002141/0.4308, allocations: 1.096 MB / 497.9 MB, free: 2.996 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008807/0.4317, allocations: 75.89 kB / 498 MB, free: 2.926 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/0.4472, allocations: 7.331 MB / 0.4935 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/0.4484, allocations: 1.021 MB / 0.4945 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006133/0.449, allocations: 102.2 kB / 0.4946 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006796/0.4497, allocations: 355.3 kB / 0.4949 GB, free: 9.82 MB / 414.1 MB Notification: Performance of SimCode: time 1.804e-06/0.4497, allocations: 0 / 0.4949 GB, free: 9.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07492/0.5246, allocations: 19.54 MB / 0.514 GB, free: 6.406 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.21/18.73, allocations: 15.22 kB / 0.514 GB, free: 6.395 MB / 430.1 MB " [Timeout remaining time 641] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.28889740211889] Failed to read output from testmodel.py, exit status != 0: ['time', 'coil.Phi', 'coil.i', 'r_mLeak.port_p.Phi', 'rootMeanSquare.mean.x', 'sourceQS.pin_p.reference.gamma'] 18.83757301606238 18.863127464 18.523691251 Calling exit ...