Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002575/0.002575, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002868/0.002868, allocations: 161.6 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.538/1.538, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.817e-05, allocations: 2.312 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.02192/0.02195, allocations: 16 MB / 288.3 MB, free: 1.758 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1244/0.1464, allocations: 4.655 MB / 293 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003178/0.1496, allocations: 157.2 kB / 293.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0162/0.1658, allocations: 7.67 MB / 300.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006768/0.1725, allocations: 2.036 MB / 302.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003955/0.1765, allocations: 1.534 MB / 304.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01118/0.1877, allocations: 9.916 MB / 314.3 MB, free: 6.023 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02364/0.2113, allocations: 13.51 MB / 327.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01679/0.2281, allocations: 7.804 MB / 335.6 MB, free: 2.691 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01163/0.2397, allocations: 5.786 MB / 341.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003994/0.2437, allocations: 1.359 MB / 342.8 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00602/0.2498, allocations: 1.661 MB / 344.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004517/0.2543, allocations: 2.91 MB / 347.3 MB, free: 7.383 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008057/0.2623, allocations: 3.641 MB / 351 MB, free: 3.734 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0256/0.2879, allocations: 18.79 MB / 369.8 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2879, allocations: 0 / 369.8 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2879, allocations: 0 / 369.8 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004346/0.2884, allocations: 4 kB / 369.8 MB, free: 0.8867 MB / 314.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.03888/0.3272, allocations: 13.89 MB / 383.6 MB, free: 2.914 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.3273, allocations: 8.031 kB / 383.7 MB, free: 2.906 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03806/0.3653, allocations: 7.627 MB / 391.3 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01507/0.3804, allocations: 5.491 MB / 396.8 MB, free: 5.699 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007563/0.3812, allocations: 0.6743 MB / 397.4 MB, free: 5.023 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003202/0.3844, allocations: 0.8827 MB / 398.3 MB, free: 4.141 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03624/0.4206, allocations: 15.11 MB / 413.4 MB, free: 4.918 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002194/0.4208, allocations: 0 / 413.4 MB, free: 4.918 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001209/0.4221, allocations: 372 kB / 413.8 MB, free: 4.555 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005745/0.4226, allocations: 0.4915 MB / 414.3 MB, free: 4.059 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0258/0.4484, allocations: 12 MB / 426.3 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.319/0.7674, allocations: 56.77 MB / 483.1 MB, free: 76.05 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008189/0.7756, allocations: 5.502 MB / 488.6 MB, free: 70.76 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003089/0.7787, allocations: 2.485 MB / 491.1 MB, free: 68.27 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000319/0.779, allocations: 135.9 kB / 491.2 MB, free: 68.14 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.779, allocations: 85.33 kB / 491.3 MB, free: 68.05 MB / 378.8 MB Notification: Performance of pre-optimization done (n=409): time 7.123e-06/0.779, allocations: 0 / 491.3 MB, free: 68.05 MB / 378.8 MB Notification: Performance of matching and sorting (n=409): time 0.0168/0.7958, allocations: 8.409 MB / 499.7 MB, free: 59.64 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.7959, allocations: 125.1 kB / 499.8 MB, free: 59.5 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005129/0.801, allocations: 4.571 MB / 0.4925 GB, free: 54.98 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003787/0.8014, allocations: 93.7 kB / 0.4926 GB, free: 54.88 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002175/0.8036, allocations: 4.247 MB / 0.4968 GB, free: 51.25 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001153/0.8047, allocations: 1.563 MB / 0.4983 GB, free: 49.88 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001661/0.8064, allocations: 1.463 MB / 0.4997 GB, free: 48.39 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 6.092e-05/0.8064, allocations: 476.8 kB / 0.5002 GB, free: 47.93 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002781/0.8092, allocations: 2.326 MB / 0.5025 GB, free: 45.59 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003827/0.8131, allocations: 5.592 MB / 0.5079 GB, free: 38.71 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007343/0.8204, allocations: 8.781 MB / 0.5165 GB, free: 28.65 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.971e-05/0.8204, allocations: 20 kB / 0.5165 GB, free: 28.63 MB / 378.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01125/0.8317, allocations: 8.413 MB / 0.5247 GB, free: 20.2 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.887e-05/0.8318, allocations: 36 kB / 0.5248 GB, free: 20.17 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.346e-05/0.8318, allocations: 64 kB / 0.5248 GB, free: 20.11 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003826/0.8356, allocations: 1.35 MB / 0.5262 GB, free: 18.75 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004342/0.84, allocations: 1.295 MB / 0.5274 GB, free: 17.45 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/0.8521, allocations: 11.55 MB / 0.5387 GB, free: 5.664 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004313/0.8564, allocations: 0.7452 MB / 0.5394 GB, free: 4.914 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007076/0.8571, allocations: 284 kB / 0.5397 GB, free: 4.637 MB / 378.8 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.004396/0.8615, allocations: 3.164 MB / 0.5428 GB, free: 1.457 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009249/0.8624, allocations: 0.4898 MB / 0.5433 GB, free: 0.9648 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/0.875, allocations: 5.993 MB / 0.5491 GB, free: 10.94 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01027/0.8853, allocations: 4.95 MB / 0.5539 GB, free: 5.977 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.394e-05/0.8853, allocations: 12 kB / 0.554 GB, free: 5.965 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.63e-05/0.8854, allocations: 23.91 kB / 0.554 GB, free: 5.941 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03831/0.9237, allocations: 16.02 MB / 0.5696 GB, free: 5.715 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.09e-05/0.9237, allocations: 12 kB / 0.5696 GB, free: 5.703 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003624/0.9273, allocations: 0.7957 MB / 0.5704 GB, free: 4.906 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004716/0.932, allocations: 1.264 MB / 0.5716 GB, free: 3.633 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008743/0.9329, allocations: 112 kB / 0.5718 GB, free: 3.523 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1674/1.1, allocations: 11.29 MB / 0.5828 GB, free: 114.7 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.549e-05/1.1, allocations: 23.28 kB / 0.5828 GB, free: 114.7 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01558/1.116, allocations: 9.505 MB / 0.5921 GB, free: 113.2 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002929/1.119, allocations: 0.8596 MB / 0.5929 GB, free: 113 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008043/1.12, allocations: 101.2 kB / 0.593 GB, free: 113 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002419/1.122, allocations: 275 kB / 0.5933 GB, free: 113 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007064/1.123, allocations: 361.6 kB / 0.5936 GB, free: 113 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002559/1.123, allocations: 152.4 kB / 0.5938 GB, free: 113 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003075/1.126, allocations: 2.32 MB / 0.596 GB, free: 112.8 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/1.126, allocations: 0 / 0.596 GB, free: 112.8 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.006331/1.132, allocations: 2.253 MB / 0.5982 GB, free: 112.5 MB / 410.8 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.000828/1.133, allocations: 295.2 kB / 0.5985 GB, free: 112.4 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01119/1.144, allocations: 6.989 MB / 0.6053 GB, free: 111 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.172e-05/1.144, allocations: 5.781 kB / 0.6053 GB, free: 111 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005388/1.15, allocations: 3.46 MB / 0.6087 GB, free: 109.6 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004105/1.154, allocations: 0.8145 MB / 0.6095 GB, free: 109.3 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02115/1.175, allocations: 15.16 MB / 0.6243 GB, free: 97.74 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004278/1.179, allocations: 4.92 MB / 0.6291 GB, free: 92.82 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.004942/1.184, allocations: 1.818 MB / 0.6309 GB, free: 90.99 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001467/1.186, allocations: 344.4 kB / 0.6312 GB, free: 90.66 MB / 410.8 MB Notification: Performance of SimCode: time 1.493e-06/1.186, allocations: 4 kB / 0.6312 GB, free: 90.66 MB / 410.8 MB Notification: Performance of Templates: time 0.08398/1.27, allocations: 55.27 MB / 0.6852 GB, free: 36.08 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.919266529963352]