Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.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.00133/0.001331, allocations: 115.5 kB / 18.41 MB, free: 4.672 MB / 14.72 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.001372/0.001372, allocations: 192.3 kB / 21.35 MB, free: 1.738 MB / 14.72 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 1.539/1.539, allocations: 222.9 MB / 247.1 MB, free: 4.098 MB / 190.1 MB " [Timeout remaining time 178] 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.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 51.91 kB / 358.7 MB, free: 8.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.118, allocations: 49.43 MB / 408.1 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009418/0.1275, allocations: 7.256 MB / 415.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004631/0.1321, allocations: 2.176 MB / 417.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009696/0.1331, allocations: 51.81 kB / 417.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.1343, allocations: 441 kB / 418 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002695/0.137, allocations: 0.8925 MB / 418.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008975/0.1379, allocations: 359.3 kB / 419.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004479/0.1424, allocations: 3.155 MB / 422.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003814/0.1463, allocations: 2.895 MB / 425.3 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002372/0.1487, allocations: 1.41 MB / 426.7 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003331/0.152, allocations: 1.693 MB / 428.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009888/0.1531, allocations: 360 kB / 428.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.1546, allocations: 479.9 kB / 429.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009699/0.1556, allocations: 0.8998 MB / 430.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2285/0.3841, allocations: 1.607 MB / 431.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004679/0.3888, allocations: 4.683 MB / 436.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3889, allocations: 0 / 436.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3889, allocations: 0 / 436.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001413/0.389, allocations: 0 / 436.4 MB, free: 9.066 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.009611/0.3986, allocations: 3.7 MB / 440.1 MB, free: 7.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.3987, allocations: 10.97 kB / 440.1 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003947/0.4027, allocations: 0.7035 MB / 440.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003749/0.4064, allocations: 1.803 MB / 442.6 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.4066, allocations: 199.8 kB / 442.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006163/0.4072, allocations: 262.3 kB / 443.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006245/0.4135, allocations: 3.617 MB / 446.7 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.226e-05/0.4136, allocations: 0 / 446.7 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002539/0.4138, allocations: 108 kB / 446.8 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/0.4139, allocations: 105.6 kB / 446.9 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004786/0.4187, allocations: 3.099 MB / 450 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01335/0.4321, allocations: 10.26 MB / 460.3 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005315/0.4374, allocations: 4.569 MB / 464.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001522/0.439, allocations: 0.9501 MB / 465.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004288/0.4433, allocations: 2.388 MB / 468.2 MB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.528e-05/0.4434, allocations: 61.17 kB / 468.2 MB, free: 9.766 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 2.955e-06/0.4434, allocations: 0 / 468.2 MB, free: 9.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.006463/0.4499, allocations: 2.648 MB / 470.9 MB, free: 8.332 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.45, allocations: 89.17 kB / 471 MB, free: 8.234 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/0.452, allocations: 1.368 MB / 472.3 MB, free: 7.504 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.4521, allocations: 50.98 kB / 472.4 MB, free: 7.453 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001/0.4531, allocations: 1.194 MB / 473.6 MB, free: 6.289 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003548/0.4535, allocations: 383.6 kB / 474 MB, free: 5.922 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003707/0.4539, allocations: 213.8 kB / 474.2 MB, free: 5.707 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.4541, allocations: 361.2 kB / 474.5 MB, free: 5.352 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.4552, allocations: 0.5608 MB / 475.1 MB, free: 4.793 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.4564, allocations: 0.8519 MB / 475.9 MB, free: 3.832 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002173/0.4586, allocations: 1.454 MB / 477.4 MB, free: 2.301 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.4586, allocations: 4 kB / 477.4 MB, free: 2.297 MB / 366.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003707/0.4623, allocations: 1.979 MB / 479.4 MB, free: 380 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.4624, allocations: 8 kB / 479.4 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.4624, allocations: 8 kB / 479.4 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/0.4635, allocations: 401.2 kB / 479.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000843/0.4644, allocations: 213.5 kB / 480 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008775/0.4731, allocations: 6.536 MB / 486.5 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.4745, allocations: 147 kB / 486.7 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002178/0.4747, allocations: 47.98 kB / 486.7 MB, free: 8.809 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001923/0.4766, allocations: 0.87 MB / 487.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005062/0.4771, allocations: 143.1 kB / 487.7 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003472/0.4806, allocations: 1.65 MB / 489.4 MB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.4807, allocations: 9.406 kB / 489.4 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.121e-05/0.4807, allocations: 8 kB / 489.4 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.4807, allocations: 3.984 kB / 489.4 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007953/0.4887, allocations: 3.917 MB / 493.3 MB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.4887, allocations: 4 kB / 493.3 MB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000637/0.4893, allocations: 135.1 kB / 493.5 MB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001038/0.4904, allocations: 395.6 kB / 493.8 MB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-05/0.4905, allocations: 31.98 kB / 493.9 MB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008446/0.499, allocations: 6.514 MB / 0.4887 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.499, allocations: 7.969 kB / 0.4887 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004639/0.5036, allocations: 2.488 MB / 0.4911 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005745/0.5042, allocations: 244 kB / 0.4913 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000347/0.5046, allocations: 28 kB / 0.4914 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009756/0.5056, allocations: 91.91 kB / 0.4914 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002828/0.5059, allocations: 92.67 kB / 0.4915 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.694e-05/0.506, allocations: 35.98 kB / 0.4916 GB, free: 7.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001721/0.5077, allocations: 0.9697 MB / 0.4925 GB, free: 6.887 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5077, allocations: 0 / 0.4925 GB, free: 6.887 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002177/0.5099, allocations: 0.6774 MB / 0.4932 GB, free: 6.207 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,loss_m.Phi.re,loss_m.Phi.im) * 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004083/0.5103, allocations: 157 kB / 0.4933 GB, free: 6.055 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003473/0.5138, allocations: 1.789 MB / 0.4951 GB, free: 4.273 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.5138, allocations: 0 / 0.4951 GB, free: 4.273 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002028/0.5159, allocations: 1.13 MB / 0.4962 GB, free: 3.133 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/0.5178, allocations: 308 kB / 0.4965 GB, free: 2.836 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008867/0.5267, allocations: 4.59 MB / 0.5009 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0024/0.5291, allocations: 2.117 MB / 0.503 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004743/0.5296, allocations: 95.42 kB / 0.5031 GB, free: 11.95 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5296, allocations: 2.625 kB / 0.5031 GB, free: 11.95 MB / 414.1 MB Notification: Performance of Templates: time 0.07224/0.6019, allocations: 52.78 MB / 0.5546 GB, free: 7.258 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.220335650956258]