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.001093/0.001093, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001115/0.001115, allocations: 140.5 kB / 24.89 MB, free: 9.215 MB / 18.57 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 0.9246/0.9246, allocations: 173.4 MB / 201.5 MB, free: 9.211 MB / 186.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.332e-06/1.332e-06, allocations: 0 / 268.5 MB, free: 6.156 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/1.982e-05, allocations: 2.312 kB / 268.5 MB, free: 6.152 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01121/0.01123, allocations: 15.53 MB / 284.1 MB, free: 6.543 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009216/0.02045, allocations: 4.861 MB / 288.9 MB, free: 1.664 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00253/0.02298, allocations: 155.2 kB / 289.1 MB, free: 1.512 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1203/0.1433, allocations: 7.592 MB / 296.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005149/0.1484, allocations: 2.061 MB / 298.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0023/0.1507, allocations: 1.507 MB / 300.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008007/0.1587, allocations: 9.851 MB / 310.1 MB, free: 9.832 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0161/0.1748, allocations: 13.84 MB / 323.9 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01325/0.1881, allocations: 7.848 MB / 331.8 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008725/0.1968, allocations: 6.043 MB / 337.8 MB, free: 1.914 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003612/0.2004, allocations: 1.359 MB / 339.2 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004795/0.2052, allocations: 1.655 MB / 340.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003555/0.2088, allocations: 2.895 MB / 343.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006853/0.2156, allocations: 3.649 MB / 347.4 MB, free: 8.734 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01196/0.2276, allocations: 9.404 MB / 356.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.2276, allocations: 0 / 356.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2276, allocations: 4 kB / 356.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004346/0.228, allocations: 0 / 356.8 MB, free: 15.84 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.019/0.247, allocations: 11.14 MB / 367.9 MB, free: 5.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.2471, allocations: 8.922 kB / 367.9 MB, free: 5.223 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02016/0.2672, allocations: 6.219 MB / 374.1 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006889/0.2741, allocations: 3.088 MB / 377.2 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004745/0.2746, allocations: 0.6665 MB / 377.9 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002321/0.2769, allocations: 0.8857 MB / 378.8 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01644/0.2934, allocations: 7.563 MB / 386.3 MB, free: 3.004 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001875/0.2935, allocations: 7.953 kB / 386.4 MB, free: 2.996 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001098/0.2946, allocations: 376 kB / 386.7 MB, free: 2.629 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003216/0.295, allocations: 495.3 kB / 387.2 MB, free: 2.141 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007477/0.3024, allocations: 3.874 MB / 391.1 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0379/0.3403, allocations: 26.64 MB / 417.7 MB, free: 3.055 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003799/0.3441, allocations: 3.219 MB / 420.9 MB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.3454, allocations: 1.004 MB / 421.9 MB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002314/0.3456, allocations: 107.9 kB / 422 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.245e-05/0.3457, allocations: 82.55 kB / 422.1 MB, free: 14.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=409): time 6.522e-06/0.3457, allocations: 4 kB / 422.1 MB, free: 14.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=409): time 0.007165/0.3528, allocations: 4.036 MB / 426.2 MB, free: 10.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.3529, allocations: 121.1 kB / 426.3 MB, free: 10.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/0.3549, allocations: 2.058 MB / 428.3 MB, free: 8.395 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001904/0.355, allocations: 89.7 kB / 428.4 MB, free: 8.301 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001424/0.3565, allocations: 3.553 MB / 432 MB, free: 4.711 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00093/0.3574, allocations: 1.448 MB / 433.4 MB, free: 3.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001472/0.3589, allocations: 1.023 MB / 434.5 MB, free: 2.215 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.82e-05/0.3589, allocations: 305.1 kB / 434.8 MB, free: 1.914 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.36, allocations: 0.8198 MB / 435.6 MB, free: 1.086 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.237/0.597, allocations: 2.653 MB / 438.2 MB, free: 94.18 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004366/0.6014, allocations: 3.996 MB / 442.2 MB, free: 91.71 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.413e-05/0.6015, allocations: 22.22 kB / 442.2 MB, free: 91.71 MB / 378.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.007225/0.6087, allocations: 3.908 MB / 446.2 MB, free: 91.5 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.557e-05/0.6088, allocations: 35.31 kB / 446.2 MB, free: 91.5 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.569e-05/0.6088, allocations: 66 kB / 446.3 MB, free: 91.5 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001923/0.6108, allocations: 0.9655 MB / 447.2 MB, free: 91.44 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002573/0.6133, allocations: 1.21 MB / 448.4 MB, free: 91.44 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005669/0.619, allocations: 5.791 MB / 454.2 MB, free: 88.81 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003035/0.622, allocations: 0.6004 MB / 454.8 MB, free: 88.81 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004021/0.6224, allocations: 220.9 kB / 455 MB, free: 88.81 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.001651/0.6241, allocations: 0.4898 MB / 455.5 MB, free: 88.69 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004724/0.6246, allocations: 338 kB / 455.9 MB, free: 88.69 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003587/0.6281, allocations: 2.942 MB / 458.8 MB, free: 88.45 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002315/0.6305, allocations: 1.889 MB / 460.7 MB, free: 88.29 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.712e-05/0.6305, allocations: 11.81 kB / 460.7 MB, free: 88.29 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.343e-05/0.6305, allocations: 22.31 kB / 460.7 MB, free: 88.29 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.6413, allocations: 8.191 MB / 468.9 MB, free: 87.16 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/0.6413, allocations: 14.69 kB / 468.9 MB, free: 87.16 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/0.6428, allocations: 0.6956 MB / 469.6 MB, free: 87.16 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00186/0.6447, allocations: 0.8827 MB / 470.5 MB, free: 87.11 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003428/0.645, allocations: 99.19 kB / 470.6 MB, free: 87.11 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005144/0.6502, allocations: 5.675 MB / 476.3 MB, free: 84.48 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/0.6502, allocations: 22.34 kB / 476.3 MB, free: 84.48 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004949/0.6551, allocations: 4.096 MB / 480.4 MB, free: 81.5 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/0.6563, allocations: 0.561 MB / 481 MB, free: 81.09 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003263/0.6567, allocations: 95.11 kB / 481 MB, free: 81.04 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009197/0.6576, allocations: 130.5 kB / 481.2 MB, free: 80.92 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004858/0.6581, allocations: 352 kB / 481.5 MB, free: 80.74 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/0.6582, allocations: 106.4 kB / 481.6 MB, free: 80.65 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.0009511/0.6592, allocations: 0.9128 MB / 482.5 MB, free: 80.01 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6592, allocations: 0 / 482.5 MB, free: 80.01 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004822/0.664, allocations: 2.248 MB / 484.8 MB, free: 78 MB / 378.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.000557/0.6646, allocations: 289.9 kB / 485.1 MB, free: 77.78 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.004235/0.6688, allocations: 3.444 MB / 488.5 MB, free: 74.65 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001024/0.6689, allocations: 60.48 kB / 488.6 MB, free: 74.59 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002362/0.6713, allocations: 1.918 MB / 490.5 MB, free: 72.8 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/0.6739, allocations: 0.7984 MB / 491.3 MB, free: 72.04 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0177/0.6916, allocations: 13.07 MB / 0.4925 GB, free: 58.84 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002024/0.6936, allocations: 1.799 MB / 0.4943 GB, free: 57.01 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002/0.6956, allocations: 0.6479 MB / 0.4949 GB, free: 56.36 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/0.6971, allocations: 0.7998 MB / 0.4957 GB, free: 55.55 MB / 378.8 MB Notification: Performance of SimCode: time 2.685e-06/0.6971, allocations: 0 / 0.4957 GB, free: 55.55 MB / 378.8 MB Notification: Performance of Templates: time 0.0735/0.7706, allocations: 59.96 MB / 0.5543 GB, free: 12.41 MB / 394.8 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 -s gbode -gbm=radauIIA3 -emit_protected -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.474224925972521]