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.001504/0.001504, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001567/0.001567, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.001609/0.001609, allocations: 55.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2624, allocations: 53.36 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009697/0.2721, allocations: 6.938 MB / 439.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005179/0.2773, allocations: 2.382 MB / 441.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.2786, allocations: 71.56 kB / 441.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.28, allocations: 460.8 kB / 442.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002894/0.2829, allocations: 0.8587 MB / 443 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.2841, allocations: 405.1 kB / 443.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004218/0.2883, allocations: 3.246 MB / 446.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002097/0.2904, allocations: 1.541 MB / 448.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001835/0.2922, allocations: 1.464 MB / 449.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002406/0.2946, allocations: 1.705 MB / 451.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000562/0.2952, allocations: 360 kB / 451.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009936/0.2962, allocations: 483.9 kB / 452.2 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008122/0.297, allocations: 0.9075 MB / 453.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001854/0.2988, allocations: 1.311 MB / 454.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005217/0.3041, allocations: 4.744 MB / 459.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3041, allocations: 0 / 459.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3041, allocations: 0 / 459.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.478e-05/0.3041, allocations: 0 / 459.2 MB, free: 11.74 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.008855/0.313, allocations: 3.644 MB / 462.8 MB, free: 8.051 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.313, allocations: 8.031 kB / 462.8 MB, free: 8.043 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003947/0.317, allocations: 0.7484 MB / 463.6 MB, free: 7.293 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00394/0.3209, allocations: 1.795 MB / 465.4 MB, free: 5.453 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/0.3211, allocations: 201.7 kB / 465.6 MB, free: 5.254 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004289/0.3215, allocations: 264.1 kB / 465.8 MB, free: 4.996 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006332/0.3278, allocations: 3.836 MB / 469.7 MB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.466e-05/0.3279, allocations: 0 / 469.7 MB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002564/0.3281, allocations: 120 kB / 469.8 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/0.3283, allocations: 105.4 kB / 469.9 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00533/0.3336, allocations: 3.101 MB / 473 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01621/0.3498, allocations: 8.916 MB / 481.9 MB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004019/0.3538, allocations: 1.746 MB / 483.6 MB, free: 2.727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.3552, allocations: 0.8645 MB / 484.5 MB, free: 1.855 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004/0.3592, allocations: 2.004 MB / 486.5 MB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.3593, allocations: 47.44 kB / 486.6 MB, free: 15.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 3.076e-06/0.3593, allocations: 0 / 486.6 MB, free: 15.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.006316/0.3656, allocations: 2.491 MB / 489.1 MB, free: 13.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.3657, allocations: 93.97 kB / 489.1 MB, free: 13.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/0.3677, allocations: 1.363 MB / 490.5 MB, free: 11.78 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.191e-05/0.3678, allocations: 41.7 kB / 490.5 MB, free: 11.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008923/0.3687, allocations: 1.206 MB / 491.8 MB, free: 10.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003225/0.369, allocations: 376.8 kB / 492.1 MB, free: 10.14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003472/0.3693, allocations: 222.8 kB / 492.3 MB, free: 9.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3695, allocations: 361.9 kB / 492.7 MB, free: 9.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009903/0.3705, allocations: 0.5608 MB / 493.3 MB, free: 9 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.3717, allocations: 0.8457 MB / 494.1 MB, free: 8.043 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002217/0.3739, allocations: 1.463 MB / 495.6 MB, free: 6.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.3739, allocations: 4 kB / 495.6 MB, free: 6.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003603/0.3775, allocations: 1.954 MB / 497.5 MB, free: 4.496 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.3775, allocations: 12 kB / 497.5 MB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.3775, allocations: 8 kB / 497.5 MB, free: 4.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.3786, allocations: 402.8 kB / 497.9 MB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008184/0.3794, allocations: 211.7 kB / 498.1 MB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00793/0.3873, allocations: 6.205 MB / 0.4925 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.3884, allocations: 139.2 kB / 0.4927 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-05/0.3885, allocations: 51.98 kB / 0.4927 GB, free: 13.29 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.001642/0.3901, allocations: 0.872 MB / 0.4936 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002838/0.3904, allocations: 139.1 kB / 0.4937 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003025/0.3934, allocations: 1.636 MB / 0.4953 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.3934, allocations: 12 kB / 0.4953 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.3935, allocations: 8 kB / 0.4953 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.3935, allocations: 7.969 kB / 0.4953 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006331/0.3998, allocations: 3.373 MB / 0.4986 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.3998, allocations: 4 kB / 0.4986 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005885/0.4004, allocations: 127.9 kB / 0.4987 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009556/0.4014, allocations: 404.3 kB / 0.4991 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.957e-05/0.4014, allocations: 31.92 kB / 0.4991 GB, free: 6.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007723/0.4092, allocations: 6.162 MB / 0.5052 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.4092, allocations: 4 kB / 0.5052 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00414/0.4133, allocations: 2.478 MB / 0.5076 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004606/0.4138, allocations: 166.9 kB / 0.5077 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.4139, allocations: 31.98 kB / 0.5078 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007837/0.4147, allocations: 87.91 kB / 0.5079 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002297/0.4149, allocations: 96.69 kB / 0.508 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.941e-05/0.415, allocations: 31.98 kB / 0.508 GB, free: 13.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001332/0.4163, allocations: 0.9435 MB / 0.5089 GB, free: 12.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4163, allocations: 0 / 0.5089 GB, free: 12.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001842/0.4182, allocations: 0.693 MB / 0.5096 GB, free: 11.65 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.0003041/0.4185, allocations: 163 kB / 0.5097 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003111/0.4216, allocations: 1.732 MB / 0.5114 GB, free: 9.715 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.4216, allocations: 4 kB / 0.5114 GB, free: 9.711 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001839/0.4234, allocations: 1.086 MB / 0.5125 GB, free: 8.602 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.4249, allocations: 291.5 kB / 0.5128 GB, free: 8.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007725/0.4326, allocations: 4.647 MB / 0.5173 GB, free: 3.602 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00175/0.4344, allocations: 1.557 MB / 0.5188 GB, free: 2.004 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003943/0.4348, allocations: 103.4 kB / 0.5189 GB, free: 1.902 MB / 430.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4348, allocations: 0 / 0.5189 GB, free: 1.902 MB / 430.1 MB Notification: Performance of Templates: time 0.2442/0.6789, allocations: 54.34 MB / 0.572 GB, free: 72.98 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/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: 10.450072542764246]