Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.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.001514/0.001514, allocations: 113 kB / 21.18 MB, free: 0.5898 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.001811/0.001811, allocations: 209.7 kB / 24.47 MB, free: 3.996 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.375/1.375, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.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.001818/0.001818, allocations: 67.84 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2299, allocations: 53.31 MB / 432 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009793/0.2396, allocations: 7.93 MB / 440 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00488/0.2445, allocations: 2.511 MB / 442.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008894/0.2454, allocations: 55.81 kB / 442.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.2465, allocations: 456.9 kB / 443 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002347/0.2488, allocations: 0.8852 MB / 443.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009309/0.2498, allocations: 403.1 kB / 444.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003911/0.2537, allocations: 3.241 MB / 447.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002089/0.2558, allocations: 1.585 MB / 449.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001849/0.2576, allocations: 1.429 MB / 450.5 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002358/0.26, allocations: 1.716 MB / 452.2 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004931/0.2605, allocations: 360 kB / 452.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009407/0.2614, allocations: 487.8 kB / 453.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008236/0.2622, allocations: 0.9153 MB / 454 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001705/0.2639, allocations: 1.618 MB / 455.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005418/0.2694, allocations: 4.714 MB / 460.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2694, allocations: 0 / 460.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2694, allocations: 0 / 460.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001073/0.2695, allocations: 4 kB / 460.3 MB, free: 10.95 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.008723/0.2782, allocations: 3.723 MB / 464 MB, free: 7.164 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.2782, allocations: 8.031 kB / 464 MB, free: 7.156 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003966/0.2822, allocations: 0.7445 MB / 464.8 MB, free: 6.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003665/0.2859, allocations: 1.851 MB / 466.6 MB, free: 4.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001618/0.286, allocations: 201.7 kB / 466.8 MB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004066/0.2864, allocations: 264.1 kB / 467.1 MB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00605/0.2925, allocations: 3.622 MB / 470.7 MB, free: 376 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.727e-05/0.2925, allocations: 0 / 470.7 MB, free: 376 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002612/0.2928, allocations: 112 kB / 470.8 MB, free: 264 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.887e-05/0.2929, allocations: 97.41 kB / 470.9 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005318/0.2982, allocations: 3.105 MB / 474 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0172/0.3154, allocations: 10.27 MB / 484.3 MB, free: 2.434 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005264/0.3207, allocations: 4.471 MB / 488.8 MB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.3221, allocations: 0.8721 MB / 489.6 MB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004444/0.3266, allocations: 2.655 MB / 492.3 MB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/0.3266, allocations: 51.44 kB / 492.3 MB, free: 9.578 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 2.475e-06/0.3266, allocations: 0 / 492.3 MB, free: 9.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.006174/0.3328, allocations: 2.654 MB / 495 MB, free: 6.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.3328, allocations: 93.92 kB / 495.1 MB, free: 6.766 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/0.3348, allocations: 1.4 MB / 496.5 MB, free: 5.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.964e-05/0.3349, allocations: 45.7 kB / 496.5 MB, free: 5.305 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008998/0.3358, allocations: 1.207 MB / 497.7 MB, free: 4.086 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003169/0.3361, allocations: 380.8 kB / 498.1 MB, free: 3.711 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003416/0.3364, allocations: 218.9 kB / 498.3 MB, free: 3.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3366, allocations: 353.9 kB / 498.7 MB, free: 3.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009549/0.3376, allocations: 0.5647 MB / 499.2 MB, free: 2.574 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.3387, allocations: 0.8458 MB / 0.4884 GB, free: 1.617 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002127/0.3409, allocations: 1.461 MB / 0.4898 GB, free: 40 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.922e-06/0.3409, allocations: 0 / 0.4898 GB, free: 40 kB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003382/0.3442, allocations: 1.957 MB / 0.4917 GB, free: 14.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.3443, allocations: 8 kB / 0.4917 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.3443, allocations: 12.22 kB / 0.4917 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009346/0.3452, allocations: 405.2 kB / 0.4921 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000807/0.346, allocations: 215.6 kB / 0.4923 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007912/0.3539, allocations: 6.541 MB / 0.4987 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009274/0.3549, allocations: 147 kB / 0.4988 GB, free: 6.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.388e-05/0.3549, allocations: 47.98 kB / 0.4989 GB, free: 6.434 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001406/0.3564, allocations: 0.8683 MB / 0.4997 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/0.3566, allocations: 143.1 kB / 0.4999 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002948/0.3596, allocations: 1.644 MB / 0.5015 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.3596, allocations: 8 kB / 0.5015 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.3596, allocations: 8 kB / 0.5015 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.3596, allocations: 7.984 kB / 0.5015 GB, free: 3.734 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006463/0.3661, allocations: 3.911 MB / 0.5053 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.3661, allocations: 4 kB / 0.5053 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005609/0.3666, allocations: 135.8 kB / 0.5054 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000888/0.3675, allocations: 392.4 kB / 0.5058 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.02e-05/0.3676, allocations: 31.98 kB / 0.5059 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007743/0.3753, allocations: 6.525 MB / 0.5122 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3753, allocations: 8.094 kB / 0.5122 GB, free: 8.375 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00396/0.3793, allocations: 2.47 MB / 0.5146 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004258/0.3797, allocations: 252 kB / 0.5149 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.3799, allocations: 31.98 kB / 0.5149 GB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007344/0.3806, allocations: 83.86 kB / 0.515 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/0.3808, allocations: 96.67 kB / 0.5151 GB, free: 5.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.89e-05/0.3809, allocations: 35.98 kB / 0.5151 GB, free: 5.352 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001351/0.3822, allocations: 0.9795 MB / 0.5161 GB, free: 4.367 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3822, allocations: 0 / 0.5161 GB, free: 4.367 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001701/0.3839, allocations: 0.6852 MB / 0.5167 GB, free: 3.68 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,loss_m.Phi.re,loss_m.Phi.im) * 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003009/0.3842, allocations: 166.1 kB / 0.5169 GB, free: 3.508 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003005/0.3872, allocations: 1.741 MB / 0.5186 GB, free: 1.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.3872, allocations: 4 kB / 0.5186 GB, free: 1.727 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001789/0.389, allocations: 1.083 MB / 0.5197 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.3905, allocations: 308.4 kB / 0.52 GB, free: 328 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007169/0.3976, allocations: 4.653 MB / 0.5245 GB, free: 11.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00189/0.3995, allocations: 2.124 MB / 0.5266 GB, free: 9.441 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000329/0.3998, allocations: 99.41 kB / 0.5267 GB, free: 9.344 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3998, allocations: 0 / 0.5267 GB, free: 9.344 MB / 446.1 MB Notification: Performance of Templates: time 0.2363/0.6361, allocations: 53.69 MB / 0.5791 GB, free: 64.28 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.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: 10.349195772781968]