Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.005705/0.005705, allocations: 106.2 kB / 21.98 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001637/0.001637, allocations: 212.4 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 259 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 64.77 kB / 379.8 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2374, allocations: 53.36 MB / 433.2 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009743/0.2472, allocations: 7.918 MB / 441.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005181/0.2524, allocations: 2.514 MB / 443.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009626/0.2533, allocations: 71.56 kB / 443.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.2544, allocations: 460.9 kB / 444.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002472/0.2568, allocations: 0.8782 MB / 445 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.2579, allocations: 418.2 kB / 445.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00413/0.262, allocations: 3.257 MB / 448.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002081/0.2641, allocations: 1.58 MB / 450.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001751/0.2659, allocations: 1.464 MB / 451.7 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002228/0.2681, allocations: 1.712 MB / 453.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004849/0.2686, allocations: 360 kB / 453.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000933/0.2695, allocations: 491.9 kB / 454.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008432/0.2704, allocations: 0.9114 MB / 455.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001813/0.2722, allocations: 1.61 MB / 456.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005172/0.2773, allocations: 4.727 MB / 461.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2773, allocations: 0 / 461.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2773, allocations: 0 / 461.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.47e-05/0.2774, allocations: 0 / 461.5 MB, free: 10.44 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.008412/0.2858, allocations: 3.654 MB / 465.2 MB, free: 6.742 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.2859, allocations: 8.031 kB / 465.2 MB, free: 6.734 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004109/0.29, allocations: 0.7406 MB / 465.9 MB, free: 5.992 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003588/0.2936, allocations: 1.803 MB / 467.7 MB, free: 4.145 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/0.2937, allocations: 197.7 kB / 467.9 MB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004806/0.2942, allocations: 264.1 kB / 468.2 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006424/0.3006, allocations: 3.618 MB / 471.8 MB, free: 20 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.414e-05/0.3007, allocations: 0 / 471.8 MB, free: 20 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00027/0.301, allocations: 112 kB / 471.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001064/0.3011, allocations: 105.4 kB / 472 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005591/0.3067, allocations: 3.097 MB / 475.1 MB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01857/0.3252, allocations: 10.11 MB / 485.2 MB, free: 2.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004191/0.3294, allocations: 1.763 MB / 487 MB, free: 484 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.3311, allocations: 0.8684 MB / 487.8 MB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004618/0.3357, allocations: 2.195 MB / 490 MB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/0.3357, allocations: 47.44 kB / 490.1 MB, free: 13.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 3.016e-06/0.3357, allocations: 4 kB / 490.1 MB, free: 13.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.00692/0.3426, allocations: 2.495 MB / 492.6 MB, free: 10.81 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/0.3427, allocations: 89.98 kB / 492.7 MB, free: 10.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002241/0.345, allocations: 1.407 MB / 494.1 MB, free: 9.285 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001426/0.3451, allocations: 41.7 kB / 494.1 MB, free: 9.238 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001128/0.3462, allocations: 1.203 MB / 495.3 MB, free: 8.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003898/0.3466, allocations: 388.8 kB / 495.7 MB, free: 7.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000358/0.347, allocations: 218.9 kB / 495.9 MB, free: 7.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.3472, allocations: 353.9 kB / 496.3 MB, free: 7.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.3482, allocations: 0.5647 MB / 496.8 MB, free: 6.504 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.3495, allocations: 0.8412 MB / 497.7 MB, free: 5.551 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002325/0.3518, allocations: 1.463 MB / 499.1 MB, free: 3.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.3518, allocations: 4 kB / 499.1 MB, free: 3.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003784/0.3556, allocations: 1.954 MB / 0.4893 GB, free: 2.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.3556, allocations: 8 kB / 0.4893 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.3556, allocations: 12 kB / 0.4894 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.3568, allocations: 407.1 kB / 0.4897 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008536/0.3576, allocations: 215.7 kB / 0.49 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008556/0.3662, allocations: 6.325 MB / 0.4961 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.3672, allocations: 143 kB / 0.4963 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.3673, allocations: 51.98 kB / 0.4963 GB, free: 10.63 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.001494/0.3688, allocations: 0.8681 MB / 0.4972 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002992/0.3691, allocations: 151.2 kB / 0.4973 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003201/0.3723, allocations: 1.636 MB / 0.4989 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.3723, allocations: 11.94 kB / 0.4989 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/0.3723, allocations: 8 kB / 0.4989 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.3723, allocations: 3.984 kB / 0.4989 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006757/0.3791, allocations: 3.906 MB / 0.5027 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.3791, allocations: 4 kB / 0.5027 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005888/0.3797, allocations: 131.8 kB / 0.5029 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009682/0.3807, allocations: 407.5 kB / 0.5033 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.751e-05/0.3807, allocations: 31.97 kB / 0.5033 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008452/0.3892, allocations: 6.302 MB / 0.5094 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3892, allocations: 0 / 0.5094 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004583/0.3938, allocations: 2.482 MB / 0.5119 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005434/0.3943, allocations: 174.9 kB / 0.512 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/0.3945, allocations: 27.98 kB / 0.5121 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007874/0.3953, allocations: 87.92 kB / 0.5121 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002758/0.3955, allocations: 104.6 kB / 0.5122 GB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.391e-05/0.3956, allocations: 39.98 kB / 0.5123 GB, free: 9.906 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001638/0.3973, allocations: 0.9795 MB / 0.5132 GB, free: 8.922 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3973, allocations: 0 / 0.5132 GB, free: 8.922 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001965/0.3992, allocations: 0.6891 MB / 0.5139 GB, free: 8.23 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.0003399/0.3996, allocations: 159.1 kB / 0.5141 GB, free: 8.062 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003242/0.4028, allocations: 1.733 MB / 0.5158 GB, free: 6.297 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4028, allocations: 0 / 0.5158 GB, free: 6.297 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001926/0.4047, allocations: 1.09 MB / 0.5168 GB, free: 5.184 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.4062, allocations: 308 kB / 0.5171 GB, free: 4.887 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007836/0.4141, allocations: 4.643 MB / 0.5217 GB, free: 180 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002046/0.4161, allocations: 2.128 MB / 0.5237 GB, free: 14.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000407/0.4165, allocations: 103.4 kB / 0.5238 GB, free: 13.91 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4165, allocations: 0 / 0.5238 GB, free: 13.91 MB / 446.1 MB Notification: Performance of Templates: time 0.2297/0.6462, allocations: 53.69 MB / 0.5763 GB, free: 70.02 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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: 11.04900754103437]