Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001114/0.002131, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006396/0.0006396, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008428/0.001482, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.008/1.008, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08387/1.092, allocations: 52.5 MB / 238.3 MB, free: 4.426 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.748e-06/1.103e-05, allocations: 6.312 kB / 239.5 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01381/0.01382, allocations: 15.63 MB / 255.2 MB, free: 3.461 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008451/0.02227, allocations: 4.888 MB / 260.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009943/0.02327, allocations: 159.2 kB / 260.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008406/0.03167, allocations: 7.618 MB / 267.8 MB, free: 6.746 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003442/0.03512, allocations: 2.054 MB / 269.9 MB, free: 4.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01114/0.04626, allocations: 1.504 MB / 271.4 MB, free: 3.172 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1509/0.1971, allocations: 9.879 MB / 281.3 MB, free: 412 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0154/0.2125, allocations: 13.5 MB / 294.8 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008051/0.2206, allocations: 8.011 MB / 302.8 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009003/0.2296, allocations: 6.027 MB / 308.8 MB, free: 4.672 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004335/0.2339, allocations: 1.359 MB / 310.2 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006344/0.2402, allocations: 1.655 MB / 311.8 MB, free: 1.734 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003773/0.244, allocations: 2.433 MB / 314.3 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003997/0.248, allocations: 3.011 MB / 317.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006446/0.2545, allocations: 8.853 MB / 326.1 MB, free: 4.484 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.229e-05/0.2545, allocations: 4 kB / 326.1 MB, free: 4.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2545, allocations: 0 / 326.1 MB, free: 4.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002896/0.2548, allocations: 2.031 kB / 326.1 MB, free: 4.48 MB / 298.7 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.01541/0.2702, allocations: 12.97 MB / 339.1 MB, free: 8.059 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.686e-05/0.2702, allocations: 12.03 kB / 339.1 MB, free: 8.047 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01559/0.2858, allocations: 6.22 MB / 345.3 MB, free: 2.062 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005754/0.2915, allocations: 3.092 MB / 348.4 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003262/0.2919, allocations: 0.6655 MB / 349.1 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001175/0.293, allocations: 0.8796 MB / 350 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008828/0.3019, allocations: 7.573 MB / 357.6 MB, free: 6.375 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001218/0.302, allocations: 7 kB / 357.6 MB, free: 6.371 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007417/0.3027, allocations: 374 kB / 357.9 MB, free: 6.016 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003042/0.303, allocations: 0.4888 MB / 358.4 MB, free: 5.523 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004982/0.308, allocations: 3.871 MB / 362.3 MB, free: 1.598 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02779/0.3358, allocations: 26.78 MB / 389.1 MB, free: 7.629 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003414/0.3392, allocations: 3.268 MB / 392.3 MB, free: 4.441 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.3403, allocations: 1.014 MB / 393.3 MB, free: 3.465 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002149/0.3405, allocations: 111.9 kB / 393.5 MB, free: 3.355 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.978e-05/0.3405, allocations: 82.41 kB / 393.5 MB, free: 3.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=409): time 5.43e-06/0.3405, allocations: 0 / 393.5 MB, free: 3.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=409): time 0.007155/0.3477, allocations: 4.026 MB / 397.6 MB, free: 15.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.3478, allocations: 121.1 kB / 397.7 MB, free: 15.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/0.3493, allocations: 2.067 MB / 399.7 MB, free: 13.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001735/0.3495, allocations: 89.7 kB / 399.8 MB, free: 13.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001572/0.3511, allocations: 3.547 MB / 403.4 MB, free: 9.938 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007198/0.3518, allocations: 1.447 MB / 404.8 MB, free: 8.574 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009456/0.3527, allocations: 1.023 MB / 405.9 MB, free: 7.652 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.673e-05/0.3528, allocations: 305.1 kB / 406.2 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009426/0.3538, allocations: 0.8315 MB / 407 MB, free: 6.512 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/0.3557, allocations: 2.652 MB / 409.6 MB, free: 3.082 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1393/0.495, allocations: 3.994 MB / 413.6 MB, free: 84.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-05/0.4951, allocations: 20.97 kB / 413.7 MB, free: 84.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.007093/0.5022, allocations: 3.908 MB / 417.6 MB, free: 84.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.836e-05/0.5022, allocations: 38.2 kB / 417.6 MB, free: 84.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001296/0.5024, allocations: 66.41 kB / 417.7 MB, free: 84.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002631/0.505, allocations: 0.9638 MB / 418.6 MB, free: 84.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002878/0.5079, allocations: 1.304 MB / 419.9 MB, free: 84.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005615/0.5135, allocations: 5.79 MB / 425.7 MB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/0.5159, allocations: 0.6022 MB / 426.3 MB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002816/0.5162, allocations: 221.7 kB / 426.5 MB, free: 81.5 MB / 378.7 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.002304/0.5185, allocations: 0.4893 MB / 427 MB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004814/0.519, allocations: 341.8 kB / 427.4 MB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003605/0.5226, allocations: 2.936 MB / 430.3 MB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002329/0.5249, allocations: 1.885 MB / 432.2 MB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.618e-05/0.5249, allocations: 10.44 kB / 432.2 MB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.63e-05/0.525, allocations: 24.52 kB / 432.2 MB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.5353, allocations: 8.201 MB / 440.4 MB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.082e-05/0.5353, allocations: 15.41 kB / 440.4 MB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/0.5369, allocations: 0.7552 MB / 441.2 MB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008869/0.5378, allocations: 0.5592 MB / 441.7 MB, free: 79.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001751/0.5396, allocations: 0.878 MB / 442.6 MB, free: 79.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001683/0.5397, allocations: 97.23 kB / 442.7 MB, free: 79.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004854/0.5446, allocations: 5.635 MB / 448.4 MB, free: 76.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.246e-05/0.5446, allocations: 18.59 kB / 448.4 MB, free: 76.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004673/0.5493, allocations: 4.097 MB / 452.5 MB, free: 75.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004096/0.5497, allocations: 92.33 kB / 452.6 MB, free: 75.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009296/0.5506, allocations: 128.7 kB / 452.7 MB, free: 75.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004012/0.551, allocations: 348.2 kB / 453 MB, free: 75.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/0.5512, allocations: 108.2 kB / 453.1 MB, free: 75.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009847/0.5522, allocations: 0.912 MB / 454 MB, free: 75.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5522, allocations: 0 / 454 MB, free: 75.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00461/0.5568, allocations: 2.252 MB / 456.3 MB, free: 75.1 MB / 378.7 MB 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.0004778/0.5572, allocations: 293.2 kB / 456.6 MB, free: 75.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004147/0.5614, allocations: 3.448 MB / 460 MB, free: 72.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001482/0.5615, allocations: 105.9 kB / 460.1 MB, free: 72.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001808/0.5634, allocations: 1.92 MB / 462.1 MB, free: 71.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/0.5654, allocations: 1.101 MB / 463.2 MB, free: 70.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04709/0.6125, allocations: 14.1 MB / 477.3 MB, free: 57.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001779/0.6143, allocations: 1.876 MB / 479.1 MB, free: 56.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002023/0.6163, allocations: 0.6412 MB / 479.8 MB, free: 55.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/0.6177, allocations: 0.8055 MB / 480.6 MB, free: 55.14 MB / 378.7 MB Notification: Performance of SimCode: time 2.195e-06/0.6177, allocations: 0 / 480.6 MB, free: 55.14 MB / 378.7 MB Notification: Performance of Templates: time 0.073/0.6907, allocations: 61.98 MB / 0.5298 GB, free: 9.926 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.29770868178457]