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.001333/0.001333, allocations: 120 kB / 18.5 MB, free: 4.52 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.001435/0.001435, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.519/1.519, allocations: 230.5 MB / 254.8 MB, free: 15.12 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.001988/0.001988, allocations: 71.81 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1072, allocations: 53.32 MB / 427 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2346/0.3417, allocations: 16.68 MB / 443.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01092/0.3527, allocations: 4.716 MB / 448.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003597/0.3562, allocations: 157.8 kB / 448.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01758/0.3738, allocations: 7.224 MB / 455.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008291/0.3821, allocations: 1.978 MB / 457.8 MB, free: 9.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004664/0.3868, allocations: 1.542 MB / 459.3 MB, free: 8.246 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01374/0.4005, allocations: 9.498 MB / 468.8 MB, free: 2.965 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02863/0.4292, allocations: 16.24 MB / 485 MB, free: 6.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009861/0.439, allocations: 5.35 MB / 490.4 MB, free: 1.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01069/0.4497, allocations: 5.962 MB / 496.4 MB, free: 11.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003154/0.4529, allocations: 1.359 MB / 497.7 MB, free: 10.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004778/0.4576, allocations: 1.664 MB / 499.4 MB, free: 8.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003498/0.4611, allocations: 2.802 MB / 0.4904 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008786/0.4699, allocations: 5.354 MB / 0.4956 GB, free: 332 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02338/0.4933, allocations: 18.41 MB / 0.5136 GB, free: 13.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.4933, allocations: 0 / 0.5136 GB, free: 13.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.4933, allocations: 4 kB / 0.5136 GB, free: 13.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004611/0.4938, allocations: 0 / 0.5136 GB, free: 13.85 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.0378/0.5316, allocations: 12.33 MB / 0.5257 GB, free: 1.426 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.5316, allocations: 8.031 kB / 0.5257 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004972/0.5366, allocations: 1.513 MB / 0.5272 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03766/0.5743, allocations: 6.196 MB / 0.5332 GB, free: 9.688 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01378/0.588, allocations: 5.867 MB / 0.5389 GB, free: 3.758 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007205/0.5888, allocations: 0.6665 MB / 0.5396 GB, free: 3.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003435/0.5922, allocations: 0.8827 MB / 0.5404 GB, free: 2.207 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03401/0.6262, allocations: 14.74 MB / 0.5548 GB, free: 3.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002621/0.6265, allocations: 7.953 kB / 0.5549 GB, free: 3.402 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001832/0.6283, allocations: 372 kB / 0.5552 GB, free: 3.039 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005417/0.6288, allocations: 499.2 kB / 0.5557 GB, free: 2.547 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02796/0.6568, allocations: 13.57 MB / 0.5689 GB, free: 4.953 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07824/0.735, allocations: 44.74 MB / 0.6126 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4057/1.141, allocations: 11.25 MB / 0.6236 GB, free: 146.2 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004592/1.145, allocations: 2.867 MB / 0.6264 GB, free: 146.2 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004163/1.146, allocations: 287.2 kB / 0.6267 GB, free: 146 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.696e-05/1.146, allocations: 80.8 kB / 0.6268 GB, free: 146 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=409): time 6.643e-06/1.146, allocations: 0 / 0.6268 GB, free: 146 MB / 0.5138 GB Notification: Performance of matching and sorting (n=409): time 0.0215/1.167, allocations: 9.579 MB / 0.6361 GB, free: 143.2 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/1.167, allocations: 124 kB / 0.6362 GB, free: 143.1 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004848/1.172, allocations: 3.163 MB / 0.6393 GB, free: 142 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0005774/1.173, allocations: 91.73 kB / 0.6394 GB, free: 141.9 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001764/1.175, allocations: 3.83 MB / 0.6432 GB, free: 139.8 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001215/1.176, allocations: 1.461 MB / 0.6446 GB, free: 138.9 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001672/1.177, allocations: 1.148 MB / 0.6457 GB, free: 138.3 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.582e-05/1.177, allocations: 302.2 kB / 0.646 GB, free: 138 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004006/1.181, allocations: 2.843 MB / 0.6488 GB, free: 137 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004983/1.186, allocations: 4.909 MB / 0.6536 GB, free: 133.4 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00929/1.196, allocations: 8.272 MB / 0.6616 GB, free: 128.1 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.988e-05/1.196, allocations: 23.38 kB / 0.6617 GB, free: 128.1 MB / 0.5138 GB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01265/1.208, allocations: 9.114 MB / 0.6706 GB, free: 124.7 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.327e-05/1.209, allocations: 35.41 kB / 0.6706 GB, free: 124.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.48e-05/1.209, allocations: 66.03 kB / 0.6707 GB, free: 124.7 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002992/1.212, allocations: 1.151 MB / 0.6718 GB, free: 124.4 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004077/1.216, allocations: 1.297 MB / 0.673 GB, free: 124.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/1.228, allocations: 10.83 MB / 0.6836 GB, free: 115.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004418/1.232, allocations: 0.7491 MB / 0.6844 GB, free: 114.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007747/1.233, allocations: 284 kB / 0.6846 GB, free: 114.6 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.005031/1.238, allocations: 3.431 MB / 0.688 GB, free: 111.1 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008052/1.239, allocations: 365.7 kB / 0.6883 GB, free: 110.8 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/1.249, allocations: 6.872 MB / 0.695 GB, free: 103.9 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007738/1.257, allocations: 5.722 MB / 0.7006 GB, free: 98.16 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-05/1.257, allocations: 12 kB / 0.7006 GB, free: 98.14 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-05/1.257, allocations: 23.91 kB / 0.7007 GB, free: 98.12 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02171/1.278, allocations: 15.23 MB / 0.7155 GB, free: 82.74 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.46e-05/1.279, allocations: 19.94 kB / 0.7155 GB, free: 82.72 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002921/1.281, allocations: 0.7965 MB / 0.7163 GB, free: 81.93 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002928/1.284, allocations: 1.06 MB / 0.7174 GB, free: 80.86 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004446/1.285, allocations: 116 kB / 0.7175 GB, free: 80.75 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/1.297, allocations: 10.58 MB / 0.7278 GB, free: 69.91 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/1.297, allocations: 23.94 kB / 0.7278 GB, free: 69.88 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/1.311, allocations: 10.7 MB / 0.7383 GB, free: 58.95 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002172/1.313, allocations: 1.017 MB / 0.7393 GB, free: 57.91 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005928/1.314, allocations: 99.98 kB / 0.7394 GB, free: 57.81 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002207/1.316, allocations: 271.6 kB / 0.7396 GB, free: 57.55 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006317/1.316, allocations: 351.2 kB / 0.7399 GB, free: 57.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002426/1.317, allocations: 140 kB / 0.7401 GB, free: 57.07 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002522/1.319, allocations: 2.125 MB / 0.7422 GB, free: 54.94 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8e-08/1.319, allocations: 0 / 0.7422 GB, free: 54.94 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.005619/1.325, allocations: 2.258 MB / 0.7444 GB, free: 52.67 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.01329/1.338, allocations: 11.43 MB / 0.7555 GB, free: 41.01 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01027/1.348, allocations: 7.171 MB / 0.7625 GB, free: 33.83 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/1.348, allocations: 0 / 0.7625 GB, free: 33.83 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005305/1.354, allocations: 3.412 MB / 0.7659 GB, free: 30.4 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004129/1.358, allocations: 0.8093 MB / 0.7667 GB, free: 29.62 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08385/1.442, allocations: 51.78 MB / 0.8172 GB, free: 7.176 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007489/1.449, allocations: 5.938 MB / 0.823 GB, free: 1.199 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.2171/1.666, allocations: 2.153 MB / 0.8251 GB, free: 169.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00476/1.671, allocations: 3.029 MB / 0.8281 GB, free: 169.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.693e-06/1.671, allocations: 0 / 0.8281 GB, free: 169.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1803/1.851, allocations: 115.3 MB / 0.9407 GB, free: 86.54 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.36/20.21, allocations: 7.797 kB / 0.9407 GB, free: 86.53 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv --start-time 0 --stop-time 40 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 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.829080866184086] Failed to read output from testmodel.py, exit status != 0: ['time', 'lossPower_e', 'lossPower_m'] 20.35847828304395 20.377690913 19.880618603 Calling exit ...