Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.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.002025/0.002025, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002449/0.002449, allocations: 217.2 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.576/1.576, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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.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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 55.89 kB / 378.3 MB, free: 2.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2427, allocations: 53.36 MB / 431.6 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01041/0.2532, allocations: 7.911 MB / 439.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005179/0.2583, allocations: 2.511 MB / 442.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.2596, allocations: 75.56 kB / 442.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.261, allocations: 468.8 kB / 442.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002921/0.2639, allocations: 0.8821 MB / 443.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.2651, allocations: 409.3 kB / 443.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004688/0.2698, allocations: 3.254 MB / 447.1 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002726/0.2726, allocations: 1.584 MB / 448.7 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002124/0.2747, allocations: 1.453 MB / 450.2 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002952/0.2776, allocations: 1.716 MB / 451.9 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009206/0.2786, allocations: 360 kB / 452.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001638/0.2802, allocations: 495.9 kB / 452.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00134/0.2815, allocations: 0.9114 MB / 453.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00343/0.285, allocations: 1.614 MB / 455.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00593/0.2909, allocations: 4.719 MB / 460 MB, free: 10.42 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2909, allocations: 0 / 460 MB, free: 10.42 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2909, allocations: 0 / 460 MB, free: 10.42 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.417e-05/0.291, allocations: 4 kB / 460 MB, free: 10.42 MB / 366.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.008658/0.2997, allocations: 3.644 MB / 463.6 MB, free: 6.727 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.2997, allocations: 12.03 kB / 463.6 MB, free: 6.715 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004148/0.3038, allocations: 0.7406 MB / 464.4 MB, free: 5.973 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003982/0.3078, allocations: 1.795 MB / 466.2 MB, free: 4.133 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/0.308, allocations: 201.7 kB / 466.4 MB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004835/0.3085, allocations: 272.1 kB / 466.6 MB, free: 3.668 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006887/0.3154, allocations: 3.614 MB / 470.2 MB, free: 16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.766e-05/0.3154, allocations: 4 kB / 470.2 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002523/0.3157, allocations: 104 kB / 470.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000166/0.3158, allocations: 105.3 kB / 470.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006169/0.322, allocations: 3.105 MB / 473.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01775/0.3398, allocations: 10.11 MB / 483.7 MB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004047/0.3438, allocations: 1.774 MB / 485.4 MB, free: 444 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001452/0.3453, allocations: 0.8723 MB / 486.3 MB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004376/0.3496, allocations: 2.191 MB / 488.5 MB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.3497, allocations: 43.44 kB / 488.5 MB, free: 13.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 2.935e-06/0.3497, allocations: 0 / 488.5 MB, free: 13.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.006565/0.3562, allocations: 2.495 MB / 491 MB, free: 10.78 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/0.3563, allocations: 89.98 kB / 491.1 MB, free: 10.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/0.3585, allocations: 1.407 MB / 492.5 MB, free: 9.254 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.432e-05/0.3586, allocations: 49.7 kB / 492.6 MB, free: 9.199 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001025/0.3596, allocations: 1.203 MB / 493.8 MB, free: 7.984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000442/0.3601, allocations: 380.8 kB / 494.1 MB, free: 7.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003755/0.3605, allocations: 218.9 kB / 494.4 MB, free: 7.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.3606, allocations: 349.9 kB / 494.7 MB, free: 7.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009827/0.3616, allocations: 0.5686 MB / 495.3 MB, free: 6.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.3628, allocations: 0.8457 MB / 496.1 MB, free: 5.516 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002339/0.3652, allocations: 1.459 MB / 497.6 MB, free: 3.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.3652, allocations: 4 kB / 497.6 MB, free: 3.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00359/0.3688, allocations: 1.958 MB / 499.5 MB, free: 1.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.3688, allocations: 8 kB / 499.5 MB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.3688, allocations: 8 kB / 499.6 MB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.3698, allocations: 404.7 kB / 500 MB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008361/0.3707, allocations: 215.7 kB / 0.4884 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008155/0.3788, allocations: 6.334 MB / 0.4946 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009617/0.3798, allocations: 147 kB / 0.4948 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-05/0.3799, allocations: 47.98 kB / 0.4948 GB, free: 10.59 MB / 414.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.001588/0.3815, allocations: 0.8759 MB / 0.4957 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003072/0.3818, allocations: 143.1 kB / 0.4958 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003112/0.3849, allocations: 1.632 MB / 0.4974 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.3849, allocations: 19.88 kB / 0.4974 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.3849, allocations: 8 kB / 0.4974 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.3849, allocations: 7.969 kB / 0.4974 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006892/0.3918, allocations: 3.906 MB / 0.5012 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.3918, allocations: 0 / 0.5012 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005853/0.3924, allocations: 128 kB / 0.5014 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009666/0.3934, allocations: 401.3 kB / 0.5017 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.596e-05/0.3934, allocations: 31.98 kB / 0.5018 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008147/0.4016, allocations: 6.302 MB / 0.5079 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.4016, allocations: 4.031 kB / 0.5079 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004242/0.4058, allocations: 2.486 MB / 0.5104 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004361/0.4063, allocations: 174.9 kB / 0.5105 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.4064, allocations: 31.94 kB / 0.5106 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000785/0.4072, allocations: 83.91 kB / 0.5106 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002376/0.4075, allocations: 112.6 kB / 0.5108 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.138e-05/0.4075, allocations: 27.98 kB / 0.5108 GB, free: 9.871 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001452/0.409, allocations: 0.9834 MB / 0.5117 GB, free: 8.883 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.409, allocations: 0 / 0.5117 GB, free: 8.883 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001808/0.4108, allocations: 0.6813 MB / 0.5124 GB, free: 8.199 MB / 430.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.0003011/0.4111, allocations: 159.1 kB / 0.5126 GB, free: 8.031 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003155/0.4142, allocations: 1.732 MB / 0.5142 GB, free: 6.266 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4143, allocations: 0 / 0.5142 GB, free: 6.266 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0019/0.4162, allocations: 1.086 MB / 0.5153 GB, free: 5.156 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.4176, allocations: 307.4 kB / 0.5156 GB, free: 4.859 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007662/0.4252, allocations: 4.689 MB / 0.5202 GB, free: 108 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002189/0.4274, allocations: 2.18 MB / 0.5223 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009606/0.4284, allocations: 343 kB / 0.5226 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/0.4286, allocations: 99.41 kB / 0.5227 GB, free: 13.45 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4286, allocations: 0 / 0.5227 GB, free: 13.45 MB / 446.1 MB Notification: Performance of Templates: time 0.2151/0.6437, allocations: 22 MB / 0.5442 GB, free: 95.12 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.584632880985737]