Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0009127/0.0009127, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001389/0.002301, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0009073/0.0009073, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003931/0.004839, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.032/1.032, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09514/1.128, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.522e-05, allocations: 6.312 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01164/0.01167, allocations: 15.65 MB / 260.9 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009456/0.02112, allocations: 4.943 MB / 265.8 MB, free: 8.867 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002459/0.02358, allocations: 159.2 kB / 266 MB, free: 8.711 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008495/0.03208, allocations: 7.618 MB / 273.6 MB, free: 1.059 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1217/0.1538, allocations: 2.014 MB / 275.6 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003706/0.1575, allocations: 1.513 MB / 277.1 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01138/0.1689, allocations: 9.986 MB / 287.1 MB, free: 14.67 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02604/0.195, allocations: 13.51 MB / 300.6 MB, free: 8.172 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01774/0.2127, allocations: 8.009 MB / 308.6 MB, free: 2.078 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009016/0.2217, allocations: 6.058 MB / 314.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004148/0.2259, allocations: 1.359 MB / 316 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006515/0.2324, allocations: 1.683 MB / 317.7 MB, free: 9.867 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004269/0.2366, allocations: 2.268 MB / 320 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009156/0.2458, allocations: 3.011 MB / 323 MB, free: 4.586 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01252/0.2583, allocations: 8.844 MB / 331.8 MB, free: 12.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.607e-05/0.2583, allocations: 0 / 331.8 MB, free: 12.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2583, allocations: 0 / 331.8 MB, free: 12.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004158/0.2587, allocations: 0.8125 kB / 331.8 MB, free: 12.18 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.02539/0.2841, allocations: 12.98 MB / 344.8 MB, free: 15.74 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2842, allocations: 12.62 kB / 344.8 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02724/0.3114, allocations: 6.171 MB / 351 MB, free: 9.797 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00952/0.3209, allocations: 3.103 MB / 354.1 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006848/0.3216, allocations: 0.6691 MB / 354.8 MB, free: 6.223 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00339/0.325, allocations: 0.889 MB / 355.7 MB, free: 5.348 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.017/0.342, allocations: 7.594 MB / 363.3 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001553/0.3422, allocations: 6.359 kB / 363.3 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007461/0.3429, allocations: 372.8 kB / 363.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003368/0.3432, allocations: 479.3 kB / 364.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007089/0.3503, allocations: 3.897 MB / 368 MB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04041/0.3907, allocations: 26.84 MB / 394.8 MB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003819/0.3946, allocations: 3.266 MB / 398.1 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.3958, allocations: 1.007 MB / 399.1 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002366/0.3961, allocations: 135.9 kB / 399.2 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.044e-05/0.3961, allocations: 82.22 kB / 399.3 MB, free: 10.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=409): time 6.683e-06/0.3961, allocations: 0 / 399.3 MB, free: 10.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=409): time 0.006977/0.4031, allocations: 4.052 MB / 403.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.4031, allocations: 124.8 kB / 403.5 MB, free: 6.723 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/0.4052, allocations: 2.057 MB / 405.5 MB, free: 5.051 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001959/0.4053, allocations: 93.7 kB / 405.6 MB, free: 4.953 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001463/0.4068, allocations: 3.55 MB / 409.2 MB, free: 1.504 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008791/0.4077, allocations: 1.445 MB / 410.6 MB, free: 144 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001011/0.4087, allocations: 1.032 MB / 411.7 MB, free: 15.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.161e-05/0.4088, allocations: 305.1 kB / 412 MB, free: 14.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.4098, allocations: 0.8354 MB / 412.8 MB, free: 14.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001994/0.4118, allocations: 2.66 MB / 415.5 MB, free: 10.63 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004539/0.4163, allocations: 4.222 MB / 419.7 MB, free: 5.867 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.855e-05/0.4164, allocations: 23.94 kB / 419.7 MB, free: 5.844 MB / 394.7 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.006506/0.4229, allocations: 3.921 MB / 423.6 MB, free: 2.379 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.928e-05/0.4229, allocations: 32 kB / 423.7 MB, free: 2.348 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.454e-05/0.423, allocations: 76.03 kB / 423.7 MB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002488/0.4255, allocations: 0.9525 MB / 424.7 MB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003767/0.4293, allocations: 1.327 MB / 426 MB, free: 88 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1469/0.5762, allocations: 5.75 MB / 431.8 MB, free: 93.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003544/0.5797, allocations: 0.5978 MB / 432.4 MB, free: 93.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006041/0.5803, allocations: 220.8 kB / 432.6 MB, free: 93.7 MB / 394.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.002455/0.5828, allocations: 0.4906 MB / 433.1 MB, free: 93.58 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007446/0.5835, allocations: 338.6 kB / 433.4 MB, free: 93.58 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004895/0.5884, allocations: 2.921 MB / 436.3 MB, free: 93.37 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002651/0.5911, allocations: 1.907 MB / 438.2 MB, free: 93.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.67e-05/0.5911, allocations: 10.81 kB / 438.2 MB, free: 93.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.713e-05/0.5911, allocations: 24.36 kB / 438.3 MB, free: 93.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/0.6016, allocations: 8.21 MB / 446.5 MB, free: 92.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/0.6016, allocations: 13.44 kB / 446.5 MB, free: 92.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001591/0.6032, allocations: 0.771 MB / 447.3 MB, free: 92.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/0.6044, allocations: 0.5676 MB / 447.8 MB, free: 91.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001727/0.6062, allocations: 0.8989 MB / 448.7 MB, free: 91.83 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001758/0.6063, allocations: 100.8 kB / 448.8 MB, free: 91.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004969/0.6113, allocations: 5.586 MB / 454.4 MB, free: 89.15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.416e-05/0.6113, allocations: 19.31 kB / 454.4 MB, free: 89.15 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004439/0.6158, allocations: 4.138 MB / 458.6 MB, free: 87.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000513/0.6163, allocations: 94.2 kB / 458.7 MB, free: 87.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.6173, allocations: 118.3 kB / 458.8 MB, free: 87.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005153/0.6178, allocations: 353.8 kB / 459.1 MB, free: 87.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001885/0.618, allocations: 108.3 kB / 459.2 MB, free: 87.96 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001152/0.6191, allocations: 0.9124 MB / 460.1 MB, free: 87.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6191, allocations: 4.031 kB / 460.1 MB, free: 87.87 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00475/0.6239, allocations: 2.262 MB / 462.4 MB, free: 87.34 MB / 394.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.0005495/0.6244, allocations: 269.6 kB / 462.7 MB, free: 87.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004635/0.6291, allocations: 3.554 MB / 466.2 MB, free: 86.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001601/0.6292, allocations: 106.5 kB / 466.3 MB, free: 86.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002792/0.632, allocations: 2.518 MB / 468.8 MB, free: 86.26 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003866/0.6359, allocations: 5.856 MB / 474.7 MB, free: 80.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04838/0.6843, allocations: 14.01 MB / 488.7 MB, free: 68.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001931/0.6862, allocations: 1.838 MB / 490.5 MB, free: 67.66 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001741/0.6879, allocations: 0.5818 MB / 491.1 MB, free: 67.21 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/0.689, allocations: 0.7118 MB / 491.8 MB, free: 66.57 MB / 394.7 MB Notification: Performance of SimCode: time 1.763e-06/0.689, allocations: 0 / 491.8 MB, free: 66.57 MB / 394.7 MB Notification: Performance of Templates: time 0.07601/0.765, allocations: 62.13 MB / 0.541 GB, free: 5.902 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.242896493524313]