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.001157/0.001157, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001214/0.001214, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 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 0.9281/0.9281, allocations: 177 MB / 205.2 MB, free: 5.055 MB / 186.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.724e-06/1.724e-06, allocations: 0 / 273.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.853e-05/2.026e-05, allocations: 5.125 kB / 273.5 MB, free: 1 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01117/0.01119, allocations: 15.53 MB / 289 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.133/0.1442, allocations: 4.904 MB / 293.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002352/0.1466, allocations: 156.9 kB / 294 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007573/0.1541, allocations: 7.605 MB / 301.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004413/0.1586, allocations: 2.018 MB / 303.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.1608, allocations: 1.53 MB / 305.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008449/0.1693, allocations: 9.94 MB / 315.1 MB, free: 6.023 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01597/0.1852, allocations: 13.86 MB / 329 MB, free: 9.395 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01011/0.1953, allocations: 7.831 MB / 336.8 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007364/0.2027, allocations: 6.042 MB / 342.9 MB, free: 12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002831/0.2055, allocations: 1.359 MB / 344.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0028/0.2083, allocations: 1.679 MB / 345.9 MB, free: 8.965 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001679/0.21, allocations: 2.899 MB / 348.8 MB, free: 6.059 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004528/0.2145, allocations: 3.649 MB / 352.5 MB, free: 2.402 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009331/0.2239, allocations: 9.423 MB / 361.9 MB, free: 8.949 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2239, allocations: 0 / 361.9 MB, free: 8.949 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2239, allocations: 0 / 361.9 MB, free: 8.949 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002749/0.2241, allocations: 0 / 361.9 MB, free: 8.949 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.0166/0.2407, allocations: 11.15 MB / 373 MB, free: 13.72 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.2408, allocations: 11.98 kB / 373 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01712/0.2579, allocations: 6.189 MB / 379.2 MB, free: 7.516 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005883/0.2638, allocations: 3.104 MB / 382.3 MB, free: 4.332 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003514/0.2641, allocations: 0.6743 MB / 383 MB, free: 3.656 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001038/0.2652, allocations: 0.8827 MB / 383.9 MB, free: 2.773 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009281/0.2745, allocations: 7.589 MB / 391.5 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001313/0.2746, allocations: 19.86 kB / 391.5 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005928/0.2752, allocations: 372 kB / 391.9 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003042/0.2755, allocations: 499.2 kB / 392.4 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005513/0.281, allocations: 3.894 MB / 396.2 MB, free: 6.254 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02828/0.3093, allocations: 26.67 MB / 422.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003483/0.3128, allocations: 3.225 MB / 426.1 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/0.3138, allocations: 1 MB / 427.1 MB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002256/0.3141, allocations: 139.9 kB / 427.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/0.3141, allocations: 78.56 kB / 427.4 MB, free: 6.102 MB / 378.7 MB Notification: Performance of pre-optimization done (n=409): time 6.572e-06/0.3141, allocations: 0 / 427.4 MB, free: 6.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=409): time 0.007764/0.3219, allocations: 4.057 MB / 431.4 MB, free: 2.043 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.3219, allocations: 121.1 kB / 431.5 MB, free: 1.906 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2405/0.5624, allocations: 2.052 MB / 433.6 MB, free: 95.4 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007715/0.5632, allocations: 91.45 kB / 433.7 MB, free: 95.37 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001758/0.5649, allocations: 3.555 MB / 437.2 MB, free: 94.2 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001128/0.5661, allocations: 1.446 MB / 438.7 MB, free: 93.44 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001291/0.5674, allocations: 1.029 MB / 439.7 MB, free: 93.35 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.029e-05/0.5674, allocations: 302.8 kB / 440 MB, free: 93.05 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.5687, allocations: 0.829 MB / 440.8 MB, free: 93.02 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/0.5704, allocations: 2.662 MB / 443.5 MB, free: 90.58 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003048/0.5734, allocations: 4.012 MB / 447.5 MB, free: 88.11 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.744e-05/0.5735, allocations: 21.45 kB / 447.5 MB, free: 88.11 MB / 378.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.004358/0.5778, allocations: 3.92 MB / 451.4 MB, free: 87.9 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.786e-05/0.5779, allocations: 34.06 kB / 451.5 MB, free: 87.9 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.121e-05/0.5779, allocations: 70.75 kB / 451.6 MB, free: 87.9 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00172/0.5796, allocations: 0.9588 MB / 452.5 MB, free: 87.85 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/0.5817, allocations: 1.219 MB / 453.7 MB, free: 87.85 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004697/0.5864, allocations: 5.8 MB / 459.5 MB, free: 85.12 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.588, allocations: 0.5893 MB / 460.1 MB, free: 84.94 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002653/0.5883, allocations: 227.2 kB / 460.3 MB, free: 84.94 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.001414/0.5897, allocations: 489.6 kB / 460.8 MB, free: 84.82 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003991/0.5901, allocations: 341.1 kB / 461.2 MB, free: 84.82 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003196/0.5933, allocations: 2.927 MB / 464.1 MB, free: 84.54 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002043/0.5953, allocations: 1.899 MB / 466 MB, free: 84.38 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.5954, allocations: 11.72 kB / 466 MB, free: 84.38 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.31e-05/0.5954, allocations: 27.05 kB / 466 MB, free: 84.38 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007818/0.6032, allocations: 8.21 MB / 474.2 MB, free: 82.32 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/0.6032, allocations: 16 kB / 474.2 MB, free: 82.31 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/0.6046, allocations: 0.7008 MB / 474.9 MB, free: 81.74 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001562/0.6062, allocations: 0.8902 MB / 475.8 MB, free: 81.12 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000154/0.6063, allocations: 99.64 kB / 475.9 MB, free: 81.04 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004314/0.6106, allocations: 5.671 MB / 481.6 MB, free: 75.47 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.6106, allocations: 22.28 kB / 481.6 MB, free: 75.46 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00397/0.6146, allocations: 4.113 MB / 485.7 MB, free: 71.26 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008693/0.6155, allocations: 0.5682 MB / 486.3 MB, free: 70.7 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002618/0.6157, allocations: 105.4 kB / 486.4 MB, free: 70.59 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008017/0.6165, allocations: 120 kB / 486.5 MB, free: 70.48 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003937/0.6169, allocations: 346.5 kB / 486.9 MB, free: 70.15 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/0.6171, allocations: 112 kB / 487 MB, free: 70.04 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.0007943/0.6179, allocations: 0.9127 MB / 487.9 MB, free: 69.23 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6179, allocations: 4 kB / 487.9 MB, free: 69.23 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004037/0.6219, allocations: 2.255 MB / 490.1 MB, free: 66.96 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.0003759/0.6223, allocations: 280.9 kB / 490.4 MB, free: 66.73 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.003484/0.6258, allocations: 3.453 MB / 493.9 MB, free: 63.55 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 8.131e-05/0.6258, allocations: 59.94 kB / 493.9 MB, free: 63.48 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001683/0.6275, allocations: 1.921 MB / 495.8 MB, free: 61.7 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.6293, allocations: 0.7977 MB / 496.6 MB, free: 60.95 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/0.6412, allocations: 12.99 MB / 0.4977 GB, free: 47.82 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/0.6424, allocations: 1.799 MB / 0.4994 GB, free: 45.99 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.001344/0.6438, allocations: 0.6479 MB / 0.5001 GB, free: 45.34 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/0.6451, allocations: 0.8193 MB / 0.5009 GB, free: 44.52 MB / 378.8 MB Notification: Performance of SimCode: time 1.462e-06/0.6451, allocations: 0 / 0.5009 GB, free: 44.52 MB / 378.8 MB Notification: Performance of Templates: time 0.06753/0.7126, allocations: 60.61 MB / 0.5601 GB, free: 0.6562 MB / 394.8 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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.35233919788152]