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.001548/0.001548, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001832/0.001832, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.5/1.5, allocations: 230.5 MB / 254.7 MB, free: 15.21 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.001965/0.001965, allocations: 71.83 kB / 373.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1115, allocations: 53.31 MB / 426.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2108/0.3223, allocations: 16.68 MB / 443.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.3324, allocations: 4.714 MB / 448.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003907/0.3363, allocations: 133.2 kB / 448.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01765/0.354, allocations: 7.216 MB / 455.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00844/0.3624, allocations: 1.977 MB / 457.6 MB, free: 9.305 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005595/0.368, allocations: 1.543 MB / 459.2 MB, free: 8.395 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01576/0.3837, allocations: 9.5 MB / 468.7 MB, free: 3.102 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03454/0.4183, allocations: 16.24 MB / 484.9 MB, free: 7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01036/0.4286, allocations: 5.257 MB / 490.2 MB, free: 1.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01093/0.4396, allocations: 5.969 MB / 496.1 MB, free: 11.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004585/0.4442, allocations: 1.355 MB / 497.5 MB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006494/0.4507, allocations: 1.664 MB / 499.1 MB, free: 8.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005351/0.456, allocations: 2.805 MB / 0.4902 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01357/0.4696, allocations: 5.35 MB / 0.4954 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02713/0.4967, allocations: 18.41 MB / 0.5134 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.4967, allocations: 3.984 kB / 0.5134 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4967, allocations: 0 / 0.5134 GB, free: 14.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005122/0.4972, allocations: 0 / 0.5134 GB, free: 14.07 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.03744/0.5347, allocations: 12.33 MB / 0.5254 GB, free: 1.637 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.5347, allocations: 8.031 kB / 0.5254 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005311/0.54, allocations: 1.517 MB / 0.5269 GB, free: 104 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03612/0.5762, allocations: 6.2 MB / 0.533 GB, free: 9.887 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0158/0.592, allocations: 5.838 MB / 0.5387 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007955/0.5927, allocations: 0.6714 MB / 0.5393 GB, free: 3.316 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003653/0.5964, allocations: 0.875 MB / 0.5402 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03805/0.6344, allocations: 14.76 MB / 0.5546 GB, free: 3.633 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002937/0.6347, allocations: 7.953 kB / 0.5546 GB, free: 3.625 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002245/0.637, allocations: 375.9 kB / 0.555 GB, free: 3.258 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005756/0.6376, allocations: 0.4915 MB / 0.5554 GB, free: 2.762 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02937/0.6669, allocations: 13.57 MB / 0.5687 GB, free: 5.164 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08918/0.7561, allocations: 44.74 MB / 0.6124 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.442/1.198, allocations: 11.25 MB / 0.6234 GB, free: 147.1 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005115/1.203, allocations: 2.864 MB / 0.6262 GB, free: 147.1 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004473/1.204, allocations: 290.5 kB / 0.6264 GB, free: 146.9 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.508e-05/1.204, allocations: 80.55 kB / 0.6265 GB, free: 146.8 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=409): time 6.372e-06/1.204, allocations: 0 / 0.6265 GB, free: 146.8 MB / 0.5138 GB Notification: Performance of matching and sorting (n=409): time 0.02196/1.226, allocations: 9.583 MB / 0.6359 GB, free: 144 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/1.226, allocations: 120.4 kB / 0.636 GB, free: 143.9 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005217/1.231, allocations: 3.16 MB / 0.6391 GB, free: 142.8 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0006629/1.232, allocations: 96.58 kB / 0.6392 GB, free: 142.8 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001917/1.234, allocations: 3.832 MB / 0.6429 GB, free: 140.7 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001374/1.235, allocations: 1.463 MB / 0.6443 GB, free: 139.7 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001708/1.237, allocations: 1.146 MB / 0.6455 GB, free: 139.2 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.682e-05/1.237, allocations: 301.1 kB / 0.6457 GB, free: 138.9 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004068/1.241, allocations: 2.847 MB / 0.6485 GB, free: 137.9 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004809/1.246, allocations: 4.907 MB / 0.6533 GB, free: 134.3 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008929/1.255, allocations: 8.276 MB / 0.6614 GB, free: 128.9 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.393e-05/1.255, allocations: 19.75 kB / 0.6614 GB, free: 128.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01257/1.267, allocations: 9.117 MB / 0.6703 GB, free: 125.5 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 4.706e-05/1.267, allocations: 35 kB / 0.6704 GB, free: 125.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-05/1.267, allocations: 66.38 kB / 0.6704 GB, free: 125.5 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002686/1.27, allocations: 1.139 MB / 0.6715 GB, free: 125.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004032/1.274, allocations: 1.3 MB / 0.6728 GB, free: 125.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/1.286, allocations: 10.84 MB / 0.6834 GB, free: 116.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004407/1.29, allocations: 0.7375 MB / 0.6841 GB, free: 115.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008261/1.291, allocations: 284.8 kB / 0.6844 GB, free: 115.1 MB / 0.5138 GB 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.004984/1.296, allocations: 3.428 MB / 0.6877 GB, free: 111.6 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000802/1.297, allocations: 365.7 kB / 0.6881 GB, free: 111.3 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009455/1.306, allocations: 6.877 MB / 0.6948 GB, free: 104.4 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007156/1.314, allocations: 5.718 MB / 0.7004 GB, free: 98.65 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.243e-05/1.314, allocations: 12 kB / 0.7004 GB, free: 98.64 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-05/1.314, allocations: 23.91 kB / 0.7004 GB, free: 98.61 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02199/1.336, allocations: 15.25 MB / 0.7153 GB, free: 83.22 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.206e-05/1.336, allocations: 13.94 kB / 0.7153 GB, free: 83.21 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002607/1.338, allocations: 0.7918 MB / 0.7161 GB, free: 82.42 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002565/1.341, allocations: 1.063 MB / 0.7171 GB, free: 81.35 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002619/1.341, allocations: 120 kB / 0.7172 GB, free: 81.23 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01109/1.352, allocations: 10.57 MB / 0.7276 GB, free: 70.38 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/1.352, allocations: 15.94 kB / 0.7276 GB, free: 70.37 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01287/1.365, allocations: 10.71 MB / 0.738 GB, free: 59.43 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002538/1.368, allocations: 1.013 MB / 0.739 GB, free: 58.39 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006793/1.368, allocations: 95.98 kB / 0.7391 GB, free: 58.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00206/1.37, allocations: 275.7 kB / 0.7394 GB, free: 58.03 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006156/1.371, allocations: 339.2 kB / 0.7397 GB, free: 57.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002405/1.371, allocations: 148 kB / 0.7398 GB, free: 57.55 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002569/1.374, allocations: 2.121 MB / 0.7419 GB, free: 55.43 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8e-08/1.374, allocations: 4 kB / 0.7419 GB, free: 55.42 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006577/1.38, allocations: 2.261 MB / 0.7441 GB, free: 53.16 MB / 0.5138 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.01332/1.394, allocations: 11.43 MB / 0.7553 GB, free: 41.5 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.009948/1.404, allocations: 7.165 MB / 0.7623 GB, free: 34.32 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.429e-05/1.404, allocations: 4 kB / 0.7623 GB, free: 34.32 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.004977/1.409, allocations: 3.413 MB / 0.7656 GB, free: 30.89 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003762/1.412, allocations: 0.806 MB / 0.7664 GB, free: 30.11 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08102/1.493, allocations: 51.76 MB / 0.817 GB, free: 7.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009418/1.503, allocations: 5.934 MB / 0.8227 GB, free: 1.707 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.2531/1.756, allocations: 2.155 MB / 0.8249 GB, free: 169.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005089/1.761, allocations: 3.03 MB / 0.8278 GB, free: 169.3 MB / 0.545 GB Notification: Performance of SimCode: time 2.474e-06/1.761, allocations: 0 / 0.8278 GB, free: 169.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1752/1.936, allocations: 115.3 MB / 0.9404 GB, free: 86.69 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.96/19.89, allocations: 7.688 kB / 0.9404 GB, free: 86.68 MB / 0.545 GB " [Timeout remaining time 640] (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: 22.521295776125044] Failed to read output from testmodel.py, exit status != 0: ['time', 'lossPower_e', 'lossPower_m'] 20.03147670486942 20.040914982 19.541474593 Calling exit ...