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.0009383/0.0009383, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.00102/0.00102, allocations: 169.1 kB / 24.82 MB, free: 8.906 MB / 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 0.9853/0.9853, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.644e-06/1.644e-06, allocations: 0 / 273.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.878e-05, allocations: 9.062 kB / 273.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01157/0.01159, allocations: 15.47 MB / 288.9 MB, free: 1.703 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1232/0.1348, allocations: 4.623 MB / 293.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003271/0.1381, allocations: 158 kB / 293.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009727/0.1478, allocations: 7.47 MB / 301.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00613/0.1539, allocations: 2.019 MB / 303.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00277/0.1567, allocations: 1.525 MB / 304.7 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008655/0.1654, allocations: 9.928 MB / 314.6 MB, free: 6.375 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01611/0.1815, allocations: 13.51 MB / 328.1 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01167/0.1932, allocations: 7.803 MB / 335.9 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009176/0.2023, allocations: 5.97 MB / 341.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004085/0.2064, allocations: 1.359 MB / 343.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005864/0.2123, allocations: 1.667 MB / 344.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003621/0.2159, allocations: 2.898 MB / 347.8 MB, free: 7.312 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006929/0.2228, allocations: 3.649 MB / 351.5 MB, free: 3.656 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01359/0.2364, allocations: 9.419 MB / 360.9 MB, free: 10.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.2364, allocations: 4 kB / 360.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2364, allocations: 7.938 kB / 360.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003916/0.2368, allocations: 0 / 360.9 MB, free: 10.2 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.02434/0.2612, allocations: 11.95 MB / 372.9 MB, free: 14.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.2612, allocations: 12.03 kB / 372.9 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02094/0.2822, allocations: 5.802 MB / 378.7 MB, free: 8.332 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00877/0.2909, allocations: 5.053 MB / 383.7 MB, free: 3.203 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004782/0.2914, allocations: 0.6703 MB / 384.4 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002356/0.2938, allocations: 0.8711 MB / 385.3 MB, free: 1.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01707/0.3108, allocations: 7.421 MB / 392.7 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001808/0.311, allocations: 11.94 kB / 392.7 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001043/0.312, allocations: 376 kB / 393.1 MB, free: 9.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003637/0.3124, allocations: 0.4915 MB / 393.6 MB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007853/0.3203, allocations: 3.409 MB / 397 MB, free: 5.793 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04496/0.3652, allocations: 34.68 MB / 431.7 MB, free: 2.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2126/0.5778, allocations: 3.562 MB / 435.2 MB, free: 92.2 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002154/0.5799, allocations: 1.163 MB / 436.4 MB, free: 92.16 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003354/0.5803, allocations: 176.3 kB / 436.6 MB, free: 92.12 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/0.5803, allocations: 84.08 kB / 436.6 MB, free: 92.07 MB / 378.8 MB Notification: Performance of pre-optimization done (n=409): time 5.771e-06/0.5803, allocations: 0 / 436.6 MB, free: 92.07 MB / 378.8 MB Notification: Performance of matching and sorting (n=409): time 0.009031/0.5894, allocations: 4.849 MB / 441.5 MB, free: 91.8 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.5894, allocations: 121.3 kB / 441.6 MB, free: 91.7 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002949/0.5924, allocations: 3.036 MB / 444.6 MB, free: 91.39 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001877/0.5925, allocations: 87.45 kB / 444.7 MB, free: 91.36 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00175/0.5943, allocations: 4.085 MB / 448.8 MB, free: 89.84 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000803/0.5951, allocations: 1.521 MB / 450.3 MB, free: 89.07 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001177/0.5963, allocations: 1.308 MB / 451.6 MB, free: 88.96 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 5.644e-05/0.5963, allocations: 480.7 kB / 452.1 MB, free: 88.49 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008023/0.5971, allocations: 0.6909 MB / 452.8 MB, free: 88.48 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/0.5989, allocations: 3.824 MB / 456.6 MB, free: 84.84 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003289/0.6021, allocations: 5.078 MB / 461.7 MB, free: 81.12 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.984e-05/0.6022, allocations: 19.34 kB / 461.7 MB, free: 81.12 MB / 378.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.005263/0.6074, allocations: 4.81 MB / 466.5 MB, free: 80.7 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.6075, allocations: 33.72 kB / 466.6 MB, free: 80.7 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.579e-05/0.6075, allocations: 67 kB / 466.6 MB, free: 80.7 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001823/0.6094, allocations: 1.016 MB / 467.7 MB, free: 80.62 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/0.6114, allocations: 1.173 MB / 468.8 MB, free: 80.62 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005245/0.6166, allocations: 7.592 MB / 476.4 MB, free: 76.53 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/0.6187, allocations: 0.5968 MB / 477 MB, free: 76.33 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/0.619, allocations: 236 kB / 477.2 MB, free: 76.33 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.001728/0.6207, allocations: 0.5261 MB / 477.8 MB, free: 76.11 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005027/0.6212, allocations: 0.4889 MB / 478.3 MB, free: 75.67 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004061/0.6252, allocations: 3.519 MB / 481.8 MB, free: 73.61 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002658/0.6279, allocations: 2.489 MB / 484.3 MB, free: 71.67 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.6279, allocations: 12 kB / 484.3 MB, free: 71.66 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.349e-05/0.6279, allocations: 22.08 kB / 484.3 MB, free: 71.66 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01282/0.6408, allocations: 10.83 MB / 495.1 MB, free: 62.07 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/0.6408, allocations: 12 kB / 495.1 MB, free: 62.05 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/0.6421, allocations: 0.6793 MB / 495.8 MB, free: 61.42 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0017/0.6438, allocations: 0.9341 MB / 496.8 MB, free: 60.49 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001716/0.644, allocations: 112 kB / 496.9 MB, free: 60.38 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005038/0.649, allocations: 7.476 MB / 0.4925 GB, free: 52.84 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.649, allocations: 23.5 kB / 0.4925 GB, free: 52.82 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004914/0.6539, allocations: 5.002 MB / 0.4974 GB, free: 47.65 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/0.655, allocations: 0.7768 MB / 0.4982 GB, free: 46.88 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002731/0.6553, allocations: 99.98 kB / 0.4983 GB, free: 46.78 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008766/0.6562, allocations: 120 kB / 0.4984 GB, free: 46.66 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003973/0.6566, allocations: 360.8 kB / 0.4987 GB, free: 46.32 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/0.6567, allocations: 124 kB / 0.4989 GB, free: 46.2 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001068/0.6578, allocations: 1.256 MB / 0.5001 GB, free: 45.05 MB / 378.8 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6578, allocations: 0 / 0.5001 GB, free: 45.05 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004069/0.6619, allocations: 2.255 MB / 0.5023 GB, free: 42.79 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.0004659/0.6623, allocations: 294.6 kB / 0.5026 GB, free: 42.54 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.00454/0.6669, allocations: 4.061 MB / 0.5065 GB, free: 38.74 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/0.6669, allocations: 0 / 0.5065 GB, free: 38.74 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002303/0.6692, allocations: 2.258 MB / 0.5087 GB, free: 36.61 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002407/0.6716, allocations: 0.8104 MB / 0.5095 GB, free: 35.84 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/0.6864, allocations: 13.25 MB / 0.5225 GB, free: 22.38 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/0.688, allocations: 2.497 MB / 0.5249 GB, free: 19.85 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.001883/0.6899, allocations: 0.644 MB / 0.5255 GB, free: 19.2 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/0.6912, allocations: 0.9119 MB / 0.5264 GB, free: 18.29 MB / 378.8 MB Notification: Performance of SimCode: time 1.753e-06/0.6912, allocations: 0 / 0.5264 GB, free: 18.29 MB / 378.8 MB Notification: Performance of Templates: time 0.1945/0.8857, allocations: 60.28 MB / 0.5853 GB, free: 116.8 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","",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.532201542984694]