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.001225/0.001225, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.004348/0.004348, allocations: 140.3 kB / 24.89 MB, free: 9.207 MB / 18.57 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.9147/0.9147, allocations: 173.3 MB / 201.5 MB, free: 9.18 MB / 186.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.112e-06/1.112e-06, allocations: 0 / 268.5 MB, free: 6.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232e-05/1.344e-05, allocations: 2.312 kB / 268.5 MB, free: 6.164 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01032/0.01033, allocations: 15.49 MB / 284 MB, free: 6.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007288/0.01762, allocations: 4.846 MB / 288.8 MB, free: 1.727 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.01897, allocations: 159.2 kB / 289 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1268/0.1458, allocations: 7.665 MB / 296.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00494/0.1507, allocations: 2.073 MB / 298.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.1528, allocations: 1.524 MB / 300.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007679/0.1605, allocations: 9.837 MB / 310.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01282/0.1733, allocations: 13.94 MB / 324 MB, free: 15.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007813/0.1811, allocations: 7.843 MB / 331.9 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006298/0.1874, allocations: 6.033 MB / 337.9 MB, free: 1.973 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002446/0.1898, allocations: 1.359 MB / 339.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.1919, allocations: 1.647 MB / 340.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001557/0.1934, allocations: 2.901 MB / 343.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003625/0.1971, allocations: 3.651 MB / 347.4 MB, free: 8.793 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007296/0.2044, allocations: 9.401 MB / 356.8 MB, free: 15.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2044, allocations: 0 / 356.8 MB, free: 15.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2044, allocations: 0 / 356.8 MB, free: 15.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001031/0.2045, allocations: 7.922 kB / 356.9 MB, free: 15.89 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.01274/0.2172, allocations: 11.14 MB / 368 MB, free: 5.293 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.2173, allocations: 12.92 kB / 368 MB, free: 5.281 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01547/0.2327, allocations: 6.207 MB / 374.2 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004934/0.2377, allocations: 3.093 MB / 377.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003023/0.238, allocations: 0.6696 MB / 378 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009278/0.2389, allocations: 0.8866 MB / 378.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008031/0.2469, allocations: 7.562 MB / 386.4 MB, free: 3.062 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001238/0.247, allocations: 10.94 kB / 386.4 MB, free: 3.055 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006133/0.2477, allocations: 376 kB / 386.8 MB, free: 2.688 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003024/0.248, allocations: 499.3 kB / 387.3 MB, free: 2.195 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005047/0.253, allocations: 3.874 MB / 391.2 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02544/0.2784, allocations: 26.63 MB / 417.8 MB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003267/0.2817, allocations: 3.209 MB / 421 MB, free: 15.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.2828, allocations: 1.008 MB / 422 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/0.283, allocations: 115.9 kB / 422.1 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/0.2831, allocations: 77.94 kB / 422.2 MB, free: 14.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=409): time 7.183e-06/0.2831, allocations: 0 / 422.2 MB, free: 14.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=409): time 0.006817/0.2899, allocations: 4.033 MB / 426.2 MB, free: 10.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.2899, allocations: 117.1 kB / 426.3 MB, free: 10.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/0.2914, allocations: 2.058 MB / 428.4 MB, free: 8.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001714/0.2915, allocations: 93.7 kB / 428.5 MB, free: 8.383 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001275/0.2928, allocations: 3.553 MB / 432.1 MB, free: 4.793 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007417/0.2936, allocations: 1.445 MB / 433.5 MB, free: 3.336 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009643/0.2945, allocations: 1.023 MB / 434.5 MB, free: 2.301 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.382e-05/0.2946, allocations: 301.1 kB / 434.8 MB, free: 2.004 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009258/0.2955, allocations: 0.8315 MB / 435.6 MB, free: 1.164 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2056/0.5012, allocations: 2.652 MB / 438.3 MB, free: 94.41 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003756/0.5049, allocations: 3.994 MB / 442.3 MB, free: 91.95 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.932e-05/0.5049, allocations: 20.94 kB / 442.3 MB, free: 91.95 MB / 378.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.004976/0.5099, allocations: 3.913 MB / 446.2 MB, free: 91.74 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.148e-05/0.51, allocations: 34.38 kB / 446.3 MB, free: 91.74 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.981e-05/0.51, allocations: 66 kB / 446.3 MB, free: 91.74 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001672/0.5117, allocations: 0.9634 MB / 447.3 MB, free: 91.68 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/0.5137, allocations: 1.15 MB / 448.4 MB, free: 91.68 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004541/0.5182, allocations: 5.734 MB / 454.2 MB, free: 89.06 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/0.5199, allocations: 0.6038 MB / 454.8 MB, free: 89.05 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002309/0.5202, allocations: 219.7 kB / 455 MB, free: 89.05 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.001535/0.5217, allocations: 0.4913 MB / 455.5 MB, free: 88.93 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003936/0.5221, allocations: 335.7 kB / 455.8 MB, free: 88.93 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003196/0.5253, allocations: 2.941 MB / 458.7 MB, free: 88.7 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00212/0.5274, allocations: 1.889 MB / 460.6 MB, free: 88.54 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.5274, allocations: 11.69 kB / 460.6 MB, free: 88.54 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.281e-05/0.5274, allocations: 22.08 kB / 460.7 MB, free: 88.54 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007976/0.5354, allocations: 8.195 MB / 468.9 MB, free: 87.41 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.5354, allocations: 12.88 kB / 468.9 MB, free: 87.41 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/0.5367, allocations: 0.6539 MB / 469.5 MB, free: 87.41 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001547/0.5383, allocations: 0.8836 MB / 470.4 MB, free: 87.35 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000148/0.5384, allocations: 97.72 kB / 470.5 MB, free: 87.35 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004211/0.5426, allocations: 5.63 MB / 476.1 MB, free: 84.73 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.5426, allocations: 16.38 kB / 476.2 MB, free: 84.73 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003748/0.5464, allocations: 4.096 MB / 480.3 MB, free: 81.72 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007268/0.5471, allocations: 0.5599 MB / 480.8 MB, free: 81.28 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002797/0.5474, allocations: 98.8 kB / 480.9 MB, free: 81.19 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007754/0.5482, allocations: 126.3 kB / 481 MB, free: 81.07 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000313/0.5485, allocations: 348.2 kB / 481.4 MB, free: 80.9 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/0.5486, allocations: 102.4 kB / 481.5 MB, free: 80.8 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.0006721/0.5493, allocations: 0.9113 MB / 482.4 MB, free: 80.17 MB / 378.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5493, allocations: 4 kB / 482.4 MB, free: 80.16 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003679/0.553, allocations: 2.256 MB / 484.6 MB, free: 78.14 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.0004341/0.5534, allocations: 287.2 kB / 484.9 MB, free: 77.93 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.003515/0.5569, allocations: 3.45 MB / 488.4 MB, free: 74.89 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 7.802e-05/0.557, allocations: 59.94 kB / 488.4 MB, free: 74.82 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001658/0.5587, allocations: 1.913 MB / 490.3 MB, free: 73.04 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/0.5605, allocations: 0.8041 MB / 491.1 MB, free: 72.27 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/0.5734, allocations: 13.06 MB / 0.4924 GB, free: 59.08 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/0.5747, allocations: 1.802 MB / 0.4942 GB, free: 57.25 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.001579/0.5762, allocations: 0.6401 MB / 0.4948 GB, free: 56.6 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001304/0.5775, allocations: 0.8073 MB / 0.4956 GB, free: 55.79 MB / 378.8 MB Notification: Performance of SimCode: time 1.674e-06/0.5775, allocations: 4 kB / 0.4956 GB, free: 55.79 MB / 378.8 MB Notification: Performance of Templates: time 0.06886/0.6464, allocations: 59.95 MB / 0.5541 GB, free: 12.65 MB / 394.8 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.181800174061209]