Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001088/0.001088, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.0009038/0.0009038, allocations: 172.1 kB / 25.7 MB, free: 8.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8713/0.8713, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.225e-05, allocations: 6.312 kB / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01159/0.01161, allocations: 15.43 MB / 267 MB, free: 7.758 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0114/0.02301, allocations: 4.881 MB / 271.8 MB, free: 2.859 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/0.02495, allocations: 135.3 kB / 272 MB, free: 2.727 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01018/0.03513, allocations: 7.673 MB / 279.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003036/0.03816, allocations: 1.938 MB / 281.6 MB, free: 9.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001968/0.04013, allocations: 1.62 MB / 283.2 MB, free: 7.445 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006704/0.04683, allocations: 9.832 MB / 293 MB, free: 13.58 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01332/0.06016, allocations: 13.95 MB / 307 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007054/0.06721, allocations: 7.836 MB / 314.8 MB, free: 7.586 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00532/0.07253, allocations: 6.044 MB / 320.9 MB, free: 1.531 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001778/0.07431, allocations: 1.359 MB / 322.2 MB, free: 176 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.07611, allocations: 1.64 MB / 323.9 MB, free: 14.53 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001704/0.07781, allocations: 2.903 MB / 326.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003612/0.08142, allocations: 3.641 MB / 330.4 MB, free: 7.973 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007395/0.08882, allocations: 9.396 MB / 339.8 MB, free: 14.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.08882, allocations: 4 kB / 339.8 MB, free: 14.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.08882, allocations: 0 / 339.8 MB, free: 14.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000153/0.08898, allocations: 0 / 339.8 MB, free: 14.54 MB / 330.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.1025, allocations: 11.13 MB / 350.9 MB, free: 3.336 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1025, allocations: 15.98 kB / 351 MB, free: 3.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2306/0.3332, allocations: 6.216 MB / 357.2 MB, free: 70.43 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006007/0.3392, allocations: 2.613 MB / 359.8 MB, free: 70.17 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002897/0.3395, allocations: 0.6704 MB / 360.5 MB, free: 70.15 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001102/0.3406, allocations: 0.8814 MB / 361.3 MB, free: 70.15 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008405/0.349, allocations: 7.574 MB / 368.9 MB, free: 69.45 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001279/0.3491, allocations: 7.484 kB / 368.9 MB, free: 69.45 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006157/0.3497, allocations: 370.7 kB / 369.3 MB, free: 69.45 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003358/0.35, allocations: 497.1 kB / 369.8 MB, free: 69.42 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004922/0.355, allocations: 3.879 MB / 373.7 MB, free: 68.74 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02416/0.3791, allocations: 26.64 MB / 400.3 MB, free: 44.79 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002979/0.3821, allocations: 3.2 MB / 403.5 MB, free: 41.68 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009443/0.3831, allocations: 0.9994 MB / 404.5 MB, free: 40.72 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/0.3833, allocations: 115.9 kB / 404.6 MB, free: 40.61 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.3833, allocations: 86.12 kB / 404.7 MB, free: 40.52 MB / 330.8 MB Notification: Performance of pre-optimization done (n=409): time 5.701e-06/0.3833, allocations: 0 / 404.7 MB, free: 40.52 MB / 330.8 MB Notification: Performance of matching and sorting (n=409): time 0.006525/0.3898, allocations: 4.045 MB / 408.7 MB, free: 36.54 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.3899, allocations: 117.1 kB / 408.9 MB, free: 36.41 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.3912, allocations: 2.066 MB / 410.9 MB, free: 34.82 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001684/0.3913, allocations: 89.7 kB / 411 MB, free: 34.73 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008373/0.3922, allocations: 3.552 MB / 414.6 MB, free: 31.53 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005374/0.3927, allocations: 1.444 MB / 416 MB, free: 30.16 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008702/0.3936, allocations: 1.029 MB / 417 MB, free: 29.24 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 2.723e-05/0.3936, allocations: 303.9 kB / 417.3 MB, free: 28.94 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008292/0.3944, allocations: 0.8276 MB / 418.2 MB, free: 28.11 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.3956, allocations: 2.651 MB / 420.8 MB, free: 24.68 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002376/0.398, allocations: 4.007 MB / 424.8 MB, free: 20.16 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.172e-05/0.398, allocations: 23.94 kB / 424.8 MB, free: 20.14 MB / 330.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.003981/0.402, allocations: 3.905 MB / 428.7 MB, free: 16.69 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.402, allocations: 32 kB / 428.8 MB, free: 16.66 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.835e-05/0.4021, allocations: 68 kB / 428.8 MB, free: 16.59 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001692/0.4038, allocations: 0.963 MB / 429.8 MB, free: 15.64 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/0.4057, allocations: 1.151 MB / 431 MB, free: 14.58 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004569/0.4103, allocations: 5.724 MB / 436.7 MB, free: 8.848 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.4121, allocations: 0.6087 MB / 437.3 MB, free: 8.234 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002291/0.4123, allocations: 220.1 kB / 437.5 MB, free: 8.02 MB / 330.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.001576/0.4139, allocations: 491.4 kB / 438 MB, free: 7.617 MB / 330.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004142/0.4143, allocations: 343.6 kB / 438.3 MB, free: 7.281 MB / 330.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003216/0.4176, allocations: 2.938 MB / 441.3 MB, free: 4.371 MB / 330.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002162/0.4197, allocations: 1.899 MB / 443.2 MB, free: 2.512 MB / 330.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.4197, allocations: 12 kB / 443.2 MB, free: 2.5 MB / 330.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.646e-05/0.4198, allocations: 27.91 kB / 443.2 MB, free: 2.473 MB / 330.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009623/0.4294, allocations: 8.181 MB / 451.4 MB, free: 11.17 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/0.4294, allocations: 12 kB / 451.4 MB, free: 11.16 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/0.4308, allocations: 0.6572 MB / 452 MB, free: 10.54 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001754/0.4326, allocations: 0.8792 MB / 452.9 MB, free: 9.672 MB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001945/0.4328, allocations: 99.98 kB / 453 MB, free: 9.574 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005295/0.4381, allocations: 5.606 MB / 458.6 MB, free: 3.93 MB / 346.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.4381, allocations: 19.22 kB / 458.6 MB, free: 3.918 MB / 346.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004593/0.4427, allocations: 4.099 MB / 462.7 MB, free: 15.73 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/0.4438, allocations: 0.5547 MB / 463.3 MB, free: 15.17 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003054/0.4441, allocations: 99.92 kB / 463.4 MB, free: 15.07 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008687/0.445, allocations: 128.1 kB / 463.5 MB, free: 14.95 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003872/0.4454, allocations: 350 kB / 463.9 MB, free: 14.62 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001676/0.4455, allocations: 104 kB / 464 MB, free: 14.52 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0009266/0.4465, allocations: 0.9104 MB / 464.9 MB, free: 13.71 MB / 362.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4465, allocations: 0 / 464.9 MB, free: 13.71 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.004109/0.4506, allocations: 2.258 MB / 467.1 MB, free: 11.44 MB / 362.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.000424/0.451, allocations: 272.3 kB / 467.4 MB, free: 11.22 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.004502/0.4555, allocations: 3.443 MB / 470.8 MB, free: 8.047 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 9.245e-05/0.4556, allocations: 56.19 kB / 470.9 MB, free: 7.984 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00201/0.4576, allocations: 1.927 MB / 472.8 MB, free: 6.195 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.4596, allocations: 0.7952 MB / 473.6 MB, free: 5.41 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/0.4758, allocations: 13.06 MB / 486.7 MB, free: 8.207 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/0.4774, allocations: 1.799 MB / 488.5 MB, free: 6.379 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.001871/0.4793, allocations: 0.6479 MB / 489.1 MB, free: 5.727 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001467/0.4807, allocations: 0.7998 MB / 489.9 MB, free: 4.918 MB / 378.8 MB Notification: Performance of SimCode: time 2.054e-06/0.4807, allocations: 4 kB / 489.9 MB, free: 4.914 MB / 378.8 MB Notification: Performance of Templates: time 0.1746/0.6554, allocations: 59.73 MB / 0.5368 GB, free: 68.29 MB / 378.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.328802510164678]