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.001978/0.001978, allocations: 110.5 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.00178/0.00178, 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.509/1.509, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.002045/0.002045, allocations: 72.75 kB / 378.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3159, allocations: 53.36 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.009998/0.3259, allocations: 6.59 MB / 438.5 MB, free: 276 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00606/0.332, allocations: 2.655 MB / 441.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009525/0.3329, allocations: 23.94 kB / 441.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003408/0.3363, allocations: 1.279 MB / 442.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.3383, allocations: 0.5396 MB / 443 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002856/0.3412, allocations: 1.257 MB / 444.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001889/0.3431, allocations: 1.086 MB / 445.3 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.3446, allocations: 0.7892 MB / 446.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000842/0.3455, allocations: 454.4 kB / 446.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.3466, allocations: 0.5485 MB / 447.1 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002014/0.3468, allocations: 100 kB / 447.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.3479, allocations: 423.6 kB / 447.6 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002257/0.3481, allocations: 231.2 kB / 447.9 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005778/0.3487, allocations: 0.5208 MB / 448.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002359/0.351, allocations: 1.53 MB / 449.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.351, allocations: 0 / 449.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.351, allocations: 0 / 449.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.401e-05/0.3511, allocations: 0 / 449.9 MB, free: 4.809 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.004687/0.3557, allocations: 1.696 MB / 451.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.776e-05/0.3558, allocations: 12.03 kB / 451.6 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002799/0.3561, allocations: 167.5 kB / 451.8 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00317/0.3593, allocations: 479.8 kB / 452.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008709/0.3601, allocations: 453 kB / 452.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.94e-05/0.3602, allocations: 82.23 kB / 452.8 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.3604, allocations: 112 kB / 452.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.3624, allocations: 0.9785 MB / 453.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.3624, allocations: 4 kB / 453.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.3625, allocations: 47.98 kB / 453.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/0.3625, allocations: 28 kB / 453.9 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/0.3645, allocations: 0.9614 MB / 454.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006069/0.3705, allocations: 3.518 MB / 458.4 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.3723, allocations: 0.8163 MB / 459.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000832/0.3732, allocations: 388.3 kB / 459.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.3733, allocations: 33.03 kB / 459.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000965/0.3743, allocations: 474.5 kB / 460.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.625e-06/0.3743, allocations: 0 / 460.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009588/0.3838, allocations: 3.699 MB / 463.8 MB, free: 6.539 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001481/0.384, allocations: 145.5 kB / 464 MB, free: 6.367 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005615/0.3846, allocations: 409.5 kB / 464.4 MB, free: 5.961 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.269e-05/0.3846, allocations: 49.7 kB / 464.4 MB, free: 5.906 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004652/0.3851, allocations: 437 kB / 464.8 MB, free: 5.473 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005059/0.3856, allocations: 452.1 kB / 465.3 MB, free: 5.027 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003277/0.3859, allocations: 202.9 kB / 465.5 MB, free: 4.824 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002071/0.3861, allocations: 386.6 kB / 465.8 MB, free: 4.438 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007279/0.3869, allocations: 350.4 kB / 466.2 MB, free: 4.094 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009089/0.3878, allocations: 0.5351 MB / 466.7 MB, free: 3.492 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/0.3895, allocations: 0.9309 MB / 467.7 MB, free: 2.508 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.3895, allocations: 4 kB / 467.7 MB, free: 2.504 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002706/0.3922, allocations: 1.367 MB / 469 MB, free: 1.117 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.3922, allocations: 4 kB / 469 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.3922, allocations: 4 kB / 469 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009158/0.3932, allocations: 351.2 kB / 469.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008651/0.394, allocations: 207.7 kB / 469.6 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009701/0.4037, allocations: 8.074 MB / 477.7 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007653/0.4045, allocations: 39.98 kB / 477.7 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-05/0.4046, allocations: 48 kB / 477.7 MB, free: 7.949 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.0005348/0.4051, allocations: 265.5 kB / 478 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.4052, allocations: 79.53 kB / 478.1 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002716/0.408, allocations: 1.278 MB / 479.4 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.408, allocations: 12 kB / 479.4 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.408, allocations: 8 kB / 479.4 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.408, allocations: 7.984 kB / 479.4 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004501/0.4125, allocations: 2.482 MB / 481.9 MB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.4125, allocations: 7.938 kB / 481.9 MB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007023/0.4132, allocations: 151.8 kB / 482 MB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000853/0.4141, allocations: 327.4 kB / 482.3 MB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.639e-05/0.4141, allocations: 27.98 kB / 482.4 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008735/0.4229, allocations: 7.719 MB / 490.1 MB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4229, allocations: 0 / 490.1 MB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003627/0.4265, allocations: 1.813 MB / 491.9 MB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000357/0.4269, allocations: 147.5 kB / 492 MB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.427, allocations: 27.98 kB / 492.1 MB, free: 9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004935/0.4275, allocations: 35.98 kB / 492.1 MB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002319/0.4277, allocations: 108.7 kB / 492.2 MB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.659e-05/0.4278, allocations: 35.98 kB / 492.2 MB, free: 8.824 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004355/0.4282, allocations: 283.1 kB / 492.5 MB, free: 8.547 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4282, allocations: 0 / 492.5 MB, free: 8.547 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001313/0.4295, allocations: 319.9 kB / 492.8 MB, free: 8.234 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.00402/0.4335, allocations: 2.423 MB / 495.3 MB, free: 5.754 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002873/0.4364, allocations: 1.549 MB / 496.8 MB, free: 4.148 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4364, allocations: 4 kB / 496.8 MB, free: 4.145 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001764/0.4382, allocations: 1.096 MB / 497.9 MB, free: 3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005631/0.4387, allocations: 77.64 kB / 498 MB, free: 2.926 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/0.4511, allocations: 7.327 MB / 0.4935 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009351/0.4521, allocations: 1.021 MB / 0.4945 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004411/0.4525, allocations: 106.2 kB / 0.4946 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004976/0.453, allocations: 351.3 kB / 0.4949 GB, free: 9.824 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.453, allocations: 0 / 0.4949 GB, free: 9.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08023/0.5332, allocations: 19.55 MB / 0.514 GB, free: 6.406 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.16/18.69, allocations: 7.25 kB / 0.514 GB, free: 6.402 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-07 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.15666787326336] 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.79188023181632 18.814814035 18.459233476 Calling exit ...