Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001564/0.002643, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009669/0.0009669, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001415/0.002381, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8738/0.8738, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1337/1.008, allocations: 52.48 MB / 238.5 MB, free: 7.629 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.0.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.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 239.7 MB, free: 6.371 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.303e-05/1.455e-05, allocations: 5.688 kB / 239.7 MB, free: 6.367 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008187/0.008201, allocations: 7.015 MB / 246.8 MB, free: 15.33 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004234/0.01244, allocations: 2.269 MB / 249 MB, free: 13.07 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005738/0.01301, allocations: 67.56 kB / 249.1 MB, free: 13 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008786/0.01389, allocations: 481.6 kB / 249.6 MB, free: 12.53 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001991/0.01588, allocations: 0.9134 MB / 250.5 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006487/0.01653, allocations: 357.5 kB / 250.8 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00213/0.01866, allocations: 3.29 MB / 254.1 MB, free: 7.969 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.01991, allocations: 1.584 MB / 255.7 MB, free: 6.301 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002172/0.02209, allocations: 2.535 MB / 258.2 MB, free: 3.754 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.02347, allocations: 1.813 MB / 260 MB, free: 1.938 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003026/0.02377, allocations: 355.9 kB / 260.4 MB, free: 1.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005511/0.02432, allocations: 475.7 kB / 260.9 MB, free: 1.125 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004198/0.02474, allocations: 0.7402 MB / 261.6 MB, free: 392 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006917/0.02543, allocations: 0.9086 MB / 262.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001806/0.02724, allocations: 2.578 MB / 265.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.377e-05/0.02725, allocations: 0 / 265.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.02725, allocations: 0 / 265.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.962e-05/0.02728, allocations: 3.938 kB / 265.1 MB, free: 12.88 MB / 266.7 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.003745/0.03103, allocations: 3.994 MB / 269.1 MB, free: 8.828 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.76e-05/0.03106, allocations: 8.031 kB / 269.1 MB, free: 8.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/0.03286, allocations: 0.8356 MB / 269.9 MB, free: 7.984 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.03417, allocations: 1.023 MB / 270.9 MB, free: 6.918 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.169e-05/0.03427, allocations: 201.7 kB / 271.1 MB, free: 6.719 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002402/0.03451, allocations: 272.3 kB / 271.4 MB, free: 6.453 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/0.03644, allocations: 2.15 MB / 273.6 MB, free: 4.191 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.585e-05/0.03647, allocations: 3.938 kB / 273.6 MB, free: 4.188 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/0.03662, allocations: 112 kB / 273.7 MB, free: 4.078 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.904e-05/0.03669, allocations: 101.4 kB / 273.8 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008759/0.03757, allocations: 0.6186 MB / 274.4 MB, free: 3.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006031/0.0436, allocations: 6.353 MB / 280.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.04493, allocations: 1.087 MB / 281.8 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003312/0.04526, allocations: 340.9 kB / 282.2 MB, free: 11.22 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.04537, allocations: 49.28 kB / 282.2 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.0454, allocations: 47.88 kB / 282.3 MB, free: 11.12 MB / 282.7 MB Notification: Performance of pre-optimization done (n=132): time 2.504e-06/0.0454, allocations: 0 / 282.3 MB, free: 11.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.002258/0.04766, allocations: 1.382 MB / 283.6 MB, free: 9.723 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.04769, allocations: 94.42 kB / 283.7 MB, free: 9.609 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006624/0.04836, allocations: 0.8381 MB / 284.6 MB, free: 8.758 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.658e-05/0.04841, allocations: 53.7 kB / 284.6 MB, free: 8.699 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/0.04876, allocations: 0.9707 MB / 285.6 MB, free: 7.715 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.04896, allocations: 475.8 kB / 286.1 MB, free: 7.246 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.04917, allocations: 227.4 kB / 286.3 MB, free: 7.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.626e-05/0.04926, allocations: 369.8 kB / 286.6 MB, free: 6.652 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.04943, allocations: 131.9 kB / 286.8 MB, free: 6.523 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.0497, allocations: 403.6 kB / 287.2 MB, free: 6.035 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005594/0.05026, allocations: 0.6785 MB / 287.8 MB, free: 5.262 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.05027, allocations: 0 / 287.8 MB, free: 5.262 MB / 282.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.0009768/0.05124, allocations: 0.8784 MB / 288.7 MB, free: 4.367 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.05126, allocations: 12.12 kB / 288.7 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.05127, allocations: 4 kB / 288.7 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005978/0.05187, allocations: 353.2 kB / 289.1 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005149/0.05238, allocations: 275.6 kB / 289.4 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003043/0.05542, allocations: 4.418 MB / 293.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/0.05575, allocations: 123.1 kB / 293.9 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.056e-05/0.05581, allocations: 36 kB / 293.9 MB, free: 14.97 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (131): * Single equations (assignments): 129 * 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 prepare postOptimizeDAE: time 0.0002861/0.05609, allocations: 192.3 kB / 294.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.05623, allocations: 131.9 kB / 294.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009121/0.05715, allocations: 0.8357 MB / 295.1 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.05715, allocations: 16 kB / 295.1 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.05716, allocations: 8 kB / 295.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.05717, allocations: 11.91 kB / 295.1 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/0.05951, allocations: 2.43 MB / 297.5 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.05952, allocations: 4 kB / 297.5 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003577/0.05988, allocations: 187.8 kB / 297.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.05999, allocations: 146.8 kB / 297.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005572/0.06055, allocations: 372.7 kB / 298.2 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.356e-05/0.06061, allocations: 31.98 kB / 298.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002909/0.06351, allocations: 4.386 MB / 302.7 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.06352, allocations: 3.938 kB / 302.7 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.06464, allocations: 1.321 MB / 304 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.587e-05/0.06474, allocations: 35.98 kB / 304 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.06506, allocations: 63.91 kB / 304.1 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.0652, allocations: 108.8 kB / 304.2 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.456e-05/0.06524, allocations: 31.98 kB / 304.2 MB, free: 4.301 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003062/0.06555, allocations: 427.5 kB / 304.6 MB, free: 3.875 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06555, allocations: 0 / 304.6 MB, free: 3.875 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001066/0.06661, allocations: 0.6931 MB / 305.3 MB, free: 3.18 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (loss_m.Phi.re,loss_m.Phi.im,converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].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 (92): * Single equations (assignments): 90 * 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 Backend phase and start with SimCode phase: time 0.000218/0.06683, allocations: 148.2 kB / 305.5 MB, free: 3.027 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.06802, allocations: 1.076 MB / 306.5 MB, free: 1.934 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-05/0.06805, allocations: 20.5 kB / 306.6 MB, free: 1.914 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007269/0.06877, allocations: 0.8589 MB / 307.4 MB, free: 1.023 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.07018, allocations: 2.784 MB / 310.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/0.08348, allocations: 4.187 MB / 314.4 MB, free: 9.414 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/0.084, allocations: 0.6345 MB / 315 MB, free: 8.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004341/0.08443, allocations: 175.5 kB / 315.2 MB, free: 8.574 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000494/0.08493, allocations: 341.1 kB / 315.5 MB, free: 8.238 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.08493, allocations: 0 / 315.5 MB, free: 8.238 MB / 314.7 MB Notification: Performance of Templates: time 0.02768/0.1126, allocations: 23.31 MB / 338.9 MB, free: 1.254 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.741967750713229]