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.001662/0.001662, allocations: 122.7 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.001757/0.001757, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.517/1.517, allocations: 230.5 MB / 254.7 MB, free: 15.01 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.001959/0.001959, allocations: 71.83 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1202, allocations: 53.32 MB / 426.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.2267/0.3469, allocations: 6.527 MB / 433.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004213/0.3511, allocations: 2.65 MB / 436.1 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005787/0.3517, allocations: 26.09 kB / 436.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002815/0.3545, allocations: 1.273 MB / 437.4 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001558/0.3561, allocations: 0.5357 MB / 437.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.3584, allocations: 1.26 MB / 439.2 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001597/0.36, allocations: 1.073 MB / 440.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.3612, allocations: 0.7069 MB / 440.9 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006597/0.3619, allocations: 449.9 kB / 441.4 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006805/0.3626, allocations: 0.5421 MB / 441.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.3627, allocations: 97.66 kB / 442 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.3639, allocations: 422.2 kB / 442.4 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.3641, allocations: 233.8 kB / 442.7 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005106/0.3646, allocations: 0.5225 MB / 443.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002715/0.3673, allocations: 1.523 MB / 444.7 MB, free: 2.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3674, allocations: 3.938 kB / 444.7 MB, free: 2.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3674, allocations: 1.094 kB / 444.7 MB, free: 2.887 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.947e-05/0.3674, allocations: 4 kB / 444.7 MB, free: 2.883 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.005123/0.3725, allocations: 1.67 MB / 446.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.3726, allocations: 8.969 kB / 446.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000264/0.3728, allocations: 171.8 kB / 446.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003349/0.3762, allocations: 480.9 kB / 447 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008651/0.377, allocations: 0.496 MB / 447.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.586e-05/0.3771, allocations: 88.86 kB / 447.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/0.3773, allocations: 115.9 kB / 447.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.3792, allocations: 0.9764 MB / 448.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.777e-05/0.3792, allocations: 1.25 kB / 448.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-05/0.3793, allocations: 46.44 kB / 448.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.651e-05/0.3793, allocations: 26.66 kB / 448.8 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001881/0.3812, allocations: 0.9612 MB / 449.7 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00698/0.3882, allocations: 3.766 MB / 453.5 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002127/0.3903, allocations: 1.488 MB / 455 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008119/0.3911, allocations: 393.1 kB / 455.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002269/0.3914, allocations: 187 kB / 455.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009252/0.3923, allocations: 479 kB / 456 MB, free: 12.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.705e-06/0.3923, allocations: 0 / 456 MB, free: 12.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.00968/0.402, allocations: 4.004 MB / 460 MB, free: 10.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.4021, allocations: 143.7 kB / 460.2 MB, free: 9.965 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000586/0.4027, allocations: 415.3 kB / 460.6 MB, free: 9.703 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.531e-05/0.4028, allocations: 45.61 kB / 460.6 MB, free: 9.656 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004339/0.4032, allocations: 434.3 kB / 461 MB, free: 9.273 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004446/0.4037, allocations: 445.7 kB / 461.5 MB, free: 8.883 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000377/0.404, allocations: 204.1 kB / 461.7 MB, free: 8.762 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002317/0.4043, allocations: 382.3 kB / 462 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008482/0.4051, allocations: 354.9 kB / 462.4 MB, free: 8.223 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.4061, allocations: 0.5361 MB / 462.9 MB, free: 7.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/0.408, allocations: 0.9436 MB / 463.9 MB, free: 7.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/0.408, allocations: 1.156 kB / 463.9 MB, free: 7.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00301/0.411, allocations: 1.376 MB / 465.2 MB, free: 6.523 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.411, allocations: 8.188 kB / 465.3 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.411, allocations: 4.406 kB / 465.3 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009374/0.412, allocations: 356.2 kB / 465.6 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009049/0.4129, allocations: 201.3 kB / 465.8 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009875/0.4228, allocations: 8.492 MB / 474.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.4238, allocations: 46.61 kB / 474.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001824/0.424, allocations: 49.75 kB / 474.4 MB, free: 14.54 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.000745/0.4247, allocations: 259.5 kB / 474.6 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.4249, allocations: 76.16 kB / 474.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002868/0.4278, allocations: 1.282 MB / 476 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.4278, allocations: 12.81 kB / 476 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2e-05/0.4279, allocations: 6.094 kB / 476 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.4279, allocations: 13.06 kB / 476 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005037/0.4329, allocations: 2.522 MB / 478.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.4329, allocations: 8.125 kB / 478.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007228/0.4336, allocations: 155.8 kB / 478.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008541/0.4345, allocations: 321.6 kB / 479 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.494e-05/0.4346, allocations: 35.98 kB / 479.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008981/0.4436, allocations: 8.12 MB / 487.2 MB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.4436, allocations: 4 kB / 487.2 MB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003764/0.4473, allocations: 1.806 MB / 489 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000477/0.4478, allocations: 232.6 kB / 489.2 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.448, allocations: 24 kB / 489.2 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005863/0.4486, allocations: 35.98 kB / 489.3 MB, free: 492 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/0.4488, allocations: 100.7 kB / 489.4 MB, free: 392 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.931e-05/0.4488, allocations: 32 kB / 489.4 MB, free: 360 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003968/0.4492, allocations: 287.1 kB / 489.7 MB, free: 72 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4492, allocations: 0 / 489.7 MB, free: 72 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001484/0.4507, allocations: 312.1 kB / 490 MB, free: 15.76 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.004188/0.4549, allocations: 2.427 MB / 492.4 MB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003174/0.4581, allocations: 1.554 MB / 494 MB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4581, allocations: 4.125 kB / 494 MB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001855/0.4599, allocations: 1.111 MB / 495.1 MB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007293/0.4607, allocations: 78.23 kB / 495.2 MB, free: 10.44 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/0.4749, allocations: 7.33 MB / 0.4907 GB, free: 2.828 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.476, allocations: 1.028 MB / 0.4917 GB, free: 1.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000497/0.4765, allocations: 98.16 kB / 0.4918 GB, free: 1.672 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005381/0.4771, allocations: 351.3 kB / 0.4921 GB, free: 1.332 MB / 398.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4771, allocations: 0 / 0.4921 GB, free: 1.332 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08283/0.5599, allocations: 18.75 MB / 0.5105 GB, free: 14.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.59/18.15, allocations: 15.17 kB / 0.5105 GB, free: 14.78 MB / 430.1 MB " [Timeout remaining time 642] (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: 20.609656404703856] 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.248507625889033 18.270072937 17.898161549 Calling exit ...