Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001304/0.001304, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.001395/0.001395, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 230.2 MB / 255.2 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 63.91 kB / 374.5 MB, free: 9.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09397/0.09575, allocations: 53.33 MB / 427.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009892/0.1056, allocations: 7.889 MB / 435.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004907/0.1105, allocations: 2.503 MB / 438.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007196/0.1113, allocations: 55.81 kB / 438.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009967/0.1123, allocations: 464.9 kB / 438.7 MB, free: 9.562 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002221/0.1145, allocations: 0.8781 MB / 439.6 MB, free: 8.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009035/0.1154, allocations: 393.8 kB / 440 MB, free: 8.297 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003956/0.1193, allocations: 3.256 MB / 443.3 MB, free: 5.031 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002546/0.1219, allocations: 2.122 MB / 445.4 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.1236, allocations: 1.425 MB / 446.8 MB, free: 1.414 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1825/0.3061, allocations: 1.719 MB / 448.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009934/0.3071, allocations: 358.4 kB / 448.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.3083, allocations: 497.4 kB / 449.4 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006512/0.3089, allocations: 0.9073 MB / 450.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001749/0.3107, allocations: 1.618 MB / 451.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005042/0.3157, allocations: 4.716 MB / 456.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3157, allocations: 3.656 kB / 456.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3157, allocations: 0.9062 kB / 456.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001097/0.3158, allocations: 1.188 kB / 456.6 MB, free: 10.38 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.008961/0.3248, allocations: 3.715 MB / 460.3 MB, free: 8.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.3248, allocations: 9.906 kB / 460.3 MB, free: 8.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004207/0.329, allocations: 0.7467 MB / 461.1 MB, free: 8.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003446/0.3325, allocations: 1.854 MB / 462.9 MB, free: 7.617 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.3326, allocations: 201.8 kB / 463.1 MB, free: 7.523 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004489/0.3331, allocations: 258.5 kB / 463.4 MB, free: 7.441 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006293/0.3394, allocations: 3.627 MB / 467 MB, free: 6.062 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.76e-05/0.3394, allocations: 0 / 467 MB, free: 6.062 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002817/0.3397, allocations: 106 kB / 467.1 MB, free: 5.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-05/0.3398, allocations: 105.9 kB / 467.2 MB, free: 5.973 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005144/0.3449, allocations: 3.105 MB / 470.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01575/0.3607, allocations: 10.27 MB / 480.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005404/0.3661, allocations: 4.469 MB / 485.1 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.3676, allocations: 0.8722 MB / 485.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004602/0.3722, allocations: 2.649 MB / 488.6 MB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/0.3722, allocations: 53.67 kB / 488.6 MB, free: 7.305 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.156e-06/0.3722, allocations: 0 / 488.6 MB, free: 7.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.006312/0.3786, allocations: 2.643 MB / 491.3 MB, free: 5.871 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.3786, allocations: 89.27 kB / 491.4 MB, free: 5.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/0.3805, allocations: 1.404 MB / 492.8 MB, free: 5.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-05/0.3806, allocations: 46.64 kB / 492.8 MB, free: 4.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008864/0.3815, allocations: 1.2 MB / 494 MB, free: 3.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003215/0.3818, allocations: 388.3 kB / 494.4 MB, free: 3.598 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003432/0.3821, allocations: 221.5 kB / 494.6 MB, free: 3.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.3823, allocations: 357.1 kB / 495 MB, free: 3.125 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008694/0.3832, allocations: 0.5619 MB / 495.5 MB, free: 2.844 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.3843, allocations: 0.8487 MB / 496.4 MB, free: 2.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/0.3864, allocations: 1.462 MB / 497.8 MB, free: 1.246 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3864, allocations: 4 kB / 497.8 MB, free: 1.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003614/0.39, allocations: 1.959 MB / 499.8 MB, free: 15.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.39, allocations: 8 kB / 499.8 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.39, allocations: 11.19 kB / 499.8 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.3911, allocations: 397.7 kB / 0.4885 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008409/0.3919, allocations: 218.5 kB / 0.4887 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008097/0.4, allocations: 6.537 MB / 0.4951 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.4012, allocations: 139.1 kB / 0.4952 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.4013, allocations: 48 kB / 0.4953 GB, free: 7.766 MB / 398.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.001688/0.403, allocations: 0.8834 MB / 0.4961 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003252/0.4033, allocations: 143.1 kB / 0.4963 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003196/0.4065, allocations: 1.632 MB / 0.4978 GB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.4065, allocations: 15.47 kB / 0.4979 GB, free: 5.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.4065, allocations: 8 kB / 0.4979 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.4065, allocations: 7.969 kB / 0.4979 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007167/0.4137, allocations: 3.915 MB / 0.5017 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.4137, allocations: 0 / 0.5017 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005865/0.4143, allocations: 135 kB / 0.5018 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/0.4153, allocations: 401.9 kB / 0.5022 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.25e-05/0.4154, allocations: 31.98 kB / 0.5022 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008055/0.4235, allocations: 6.507 MB / 0.5086 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.4235, allocations: 7.969 kB / 0.5086 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004328/0.4278, allocations: 2.473 MB / 0.511 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000503/0.4283, allocations: 259.9 kB / 0.5113 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/0.4285, allocations: 24 kB / 0.5113 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008136/0.4293, allocations: 83.91 kB / 0.5114 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002505/0.4295, allocations: 104.4 kB / 0.5115 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.05e-05/0.4296, allocations: 31.98 kB / 0.5115 GB, free: 6.832 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001475/0.4311, allocations: 0.9795 MB / 0.5125 GB, free: 5.848 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4311, allocations: 0 / 0.5125 GB, free: 5.848 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001994/0.4331, allocations: 0.6891 MB / 0.5131 GB, free: 5.156 MB / 414.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.0003063/0.4334, allocations: 157.5 kB / 0.5133 GB, free: 5.008 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003143/0.4365, allocations: 1.738 MB / 0.515 GB, free: 3.277 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.4365, allocations: 4 kB / 0.515 GB, free: 3.273 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001902/0.4384, allocations: 1.088 MB / 0.516 GB, free: 2.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.44, allocations: 313.1 kB / 0.5163 GB, free: 1.883 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007554/0.4476, allocations: 4.612 MB / 0.5208 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001978/0.4495, allocations: 2.128 MB / 0.5229 GB, free: 11.06 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004092/0.4499, allocations: 103.4 kB / 0.523 GB, free: 10.96 MB / 430.1 MB Notification: Performance of SimCode: time 1.643e-06/0.4499, allocations: 0 / 0.523 GB, free: 10.96 MB / 430.1 MB Notification: Performance of Templates: time 0.0674/0.5173, allocations: 53.7 MB / 0.5755 GB, free: 5.34 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.85126298200339]