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.001234/0.001234, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001351/0.001351, allocations: 170.6 kB / 25 MB, free: 8.742 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.9391/0.9391, allocations: 177.1 MB / 205.3 MB, free: 5.602 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.393e-06/1.393e-06, allocations: 0 / 273.1 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/1.966e-05, allocations: 5.406 kB / 273.1 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01261/0.01263, allocations: 16.03 MB / 289.1 MB, free: 1.691 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1504/0.163, allocations: 4.645 MB / 293.8 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005902/0.1689, allocations: 160.4 kB / 293.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009196/0.1781, allocations: 7.673 MB / 301.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006437/0.1846, allocations: 2.036 MB / 303.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003338/0.1879, allocations: 1.533 MB / 305.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008552/0.1965, allocations: 9.916 MB / 315.1 MB, free: 5.996 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01623/0.2127, allocations: 13.52 MB / 328.6 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009507/0.2222, allocations: 7.806 MB / 336.4 MB, free: 2.688 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007131/0.2293, allocations: 5.786 MB / 342.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002681/0.232, allocations: 1.363 MB / 343.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003262/0.2353, allocations: 1.662 MB / 345.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002417/0.2377, allocations: 2.9 MB / 348.1 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00581/0.2435, allocations: 3.649 MB / 351.8 MB, free: 3.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009582/0.2531, allocations: 9.419 MB / 361.2 MB, free: 10.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2531, allocations: 4 kB / 361.2 MB, free: 10.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2531, allocations: 0 / 361.2 MB, free: 10.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002732/0.2534, allocations: 0 / 361.2 MB, free: 10.28 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.01964/0.273, allocations: 13.09 MB / 374.3 MB, free: 13.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.273, allocations: 12.03 kB / 374.3 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02906/0.3021, allocations: 7.631 MB / 381.9 MB, free: 5.449 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01001/0.3121, allocations: 5.491 MB / 387.4 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000543/0.3127, allocations: 0.6743 MB / 388.1 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001753/0.3144, allocations: 0.875 MB / 388.9 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01689/0.3313, allocations: 8.071 MB / 397 MB, free: 6.152 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001654/0.3315, allocations: 7.953 kB / 397 MB, free: 6.145 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008508/0.3323, allocations: 376 kB / 397.4 MB, free: 5.777 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004591/0.3328, allocations: 0.4915 MB / 397.9 MB, free: 5.281 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0107/0.3435, allocations: 4.36 MB / 402.2 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2456/0.5891, allocations: 35.4 MB / 437.6 MB, free: 99.93 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006412/0.5955, allocations: 4.137 MB / 441.8 MB, free: 99.73 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002179/0.5977, allocations: 1.359 MB / 443.1 MB, free: 99.68 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002904/0.598, allocations: 137.9 kB / 443.3 MB, free: 99.67 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.63e-05/0.5981, allocations: 83.3 kB / 443.4 MB, free: 99.62 MB / 378.8 MB Notification: Performance of pre-optimization done (n=409): time 6.222e-06/0.5981, allocations: 0 / 443.4 MB, free: 99.62 MB / 378.8 MB Notification: Performance of matching and sorting (n=409): time 0.009961/0.608, allocations: 5.438 MB / 448.8 MB, free: 99.34 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.6081, allocations: 123.3 kB / 448.9 MB, free: 99.25 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003139/0.6112, allocations: 3.077 MB / 452 MB, free: 98.93 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002169/0.6114, allocations: 91.73 kB / 452.1 MB, free: 98.9 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001538/0.613, allocations: 4.075 MB / 456.2 MB, free: 97.3 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008019/0.6138, allocations: 1.504 MB / 457.7 MB, free: 96.54 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001078/0.6149, allocations: 1.289 MB / 458.9 MB, free: 96.43 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.459e-05/0.6149, allocations: 480.7 kB / 459.4 MB, free: 95.95 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/0.6163, allocations: 0.9037 MB / 460.3 MB, free: 95.94 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002124/0.6184, allocations: 4.005 MB / 464.3 MB, free: 92.27 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004145/0.6225, allocations: 5.433 MB / 469.8 MB, free: 88.28 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.174e-05/0.6226, allocations: 20.59 kB / 469.8 MB, free: 88.28 MB / 378.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.007/0.6296, allocations: 5.324 MB / 475.1 MB, free: 87.39 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.535e-05/0.6296, allocations: 36.22 kB / 475.1 MB, free: 87.38 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.987e-05/0.6297, allocations: 66.81 kB / 475.2 MB, free: 87.38 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00213/0.6318, allocations: 1.085 MB / 476.3 MB, free: 87.28 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002176/0.634, allocations: 1.299 MB / 477.6 MB, free: 86.22 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006271/0.6402, allocations: 7.925 MB / 485.5 MB, free: 80.12 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/0.6426, allocations: 0.7452 MB / 486.3 MB, free: 79.53 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002667/0.6429, allocations: 281.2 kB / 486.5 MB, free: 79.31 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.001827/0.6447, allocations: 0.5233 MB / 487.1 MB, free: 78.91 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005352/0.6452, allocations: 497.4 kB / 487.5 MB, free: 78.43 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004808/0.65, allocations: 3.909 MB / 491.5 MB, free: 75.23 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003492/0.6535, allocations: 2.864 MB / 494.3 MB, free: 72.55 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/0.6536, allocations: 12 kB / 494.3 MB, free: 72.54 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.361e-05/0.6536, allocations: 23.86 kB / 494.4 MB, free: 72.52 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/0.6669, allocations: 11.36 MB / 0.4939 GB, free: 60.95 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/0.6669, allocations: 12.77 kB / 0.4939 GB, free: 60.94 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/0.6685, allocations: 0.7957 MB / 0.4947 GB, free: 60.14 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002022/0.6705, allocations: 1.001 MB / 0.4956 GB, free: 59.14 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001919/0.6707, allocations: 112 kB / 0.4957 GB, free: 59.03 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006011/0.6767, allocations: 7.811 MB / 0.5034 GB, free: 51 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.6767, allocations: 19.94 kB / 0.5034 GB, free: 50.98 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006273/0.683, allocations: 5.582 MB / 0.5088 GB, free: 45.09 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/0.6841, allocations: 0.8594 MB / 0.5097 GB, free: 44.22 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003109/0.6844, allocations: 95.98 kB / 0.5098 GB, free: 44.13 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.6854, allocations: 275.7 kB / 0.51 GB, free: 43.86 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004242/0.6859, allocations: 363 kB / 0.5104 GB, free: 43.5 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000165/0.686, allocations: 148 kB / 0.5105 GB, free: 43.36 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001375/0.6874, allocations: 1.347 MB / 0.5118 GB, free: 42.01 MB / 378.8 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6874, allocations: 0 / 0.5118 GB, free: 42.01 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004211/0.6916, allocations: 2.255 MB / 0.514 GB, free: 39.75 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.0004506/0.6921, allocations: 296.9 kB / 0.5143 GB, free: 39.45 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.005221/0.6973, allocations: 4.459 MB / 0.5187 GB, free: 34.95 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.6973, allocations: 4 kB / 0.5187 GB, free: 34.95 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002376/0.6997, allocations: 2.449 MB / 0.5211 GB, free: 32.46 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/0.7018, allocations: 0.8098 MB / 0.5219 GB, free: 31.69 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01594/0.7178, allocations: 13.4 MB / 0.5349 GB, free: 17.96 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001708/0.7195, allocations: 2.493 MB / 0.5374 GB, free: 15.44 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002809/0.7223, allocations: 1.818 MB / 0.5391 GB, free: 13.62 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006141/0.7229, allocations: 344.4 kB / 0.5395 GB, free: 13.28 MB / 378.8 MB Notification: Performance of SimCode: time 2.235e-06/0.7229, allocations: 0 / 0.5395 GB, free: 13.28 MB / 378.8 MB Notification: Performance of Templates: time 0.1723/0.8952, allocations: 55.33 MB / 0.5935 GB, free: 111.9 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.731992419110611]