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.001012/0.001012, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001482/0.002494, allocations: 445.8 kB / 10.44 MB, free: 256 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.0009801/0.0009801, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001373/0.002353, allocations: 475.6 kB / 11.8 MB, free: 2.367 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 0.9541/0.9541, allocations: 173.4 MB / 185.9 MB, free: 8.926 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07495/1.029, allocations: 52.5 MB / 238.4 MB, free: 4.367 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.182e-06/1.182e-06, allocations: 0 / 239.7 MB, free: 3.086 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/1.983e-05, allocations: 3.438 kB / 239.7 MB, free: 3.082 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.0108/0.01082, allocations: 15.64 MB / 255.4 MB, free: 3.367 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007015/0.01783, allocations: 4.885 MB / 260.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.01928, allocations: 159.2 kB / 260.4 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006712/0.02599, allocations: 7.634 MB / 268 MB, free: 6.641 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003431/0.02942, allocations: 2.047 MB / 270.1 MB, free: 4.582 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.03124, allocations: 1.504 MB / 271.6 MB, free: 3.074 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0972/0.1284, allocations: 9.869 MB / 281.5 MB, free: 396 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01381/0.1422, allocations: 13.5 MB / 295 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007548/0.1498, allocations: 8.022 MB / 303 MB, free: 8.414 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00535/0.1551, allocations: 6.025 MB / 309 MB, free: 4.547 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001576/0.1567, allocations: 1.355 MB / 310.4 MB, free: 3.191 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001993/0.1587, allocations: 1.657 MB / 312 MB, free: 1.609 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002682/0.1614, allocations: 2.424 MB / 314.5 MB, free: 15.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002476/0.1639, allocations: 3.007 MB / 317.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005919/0.1698, allocations: 8.838 MB / 326.3 MB, free: 4.383 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.1698, allocations: 4 kB / 326.3 MB, free: 4.379 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1698, allocations: 0 / 326.3 MB, free: 4.379 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.728e-05/0.1699, allocations: 0 / 326.3 MB, free: 4.379 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.0136/0.1835, allocations: 12.97 MB / 339.3 MB, free: 7.961 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.1835, allocations: 8.031 kB / 339.3 MB, free: 7.953 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01571/0.1992, allocations: 6.205 MB / 345.5 MB, free: 1.984 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004128/0.2034, allocations: 3.094 MB / 348.6 MB, free: 15.08 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002971/0.2037, allocations: 0.6725 MB / 349.3 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008989/0.2046, allocations: 0.8792 MB / 350.1 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007459/0.212, allocations: 7.568 MB / 357.7 MB, free: 6.289 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001192/0.2121, allocations: 10.38 kB / 357.7 MB, free: 6.281 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005976/0.2127, allocations: 368.8 kB / 358.1 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002955/0.213, allocations: 479.3 kB / 358.5 MB, free: 5.457 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006478/0.2195, allocations: 3.875 MB / 362.4 MB, free: 1.531 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03215/0.2517, allocations: 26.79 MB / 389.2 MB, free: 7.562 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004563/0.2562, allocations: 3.266 MB / 392.5 MB, free: 4.375 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.2576, allocations: 1.014 MB / 393.5 MB, free: 3.398 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002646/0.2579, allocations: 118.3 kB / 393.6 MB, free: 3.285 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.189e-05/0.2579, allocations: 78.56 kB / 393.7 MB, free: 3.199 MB / 362.7 MB Notification: Performance of pre-optimization done (n=409): time 7.174e-06/0.258, allocations: 0 / 393.7 MB, free: 3.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=409): time 0.009252/0.2672, allocations: 4.022 MB / 397.7 MB, free: 15.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.2673, allocations: 125.1 kB / 397.8 MB, free: 15.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/0.2691, allocations: 2.06 MB / 399.9 MB, free: 13.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001933/0.2693, allocations: 93.7 kB / 400 MB, free: 13.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001644/0.2709, allocations: 3.554 MB / 403.5 MB, free: 9.867 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008906/0.2718, allocations: 1.44 MB / 405 MB, free: 8.508 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001325/0.2731, allocations: 1.024 MB / 406 MB, free: 7.586 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.2732, allocations: 305.1 kB / 406.3 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.2745, allocations: 0.8276 MB / 407.1 MB, free: 6.449 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002105/0.2766, allocations: 2.661 MB / 409.8 MB, free: 3.012 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.147/0.4236, allocations: 4.191 MB / 414 MB, free: 84.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-05/0.4237, allocations: 22.94 kB / 414 MB, free: 84.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.009017/0.4327, allocations: 3.907 MB / 417.9 MB, free: 84.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.459e-05/0.4328, allocations: 35.78 kB / 417.9 MB, free: 84.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.407e-05/0.4328, allocations: 66.39 kB / 418 MB, free: 84.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002137/0.435, allocations: 0.9667 MB / 419 MB, free: 84.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00292/0.4379, allocations: 1.313 MB / 420.3 MB, free: 84.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005382/0.4433, allocations: 5.754 MB / 426 MB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002579/0.4459, allocations: 0.6026 MB / 426.6 MB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006231/0.4465, allocations: 221.8 kB / 426.8 MB, free: 81.88 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.001966/0.4485, allocations: 489.9 kB / 427.3 MB, free: 81.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005546/0.449, allocations: 341.7 kB / 427.7 MB, free: 81.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004108/0.4531, allocations: 2.943 MB / 430.6 MB, free: 81.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002852/0.456, allocations: 1.886 MB / 432.5 MB, free: 81.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.263e-05/0.456, allocations: 12.22 kB / 432.5 MB, free: 81.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.658e-05/0.4561, allocations: 18.61 kB / 432.5 MB, free: 81.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01399/0.47, allocations: 8.197 MB / 440.7 MB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.348e-05/0.4701, allocations: 16.56 kB / 440.7 MB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/0.4718, allocations: 0.7581 MB / 441.5 MB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/0.4733, allocations: 0.56 MB / 442.1 MB, free: 80.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001809/0.4751, allocations: 0.8863 MB / 442.9 MB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004962/0.4756, allocations: 95.27 kB / 443 MB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004864/0.4805, allocations: 5.597 MB / 448.6 MB, free: 77.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.257e-05/0.4805, allocations: 21.53 kB / 448.6 MB, free: 77.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005408/0.4859, allocations: 4.113 MB / 452.8 MB, free: 76.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007074/0.4866, allocations: 94.75 kB / 452.9 MB, free: 76.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/0.488, allocations: 126 kB / 453 MB, free: 76.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007043/0.4887, allocations: 350.4 kB / 453.3 MB, free: 76.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003281/0.4891, allocations: 100.2 kB / 453.4 MB, free: 76.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001031/0.4901, allocations: 0.919 MB / 454.3 MB, free: 76.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4901, allocations: 0 / 454.3 MB, free: 76.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004915/0.495, allocations: 2.251 MB / 456.6 MB, free: 75.49 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.0008668/0.4959, allocations: 289.5 kB / 456.9 MB, free: 75.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005159/0.501, allocations: 3.538 MB / 460.4 MB, free: 72.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002636/0.5013, allocations: 101.9 kB / 460.5 MB, free: 72.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003532/0.5048, allocations: 2.508 MB / 463 MB, free: 70.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004579/0.5094, allocations: 5.859 MB / 468.9 MB, free: 64.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04812/0.5575, allocations: 14.09 MB / 483 MB, free: 51.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003247/0.5608, allocations: 1.841 MB / 484.8 MB, free: 50.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001847/0.5626, allocations: 0.5829 MB / 485.4 MB, free: 49.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001582/0.5642, allocations: 0.7073 MB / 486.1 MB, free: 49.05 MB / 378.7 MB Notification: Performance of SimCode: time 2.024e-06/0.5642, allocations: 0 / 486.1 MB, free: 49.05 MB / 378.7 MB Notification: Performance of Templates: time 0.07435/0.6385, allocations: 61.44 MB / 0.5347 GB, free: 4.121 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7774130553007126]