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.0009556/0.0009556, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001033/0.001033, allocations: 168.2 kB / 24.91 MB, free: 9.152 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.9208/0.9208, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.282e-06/1.282e-06, allocations: 3.938 kB / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.654e-05, allocations: 2.312 kB / 273.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01091/0.01092, allocations: 15.49 MB / 289 MB, free: 1.711 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.109/0.1199, allocations: 4.9 MB / 293.9 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001945/0.1218, allocations: 159.8 kB / 294 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007467/0.1293, allocations: 7.681 MB / 301.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003701/0.133, allocations: 2.061 MB / 303.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002002/0.135, allocations: 1.525 MB / 305.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00632/0.1413, allocations: 9.937 MB / 315.2 MB, free: 6.145 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01343/0.1547, allocations: 13.95 MB / 329.2 MB, free: 9.418 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007521/0.1623, allocations: 7.845 MB / 337 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005485/0.1678, allocations: 6.035 MB / 343 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001659/0.1694, allocations: 1.359 MB / 344.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002218/0.1716, allocations: 1.667 MB / 346.1 MB, free: 9.082 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001519/0.1731, allocations: 2.899 MB / 349 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003243/0.1764, allocations: 3.653 MB / 352.6 MB, free: 2.516 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006971/0.1834, allocations: 9.419 MB / 362 MB, free: 9.066 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1834, allocations: 0 / 362 MB, free: 9.066 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1834, allocations: 3.938 kB / 362.1 MB, free: 9.062 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001025/0.1835, allocations: 0 / 362.1 MB, free: 9.062 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.01351/0.197, allocations: 11.14 MB / 373.2 MB, free: 13.85 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.197, allocations: 12.03 kB / 373.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0163/0.2133, allocations: 6.193 MB / 379.4 MB, free: 7.637 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006462/0.2198, allocations: 3.099 MB / 382.5 MB, free: 4.457 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004434/0.2202, allocations: 0.6665 MB / 383.2 MB, free: 3.789 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001329/0.2215, allocations: 0.8789 MB / 384 MB, free: 2.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01168/0.2332, allocations: 7.597 MB / 391.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001601/0.2334, allocations: 7.953 kB / 391.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008512/0.2342, allocations: 376 kB / 392 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004293/0.2347, allocations: 0.4915 MB / 392.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007537/0.2422, allocations: 3.894 MB / 396.4 MB, free: 6.387 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03509/0.2773, allocations: 26.68 MB / 423.1 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004239/0.2815, allocations: 3.214 MB / 426.3 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.2826, allocations: 1.023 MB / 427.3 MB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/0.2828, allocations: 131.9 kB / 427.4 MB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.2828, allocations: 82.55 kB / 427.5 MB, free: 6.215 MB / 378.7 MB Notification: Performance of pre-optimization done (n=409): time 5.681e-06/0.2828, allocations: 0 / 427.5 MB, free: 6.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=409): time 0.007187/0.29, allocations: 4.052 MB / 431.6 MB, free: 2.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.2901, allocations: 121.1 kB / 431.7 MB, free: 2.023 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1932/0.4833, allocations: 2.055 MB / 433.8 MB, free: 95.54 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006755/0.484, allocations: 90.94 kB / 433.8 MB, free: 95.51 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001573/0.4856, allocations: 3.553 MB / 437.4 MB, free: 94.38 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007807/0.4863, allocations: 1.444 MB / 438.8 MB, free: 93.61 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001131/0.4875, allocations: 1.032 MB / 439.9 MB, free: 93.52 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.613e-05/0.4875, allocations: 303.8 kB / 440.2 MB, free: 93.22 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/0.4886, allocations: 0.8273 MB / 441 MB, free: 93.2 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/0.4901, allocations: 2.665 MB / 443.7 MB, free: 90.75 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002728/0.4929, allocations: 4.02 MB / 447.7 MB, free: 88.27 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.123e-05/0.4929, allocations: 21.94 kB / 447.7 MB, free: 88.27 MB / 378.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.004178/0.4971, allocations: 3.918 MB / 451.6 MB, free: 88.06 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.4971, allocations: 38.97 kB / 451.7 MB, free: 88.06 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.935e-05/0.4972, allocations: 65.3 kB / 451.7 MB, free: 88.06 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001663/0.4988, allocations: 0.9657 MB / 452.7 MB, free: 88.01 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/0.5008, allocations: 1.141 MB / 453.8 MB, free: 88.01 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004541/0.5053, allocations: 5.752 MB / 459.6 MB, free: 85.29 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/0.507, allocations: 0.5892 MB / 460.2 MB, free: 85.11 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002851/0.5073, allocations: 226 kB / 460.4 MB, free: 85.11 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.001417/0.5087, allocations: 492.8 kB / 460.9 MB, free: 84.99 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004261/0.5092, allocations: 348.3 kB / 461.2 MB, free: 84.98 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003215/0.5124, allocations: 2.919 MB / 464.1 MB, free: 84.71 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00204/0.5144, allocations: 1.899 MB / 466 MB, free: 84.54 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.5144, allocations: 11.75 kB / 466 MB, free: 84.54 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.263e-05/0.5145, allocations: 22.17 kB / 466.1 MB, free: 84.54 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007861/0.5223, allocations: 8.206 MB / 474.3 MB, free: 82.55 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.5223, allocations: 14.02 kB / 474.3 MB, free: 82.54 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/0.5236, allocations: 0.6626 MB / 474.9 MB, free: 82 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001534/0.5252, allocations: 0.8873 MB / 475.8 MB, free: 81.39 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001518/0.5253, allocations: 106.9 kB / 475.9 MB, free: 81.29 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004095/0.5294, allocations: 5.609 MB / 481.5 MB, free: 75.9 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.5294, allocations: 22.19 kB / 481.6 MB, free: 75.88 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003743/0.5332, allocations: 4.113 MB / 485.7 MB, free: 71.69 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007638/0.5339, allocations: 0.5693 MB / 486.2 MB, free: 71.12 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/0.5342, allocations: 102.5 kB / 486.3 MB, free: 71.03 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008027/0.535, allocations: 124 kB / 486.5 MB, free: 70.91 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003151/0.5353, allocations: 349 kB / 486.8 MB, free: 70.57 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/0.5355, allocations: 104 kB / 486.9 MB, free: 70.47 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.0006581/0.5361, allocations: 0.9152 MB / 487.8 MB, free: 69.66 MB / 378.8 MB Notification: Performance of sort global known variables: time 4e-08/0.5361, allocations: 4 kB / 487.8 MB, free: 69.66 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003476/0.5396, allocations: 2.254 MB / 490.1 MB, free: 67.39 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.0003601/0.54, allocations: 278 kB / 490.4 MB, free: 67.17 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.003104/0.5431, allocations: 3.458 MB / 493.8 MB, free: 63.98 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 8.103e-05/0.5431, allocations: 60.38 kB / 493.9 MB, free: 63.91 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001603/0.5447, allocations: 1.913 MB / 495.8 MB, free: 62.14 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.5465, allocations: 0.8041 MB / 496.6 MB, free: 61.37 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.5574, allocations: 12.99 MB / 0.4976 GB, free: 48.24 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/0.5586, allocations: 1.799 MB / 0.4994 GB, free: 46.41 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.00134/0.56, allocations: 0.6401 MB / 0.5 GB, free: 45.77 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/0.5613, allocations: 0.8253 MB / 0.5008 GB, free: 44.94 MB / 378.8 MB Notification: Performance of SimCode: time 1.032e-06/0.5613, allocations: 0 / 0.5008 GB, free: 44.94 MB / 378.8 MB Notification: Performance of Templates: time 0.06569/0.627, allocations: 60.64 MB / 0.56 GB, free: 1.129 MB / 394.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.251868026796728]