Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00193/0.00193, allocations: 106 kB / 21.18 MB, free: 0.707 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.002284/0.002284, allocations: 183.9 kB / 24.47 MB, free: 4.074 MB / 14.72 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 1.429/1.429, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] 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.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_3.2.3_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 51.92 kB / 347.7 MB, free: 9.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2739, allocations: 49.15 MB / 396.8 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007055/0.2809, allocations: 7.262 MB / 404.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004143/0.2851, allocations: 2.258 MB / 406.3 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007973/0.2859, allocations: 64.75 kB / 406.4 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009229/0.2868, allocations: 453.9 kB / 406.8 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002071/0.2889, allocations: 0.906 MB / 407.7 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007749/0.2896, allocations: 379.4 kB / 408.1 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003609/0.2933, allocations: 3.144 MB / 411.3 MB, free: 172 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00228/0.2955, allocations: 1.556 MB / 412.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00221/0.2977, allocations: 1.447 MB / 414.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002508/0.3003, allocations: 1.712 MB / 416 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006369/0.3009, allocations: 358 kB / 416.3 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.3021, allocations: 478.9 kB / 416.8 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008724/0.3029, allocations: 0.9077 MB / 417.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002097/0.305, allocations: 1.607 MB / 419.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005896/0.3109, allocations: 4.671 MB / 424 MB, free: 8.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.3109, allocations: 0 / 424 MB, free: 8.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3109, allocations: 1 kB / 424 MB, free: 8.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001167/0.311, allocations: 4 kB / 424 MB, free: 8.086 MB / 334.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.009521/0.3206, allocations: 3.626 MB / 427.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3206, allocations: 11.98 kB / 427.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003676/0.3243, allocations: 0.7055 MB / 428.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003712/0.328, allocations: 1.65 MB / 430 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.3282, allocations: 197.7 kB / 430.2 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005282/0.3287, allocations: 272.1 kB / 430.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006643/0.3353, allocations: 3.607 MB / 434 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.518e-05/0.3354, allocations: 0 / 434 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002583/0.3356, allocations: 108 kB / 434.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000106/0.3357, allocations: 113.3 kB / 434.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00533/0.3411, allocations: 3.089 MB / 437.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01667/0.3577, allocations: 10.24 MB / 447.6 MB, free: 0 / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003993/0.3617, allocations: 1.882 MB / 449.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.3631, allocations: 0.8667 MB / 450.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00395/0.3671, allocations: 2.218 MB / 452.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.3671, allocations: 43.44 kB / 452.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 2.295e-06/0.3671, allocations: 0 / 452.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.006133/0.3732, allocations: 2.538 MB / 455.1 MB, free: 8.418 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.3733, allocations: 89.98 kB / 455.2 MB, free: 8.312 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/0.3753, allocations: 1.374 MB / 456.6 MB, free: 6.926 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.05e-05/0.3754, allocations: 45.7 kB / 456.6 MB, free: 6.875 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009144/0.3764, allocations: 1.199 MB / 457.8 MB, free: 5.664 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003084/0.3767, allocations: 384.8 kB / 458.2 MB, free: 5.285 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000343/0.377, allocations: 218.9 kB / 458.4 MB, free: 5.066 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.3772, allocations: 349.9 kB / 458.8 MB, free: 4.719 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009952/0.3782, allocations: 0.5764 MB / 459.3 MB, free: 4.141 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.3793, allocations: 0.8652 MB / 460.2 MB, free: 3.164 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002195/0.3815, allocations: 1.486 MB / 461.7 MB, free: 1.559 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.3815, allocations: 4 kB / 461.7 MB, free: 1.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003561/0.3851, allocations: 1.982 MB / 463.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.3851, allocations: 8 kB / 463.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.3852, allocations: 8 kB / 463.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.3862, allocations: 413.3 kB / 464.1 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008575/0.3871, allocations: 227.6 kB / 464.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00851/0.3956, allocations: 6.425 MB / 470.7 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.3968, allocations: 151 kB / 470.9 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-05/0.3969, allocations: 47.98 kB / 470.9 MB, free: 8.059 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.001549/0.3984, allocations: 0.8642 MB / 471.8 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002699/0.3987, allocations: 147.2 kB / 471.9 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002947/0.4016, allocations: 1.652 MB / 473.6 MB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.4016, allocations: 11.98 kB / 473.6 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.4016, allocations: 8 kB / 473.6 MB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.4017, allocations: 3.984 kB / 473.6 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006395/0.408, allocations: 3.964 MB / 477.6 MB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.4081, allocations: 4 kB / 477.6 MB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005864/0.4086, allocations: 139.8 kB / 477.7 MB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009363/0.4096, allocations: 409.7 kB / 478.1 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.713e-05/0.4097, allocations: 35.98 kB / 478.2 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007774/0.4174, allocations: 6.437 MB / 484.6 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.4174, allocations: 4.031 kB / 484.6 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003955/0.4214, allocations: 2.501 MB / 487.1 MB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000434/0.4218, allocations: 174.9 kB / 487.3 MB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.422, allocations: 31.98 kB / 487.3 MB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007598/0.4228, allocations: 91.91 kB / 487.4 MB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002374/0.423, allocations: 108.5 kB / 487.5 MB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-05/0.4231, allocations: 31.98 kB / 487.5 MB, free: 7.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001393/0.4245, allocations: 0.9591 MB / 488.5 MB, free: 6.113 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4245, allocations: 0 / 488.5 MB, free: 6.113 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001912/0.4264, allocations: 0.6814 MB / 489.2 MB, free: 5.43 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,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].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.0002768/0.4266, allocations: 147 kB / 489.3 MB, free: 5.273 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003034/0.4297, allocations: 1.768 MB / 491.1 MB, free: 3.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.4297, allocations: 4 kB / 491.1 MB, free: 3.473 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001779/0.4315, allocations: 1.101 MB / 492.2 MB, free: 2.344 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.4329, allocations: 304.4 kB / 492.5 MB, free: 2.047 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008058/0.4409, allocations: 4.688 MB / 497.2 MB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002312/0.4432, allocations: 2.18 MB / 499.4 MB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001381/0.4446, allocations: 347 kB / 499.7 MB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/0.4449, allocations: 83.42 kB / 499.8 MB, free: 10.65 MB / 414.1 MB Notification: Performance of SimCode: time 1.824e-06/0.4449, allocations: 4 kB / 499.8 MB, free: 10.65 MB / 414.1 MB Notification: Performance of Templates: time 0.04003/0.4849, allocations: 22.08 MB / 0.5096 GB, free: 4.527 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.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/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.2593484334647655]