Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.001541/0.001541, 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.001873/0.001873, allocations: 213.2 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.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",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.002009/0.002009, allocations: 72.75 kB / 378.6 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2643, allocations: 53.36 MB / 431.9 MB, free: 7.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01967/0.284, allocations: 16.71 MB / 448.6 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.2948, allocations: 4.731 MB / 453.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003222/0.298, allocations: 155.2 kB / 453.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01743/0.3154, allocations: 7.245 MB / 460.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007529/0.3229, allocations: 2.044 MB / 462.8 MB, free: 8.035 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004658/0.3276, allocations: 1.576 MB / 464.4 MB, free: 6.461 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01391/0.3415, allocations: 9.622 MB / 474 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02617/0.3677, allocations: 13.58 MB / 487.6 MB, free: 15.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008265/0.3759, allocations: 5.393 MB / 493 MB, free: 9.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0101/0.386, allocations: 5.989 MB / 499 MB, free: 3.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003539/0.3896, allocations: 1.359 MB / 0.4886 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005166/0.3948, allocations: 1.672 MB / 0.4902 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004225/0.399, allocations: 2.79 MB / 0.493 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008982/0.408, allocations: 5.362 MB / 0.4982 GB, free: 8.441 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02299/0.431, allocations: 18.41 MB / 0.5162 GB, free: 5.977 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.431, allocations: 0 / 0.5162 GB, free: 5.977 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.431, allocations: 0 / 0.5162 GB, free: 5.977 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000479/0.4314, allocations: 0 / 0.5162 GB, free: 5.977 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.03653/0.468, allocations: 12.26 MB / 0.5282 GB, free: 9.641 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.468, allocations: 8.031 kB / 0.5282 GB, free: 9.633 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005524/0.4735, allocations: 1.513 MB / 0.5296 GB, free: 8.109 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0372/0.5107, allocations: 6.199 MB / 0.5357 GB, free: 1.898 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4163/0.927, allocations: 5.921 MB / 0.5415 GB, free: 85.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000553/0.9276, allocations: 0.6728 MB / 0.5421 GB, free: 85.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003481/0.9311, allocations: 0.8745 MB / 0.543 GB, free: 85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03578/0.9668, allocations: 14.76 MB / 0.5574 GB, free: 79.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002862/0.9671, allocations: 7.828 kB / 0.5574 GB, free: 79.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002142/0.9693, allocations: 373.3 kB / 0.5578 GB, free: 79.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004271/0.9697, allocations: 0.4899 MB / 0.5582 GB, free: 79.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02336/0.9931, allocations: 13.57 MB / 0.5715 GB, free: 66.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06247/1.056, allocations: 43.51 MB / 0.614 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008684/1.064, allocations: 5.998 MB / 0.6198 GB, free: 17.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003719/1.068, allocations: 2.868 MB / 0.6226 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003535/1.068, allocations: 137.8 kB / 0.6228 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/1.068, allocations: 78.56 kB / 0.6228 GB, free: 14.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 6.101e-06/1.068, allocations: 7.938 kB / 0.6228 GB, free: 14.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01772/1.086, allocations: 9.437 MB / 0.6321 GB, free: 4.898 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/1.086, allocations: 117.1 kB / 0.6322 GB, free: 4.766 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003872/1.09, allocations: 3.155 MB / 0.6353 GB, free: 1.637 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005485/1.091, allocations: 93.7 kB / 0.6353 GB, free: 1.539 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002345/1.093, allocations: 3.837 MB / 0.6391 GB, free: 13.86 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001703/1.095, allocations: 1.462 MB / 0.6405 GB, free: 12.42 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001935/1.097, allocations: 1.148 MB / 0.6416 GB, free: 11.26 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/1.097, allocations: 305.1 kB / 0.6419 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004692/1.101, allocations: 2.838 MB / 0.6447 GB, free: 8.113 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006877/1.108, allocations: 4.908 MB / 0.6495 GB, free: 2.262 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01243/1.121, allocations: 8.279 MB / 0.6576 GB, free: 9.043 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-05/1.121, allocations: 20 kB / 0.6576 GB, free: 9.023 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01908/1.14, allocations: 9.11 MB / 0.6665 GB, free: 15.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.596e-05/1.14, allocations: 40.56 kB / 0.6665 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001225/1.14, allocations: 64 kB / 0.6666 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003527/1.144, allocations: 1.15 MB / 0.6677 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005369/1.149, allocations: 1.303 MB / 0.669 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0163/1.165, allocations: 10.61 MB / 0.6794 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004925/1.17, allocations: 0.7452 MB / 0.6801 GB, free: 1.762 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001488/1.172, allocations: 283.9 kB / 0.6804 GB, free: 1.484 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008889/1.18, allocations: 3.425 MB / 0.6837 GB, free: 14.05 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00111/1.182, allocations: 361.7 kB / 0.684 GB, free: 13.69 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01331/1.195, allocations: 6.878 MB / 0.6908 GB, free: 6.785 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009939/1.205, allocations: 5.729 MB / 0.6964 GB, free: 1.043 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.372e-05/1.205, allocations: 15.83 kB / 0.6964 GB, free: 1.031 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.741e-05/1.205, allocations: 23.86 kB / 0.6964 GB, free: 1.008 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02943/1.234, allocations: 15.29 MB / 0.7113 GB, free: 1.484 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.074e-05/1.234, allocations: 16.25 kB / 0.7113 GB, free: 1.469 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003421/1.238, allocations: 0.7996 MB / 0.7121 GB, free: 0.668 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003373/1.241, allocations: 1.056 MB / 0.7131 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006099/1.242, allocations: 112 kB / 0.7133 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01593/1.258, allocations: 10.38 MB / 0.7234 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-05/1.258, allocations: 23.88 kB / 0.7234 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0189/1.277, allocations: 10.7 MB / 0.7339 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002782/1.279, allocations: 0.9648 MB / 0.7348 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008822/1.28, allocations: 104.2 kB / 0.7349 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002594/1.283, allocations: 267.7 kB / 0.7352 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008199/1.284, allocations: 367 kB / 0.7355 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003148/1.284, allocations: 148 kB / 0.7356 GB, free: 8.086 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003756/1.288, allocations: 2.121 MB / 0.7377 GB, free: 5.961 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.21e-07/1.288, allocations: 0 / 0.7377 GB, free: 5.961 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007008/1.295, allocations: 2.255 MB / 0.7399 GB, free: 3.699 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_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 (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2758/1.571, allocations: 11.43 MB / 0.7511 GB, free: 176 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01166/1.582, allocations: 7.169 MB / 0.7581 GB, free: 173.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.129e-05/1.582, allocations: 0 / 0.7581 GB, free: 173.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005895/1.588, allocations: 3.426 MB / 0.7614 GB, free: 172.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004603/1.593, allocations: 0.8004 MB / 0.7622 GB, free: 171.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07356/1.666, allocations: 51.94 MB / 0.8129 GB, free: 132.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005863/1.672, allocations: 5.93 MB / 0.8187 GB, free: 126.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004574/1.677, allocations: 2.154 MB / 0.8208 GB, free: 124 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003742/1.681, allocations: 3.03 MB / 0.8238 GB, free: 120.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.343e-06/1.681, allocations: 3.938 kB / 0.8238 GB, free: 120.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1681/1.849, allocations: 120.6 MB / 0.9416 GB, free: 0.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.86/20.71, allocations: 17.91 kB / 0.9416 GB, free: 0.7383 MB / 0.545 GB " [Timeout remaining time 639] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.48468009289354] Failed to read output from testmodel.py, exit status != 0: ['time', 'lossPower_e', 'lossPower_m'] 20.855721859727055 21.059802736 20.625872773 Calling exit ...