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.00137/0.00137, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.001567/0.001567, allocations: 205 kB / 21.45 MB, free: 1.629 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.582/1.582, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.002098/0.002098, allocations: 67.84 kB / 373.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1157, allocations: 53.33 MB / 427 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.2523/0.368, allocations: 6.522 MB / 433.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005212/0.3732, allocations: 2.65 MB / 436.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.3744, allocations: 30.12 kB / 436.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003348/0.3777, allocations: 1.267 MB / 437.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002161/0.3799, allocations: 0.549 MB / 438 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00266/0.3825, allocations: 1.253 MB / 439.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001974/0.3845, allocations: 1.08 MB / 440.4 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.3859, allocations: 0.6992 MB / 441.1 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009236/0.3868, allocations: 461.7 kB / 441.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009315/0.3878, allocations: 0.5428 MB / 442 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002613/0.388, allocations: 96.72 kB / 442.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.3894, allocations: 421.9 kB / 442.6 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002485/0.3897, allocations: 233.5 kB / 442.8 MB, free: 3.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007261/0.3904, allocations: 0.5217 MB / 443.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003429/0.3938, allocations: 1.527 MB / 444.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3938, allocations: 4.516 kB / 444.8 MB, free: 3 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.3938, allocations: 1.219 kB / 444.8 MB, free: 3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.793e-05/0.3939, allocations: 0 / 444.8 MB, free: 3 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.005663/0.3996, allocations: 1.669 MB / 446.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.3996, allocations: 13.03 kB / 446.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002873/0.3999, allocations: 175.7 kB / 446.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003616/0.4035, allocations: 473.2 kB / 447.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.4047, allocations: 0.5029 MB / 447.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-05/0.4048, allocations: 87.17 kB / 447.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002523/0.405, allocations: 117 kB / 447.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002322/0.4073, allocations: 0.9749 MB / 448.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.449e-05/0.4074, allocations: 1.922 kB / 448.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.4075, allocations: 45.73 kB / 448.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.844e-05/0.4075, allocations: 26.62 kB / 448.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/0.4098, allocations: 0.9619 MB / 449.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008413/0.4182, allocations: 3.764 MB / 453.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002425/0.4206, allocations: 1.49 MB / 455.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009986/0.4216, allocations: 383.8 kB / 455.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000249/0.4219, allocations: 188.7 kB / 455.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001127/0.423, allocations: 478.8 kB / 456.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 5.981e-06/0.423, allocations: 1.594 kB / 456.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01156/0.4345, allocations: 3.995 MB / 460.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.4347, allocations: 157.2 kB / 460.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007172/0.4354, allocations: 405.1 kB / 460.7 MB, free: 9.801 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001653/0.4356, allocations: 47.11 kB / 460.7 MB, free: 9.754 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004386/0.436, allocations: 437.3 kB / 461.2 MB, free: 9.367 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005384/0.4365, allocations: 445.5 kB / 461.6 MB, free: 8.977 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004026/0.4369, allocations: 208.6 kB / 461.8 MB, free: 8.852 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002353/0.4372, allocations: 374.6 kB / 462.2 MB, free: 8.492 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008859/0.4381, allocations: 355.8 kB / 462.5 MB, free: 8.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.4392, allocations: 0.5359 MB / 463.1 MB, free: 7.938 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002061/0.4412, allocations: 0.952 MB / 464 MB, free: 7.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.4412, allocations: 1.219 kB / 464 MB, free: 7.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003614/0.4449, allocations: 1.373 MB / 465.4 MB, free: 6.613 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.4449, allocations: 7.906 kB / 465.4 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/0.4449, allocations: 8.125 kB / 465.4 MB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.446, allocations: 346.5 kB / 465.7 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.4471, allocations: 207.9 kB / 465.9 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/0.4575, allocations: 8.498 MB / 474.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.4585, allocations: 43.83 kB / 474.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.4587, allocations: 40.38 kB / 474.5 MB, free: 14.64 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.0006165/0.4593, allocations: 264.9 kB / 474.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.4595, allocations: 78.97 kB / 474.9 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002929/0.4624, allocations: 1.285 MB / 476.1 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.4624, allocations: 12.38 kB / 476.1 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.4624, allocations: 8.25 kB / 476.2 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.858e-05/0.4625, allocations: 11.91 kB / 476.2 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00531/0.4678, allocations: 2.527 MB / 478.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.4678, allocations: 7.938 kB / 478.7 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007918/0.4686, allocations: 147.8 kB / 478.8 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009542/0.4695, allocations: 335.3 kB / 479.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.4697, allocations: 27.98 kB / 479.2 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009456/0.4791, allocations: 8.112 MB / 487.3 MB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.463e-06/0.4791, allocations: 3.938 kB / 487.3 MB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003985/0.4831, allocations: 1.806 MB / 489.1 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000513/0.4836, allocations: 224.6 kB / 489.3 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.4837, allocations: 24.06 kB / 489.4 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000556/0.4843, allocations: 39.98 kB / 489.4 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002732/0.4846, allocations: 104.7 kB / 489.5 MB, free: 476 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.437e-05/0.4846, allocations: 43.98 kB / 489.6 MB, free: 432 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003876/0.485, allocations: 275.2 kB / 489.8 MB, free: 152 kB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.485, allocations: 0 / 489.8 MB, free: 152 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001434/0.4865, allocations: 312 kB / 490.1 MB, free: 15.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,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.004191/0.4907, allocations: 2.431 MB / 492.6 MB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003099/0.4938, allocations: 1.557 MB / 494.1 MB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4938, allocations: 0 / 494.1 MB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001902/0.4957, allocations: 1.107 MB / 495.2 MB, free: 10.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007244/0.4964, allocations: 79.61 kB / 495.3 MB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/0.5099, allocations: 7.33 MB / 0.4908 GB, free: 2.914 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008176/0.5107, allocations: 1.024 MB / 0.4918 GB, free: 1.859 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004618/0.5112, allocations: 102.2 kB / 0.4919 GB, free: 1.758 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005075/0.5117, allocations: 351.3 kB / 0.4923 GB, free: 1.418 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5117, allocations: 0 / 0.4923 GB, free: 1.418 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07162/0.5833, allocations: 18.76 MB / 0.5106 GB, free: 14.86 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.98/18.57, allocations: 11.81 kB / 0.5106 GB, free: 14.85 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.217375367879868] 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.662757178768516 18.675357931 18.278483978 Calling exit ...