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.001323/0.001323, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001552/0.001552, allocations: 217 kB / 24.5 MB, free: 4.133 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.514/1.514, allocations: 230.5 MB / 258.1 MB, free: 8.02 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.002071/0.002071, allocations: 67.88 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2644, allocations: 53.4 MB / 432.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.0106/0.275, allocations: 7.921 MB / 440.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005237/0.2802, allocations: 2.515 MB / 442.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.2814, allocations: 71.56 kB / 443 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.2828, allocations: 464.9 kB / 443.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00286/0.2857, allocations: 0.8782 MB / 444.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.2869, allocations: 407.2 kB / 444.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004822/0.2918, allocations: 3.267 MB / 447.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002755/0.2945, allocations: 1.576 MB / 449.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002212/0.2967, allocations: 1.46 MB / 451 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003061/0.2998, allocations: 1.712 MB / 452.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009664/0.3008, allocations: 364 kB / 453.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.3024, allocations: 491.9 kB / 453.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001253/0.3036, allocations: 0.9114 MB / 454.4 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002975/0.3066, allocations: 1.618 MB / 456.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008028/0.3146, allocations: 4.715 MB / 460.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.3146, allocations: 0 / 460.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3146, allocations: 0 / 460.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001524/0.3148, allocations: 0 / 460.8 MB, free: 10.28 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.01081/0.3256, allocations: 3.651 MB / 464.4 MB, free: 6.582 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3256, allocations: 8.031 kB / 464.4 MB, free: 6.574 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004761/0.3304, allocations: 0.7484 MB / 465.2 MB, free: 5.824 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004751/0.3352, allocations: 1.791 MB / 467 MB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002362/0.3354, allocations: 197.7 kB / 467.2 MB, free: 3.793 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008535/0.3363, allocations: 268.1 kB / 467.4 MB, free: 3.531 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009052/0.3453, allocations: 3.618 MB / 471 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-05/0.3454, allocations: 0 / 471 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006107/0.346, allocations: 111.9 kB / 471.2 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001335/0.3461, allocations: 105.4 kB / 471.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0068/0.3529, allocations: 3.105 MB / 474.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02113/0.3741, allocations: 10.1 MB / 484.5 MB, free: 2.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004226/0.3783, allocations: 1.774 MB / 486.2 MB, free: 316 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/0.3799, allocations: 0.8648 MB / 487.1 MB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004687/0.3846, allocations: 2.187 MB / 489.3 MB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.68e-05/0.3846, allocations: 55.36 kB / 489.3 MB, free: 13.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 2.985e-06/0.3846, allocations: 0 / 489.3 MB, free: 13.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.006833/0.3915, allocations: 2.491 MB / 491.8 MB, free: 10.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.3915, allocations: 85.98 kB / 491.9 MB, free: 10.55 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002535/0.3941, allocations: 1.419 MB / 493.3 MB, free: 9.125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.3942, allocations: 41.7 kB / 493.4 MB, free: 9.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001006/0.3952, allocations: 1.207 MB / 494.6 MB, free: 7.859 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003922/0.3956, allocations: 380.8 kB / 495 MB, free: 7.484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004097/0.396, allocations: 222.9 kB / 495.2 MB, free: 7.262 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.3962, allocations: 353.9 kB / 495.5 MB, free: 6.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.3972, allocations: 0.5608 MB / 496.1 MB, free: 6.348 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/0.3986, allocations: 0.849 MB / 496.9 MB, free: 5.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002371/0.4009, allocations: 1.463 MB / 498.4 MB, free: 3.812 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/0.4009, allocations: 4 kB / 498.4 MB, free: 3.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003856/0.4048, allocations: 1.962 MB / 0.4886 GB, free: 1.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/0.4048, allocations: 8 kB / 0.4886 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/0.4049, allocations: 8 kB / 0.4887 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.406, allocations: 400.3 kB / 0.489 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008781/0.4069, allocations: 215.6 kB / 0.4892 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008752/0.4156, allocations: 6.331 MB / 0.4954 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.4168, allocations: 143 kB / 0.4956 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/0.417, allocations: 52 kB / 0.4956 GB, free: 10.46 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.001762/0.4188, allocations: 0.8721 MB / 0.4965 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004411/0.4192, allocations: 143.1 kB / 0.4966 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00345/0.4226, allocations: 1.632 MB / 0.4982 GB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.4227, allocations: 16 kB / 0.4982 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.222e-05/0.4227, allocations: 7.984 kB / 0.4982 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/0.4227, allocations: 7.922 kB / 0.4982 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008218/0.4309, allocations: 3.898 MB / 0.502 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.4309, allocations: 4 kB / 0.502 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006003/0.4315, allocations: 131.8 kB / 0.5022 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001058/0.4326, allocations: 401.6 kB / 0.5025 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-05/0.4327, allocations: 31.98 kB / 0.5026 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008648/0.4413, allocations: 6.303 MB / 0.5087 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.4413, allocations: 3.938 kB / 0.5087 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004762/0.4461, allocations: 2.478 MB / 0.5111 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005171/0.4466, allocations: 178.9 kB / 0.5113 GB, free: 9.996 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002865/0.4469, allocations: 24 kB / 0.5113 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009013/0.4478, allocations: 87.91 kB / 0.5114 GB, free: 9.887 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000258/0.448, allocations: 112.5 kB / 0.5115 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.404e-05/0.4481, allocations: 35.98 kB / 0.5116 GB, free: 9.742 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001761/0.4499, allocations: 0.9795 MB / 0.5125 GB, free: 8.758 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4499, allocations: 0 / 0.5125 GB, free: 8.758 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002175/0.4521, allocations: 0.6852 MB / 0.5132 GB, free: 8.07 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.0003741/0.4525, allocations: 159 kB / 0.5133 GB, free: 7.902 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00362/0.4561, allocations: 1.728 MB / 0.515 GB, free: 6.141 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.4561, allocations: 0 / 0.515 GB, free: 6.141 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002209/0.4583, allocations: 1.09 MB / 0.5161 GB, free: 5.027 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/0.4604, allocations: 318.9 kB / 0.5164 GB, free: 4.719 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009764/0.4702, allocations: 4.639 MB / 0.5209 GB, free: 12 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002659/0.4728, allocations: 2.125 MB / 0.523 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005066/0.4733, allocations: 103.4 kB / 0.5231 GB, free: 13.75 MB / 446.1 MB Notification: Performance of SimCode: time 1.673e-06/0.4733, allocations: 0 / 0.5231 GB, free: 13.75 MB / 446.1 MB Notification: Performance of Templates: time 0.2605/0.7338, allocations: 53.7 MB / 0.5755 GB, free: 69.7 MB / 446.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/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_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: 11.219941704999655]