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.007898/0.007898, allocations: 107 kB / 21.98 MB, free: 5.223 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.002193/0.002193, allocations: 212.6 kB / 25.29 MB, free: 3.203 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.474/1.474, allocations: 230.6 MB / 259 MB, free: 8.055 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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [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.00196/0.00196, allocations: 71.88 kB / 379.8 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3191, allocations: 53.35 MB / 433.2 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01918/0.3383, allocations: 16.73 MB / 449.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.3492, allocations: 4.723 MB / 454.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003157/0.3523, allocations: 155.2 kB / 454.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01677/0.3691, allocations: 7.246 MB / 462 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00755/0.3766, allocations: 2.044 MB / 464.1 MB, free: 7.977 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00441/0.381, allocations: 1.574 MB / 465.7 MB, free: 6.402 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01283/0.3939, allocations: 9.618 MB / 475.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02165/0.4155, allocations: 13.59 MB / 488.9 MB, free: 15.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007986/0.4235, allocations: 5.389 MB / 494.2 MB, free: 9.609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009718/0.4332, allocations: 5.981 MB / 0.4885 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003308/0.4365, allocations: 1.363 MB / 0.4898 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004396/0.4409, allocations: 1.668 MB / 0.4915 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003331/0.4443, allocations: 2.802 MB / 0.4942 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008063/0.4523, allocations: 5.362 MB / 0.4994 GB, free: 8.387 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02169/0.474, allocations: 18.41 MB / 0.5174 GB, free: 5.922 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.849e-06/0.474, allocations: 0 / 0.5174 GB, free: 5.922 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.474, allocations: 0 / 0.5174 GB, free: 5.922 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007147/0.4747, allocations: 0 / 0.5174 GB, free: 5.922 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.04082/0.5156, allocations: 12.26 MB / 0.5294 GB, free: 9.582 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.5156, allocations: 8.031 kB / 0.5294 GB, free: 9.574 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0365/0.5521, allocations: 6.195 MB / 0.5354 GB, free: 3.367 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4831/1.035, allocations: 5.911 MB / 0.5412 GB, free: 86.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007502/1.036, allocations: 0.6752 MB / 0.5419 GB, free: 86.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003997/1.04, allocations: 0.8821 MB / 0.5427 GB, free: 85.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03959/1.08, allocations: 14.75 MB / 0.5571 GB, free: 80.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002899/1.08, allocations: 4.969 kB / 0.5571 GB, free: 80.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00232/1.082, allocations: 376 kB / 0.5575 GB, free: 80.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004187/1.083, allocations: 0.4917 MB / 0.558 GB, free: 80.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0261/1.109, allocations: 13.56 MB / 0.5712 GB, free: 68.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07509/1.184, allocations: 43.27 MB / 0.6135 GB, free: 24.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01047/1.194, allocations: 6.018 MB / 0.6193 GB, free: 19.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004171/1.198, allocations: 2.86 MB / 0.6221 GB, free: 16.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003754/1.199, allocations: 140.4 kB / 0.6223 GB, free: 16.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.318e-05/1.199, allocations: 74.56 kB / 0.6223 GB, free: 15.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 8.556e-06/1.199, allocations: 4 kB / 0.6224 GB, free: 15.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01898/1.218, allocations: 9.441 MB / 0.6316 GB, free: 6.527 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/1.218, allocations: 117.1 kB / 0.6317 GB, free: 6.395 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004181/1.222, allocations: 3.159 MB / 0.6348 GB, free: 3.262 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005982/1.223, allocations: 93.7 kB / 0.6349 GB, free: 3.164 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001912/1.225, allocations: 3.83 MB / 0.6386 GB, free: 15.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00222/1.227, allocations: 1.463 MB / 0.64 GB, free: 14.36 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002211/1.229, allocations: 1.144 MB / 0.6411 GB, free: 13.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/1.229, allocations: 309.1 kB / 0.6414 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004839/1.234, allocations: 2.845 MB / 0.6442 GB, free: 10.04 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006652/1.241, allocations: 4.904 MB / 0.649 GB, free: 4.195 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01224/1.253, allocations: 8.278 MB / 0.6571 GB, free: 10.98 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.694e-05/1.253, allocations: 20 kB / 0.6571 GB, free: 10.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01925/1.272, allocations: 9.118 MB / 0.666 GB, free: 1.828 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.56e-05/1.272, allocations: 36.62 kB / 0.666 GB, free: 1.793 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001292/1.272, allocations: 64 kB / 0.6661 GB, free: 1.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003305/1.276, allocations: 1.146 MB / 0.6672 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00517/1.281, allocations: 1.306 MB / 0.6685 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01606/1.297, allocations: 10.6 MB / 0.6789 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005106/1.302, allocations: 0.7414 MB / 0.6796 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001203/1.303, allocations: 284 kB / 0.6799 GB, free: 3.418 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.007134/1.31, allocations: 3.435 MB / 0.6832 GB, free: 15.97 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009777/1.311, allocations: 365.7 kB / 0.6836 GB, free: 15.61 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01294/1.324, allocations: 6.87 MB / 0.6903 GB, free: 8.723 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01021/1.335, allocations: 5.733 MB / 0.6959 GB, free: 2.977 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-05/1.335, allocations: 16.25 kB / 0.6959 GB, free: 2.961 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.982e-05/1.335, allocations: 19.92 kB / 0.6959 GB, free: 2.941 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03256/1.367, allocations: 15.29 MB / 0.7108 GB, free: 3.418 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.542e-05/1.367, allocations: 19.94 kB / 0.7108 GB, free: 3.398 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003362/1.371, allocations: 0.7958 MB / 0.7116 GB, free: 2.602 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003331/1.374, allocations: 1.06 MB / 0.7127 GB, free: 1.535 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008371/1.375, allocations: 112 kB / 0.7128 GB, free: 1.426 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0152/1.39, allocations: 10.37 MB / 0.7229 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.659e-05/1.39, allocations: 15.94 kB / 0.7229 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01945/1.409, allocations: 10.7 MB / 0.7334 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003425/1.413, allocations: 0.961 MB / 0.7343 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/1.414, allocations: 95.98 kB / 0.7344 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002504/1.416, allocations: 267.7 kB / 0.7346 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007569/1.417, allocations: 367.3 kB / 0.735 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003125/1.418, allocations: 152 kB / 0.7351 GB, free: 10.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003822/1.421, allocations: 2.121 MB / 0.7372 GB, free: 7.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/1.421, allocations: 0 / 0.7372 GB, free: 7.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0121/1.433, allocations: 2.255 MB / 0.7394 GB, free: 5.648 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.001882/1.435, allocations: 298.2 kB / 0.7397 GB, free: 5.348 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.3191/1.754, allocations: 7.171 MB / 0.7467 GB, free: 182.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.097e-05/1.754, allocations: 2.156 kB / 0.7467 GB, free: 182.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007417/1.762, allocations: 3.424 MB / 0.75 GB, free: 182.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004492/1.766, allocations: 0.7974 MB / 0.7508 GB, free: 182 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02967/1.796, allocations: 16 MB / 0.7664 GB, free: 175.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00672/1.803, allocations: 5.752 MB / 0.7721 GB, free: 173.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001785/1.804, allocations: 396 kB / 0.7724 GB, free: 173.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.733e-06/1.804, allocations: 0 / 0.7724 GB, free: 173.4 MB / 0.545 GB Notification: Performance of Templates: time 0.5151/2.32, allocations: 197.2 MB / 0.965 GB, free: 191.4 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (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 & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.945538548054174]