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.001356/0.001356, allocations: 114 kB / 20.44 MB, free: 1.469 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.001615/0.001615, allocations: 214.1 kB / 23.74 MB, free: 4.695 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.45/1.45, allocations: 230.5 MB / 257.4 MB, free: 8.047 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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 67.89 kB / 377.8 MB, free: 3.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2938, allocations: 53.41 MB / 431.2 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009617/0.3034, allocations: 7.905 MB / 439.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004815/0.3082, allocations: 2.515 MB / 441.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008507/0.3091, allocations: 71.56 kB / 441.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009877/0.31, allocations: 460.9 kB / 442.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002103/0.3122, allocations: 0.8899 MB / 443 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000877/0.313, allocations: 411.1 kB / 443.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004109/0.3171, allocations: 3.241 MB / 446.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002138/0.3193, allocations: 1.584 MB / 448.3 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001848/0.3211, allocations: 1.457 MB / 449.7 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002523/0.3236, allocations: 1.72 MB / 451.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005791/0.3242, allocations: 360 kB / 451.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.3252, allocations: 495.9 kB / 452.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000829/0.3261, allocations: 0.9114 MB / 453.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001845/0.3279, allocations: 1.614 MB / 454.8 MB, free: 15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005117/0.333, allocations: 4.722 MB / 459.5 MB, free: 10.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.333, allocations: 0 / 459.5 MB, free: 10.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.333, allocations: 0 / 459.5 MB, free: 10.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.51e-05/0.3331, allocations: 4 kB / 459.5 MB, free: 10.26 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.00818/0.3413, allocations: 3.651 MB / 463.2 MB, free: 6.559 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.3413, allocations: 12.03 kB / 463.2 MB, free: 6.547 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000648/0.342, allocations: 433.1 kB / 463.6 MB, free: 6.113 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003931/0.3459, allocations: 0.7367 MB / 464.3 MB, free: 5.375 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003792/0.3497, allocations: 1.807 MB / 466.1 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.3499, allocations: 197.7 kB / 466.3 MB, free: 3.328 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004584/0.3503, allocations: 267.9 kB / 466.6 MB, free: 3.066 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006116/0.3565, allocations: 3.623 MB / 470.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.899e-05/0.3565, allocations: 3.938 kB / 470.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002437/0.3567, allocations: 116 kB / 470.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/0.3569, allocations: 101.4 kB / 470.4 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005214/0.3621, allocations: 3.105 MB / 473.5 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01751/0.3796, allocations: 10.11 MB / 483.7 MB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003995/0.3836, allocations: 1.774 MB / 485.4 MB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.3851, allocations: 0.8762 MB / 486.3 MB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00451/0.3896, allocations: 2.195 MB / 488.5 MB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.514e-05/0.3896, allocations: 51.44 kB / 488.6 MB, free: 12.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 3.226e-06/0.3896, allocations: 0 / 488.6 MB, free: 12.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.006382/0.396, allocations: 2.487 MB / 491 MB, free: 10.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.3961, allocations: 101.9 kB / 491.1 MB, free: 10.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002268/0.3984, allocations: 1.4 MB / 492.5 MB, free: 8.633 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.397e-05/0.3984, allocations: 41.7 kB / 492.6 MB, free: 8.586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009255/0.3994, allocations: 1.211 MB / 493.8 MB, free: 7.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003331/0.3997, allocations: 380.8 kB / 494.2 MB, free: 6.988 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003518/0.4, allocations: 218.9 kB / 494.4 MB, free: 6.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.4002, allocations: 353.9 kB / 494.7 MB, free: 6.418 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009739/0.4012, allocations: 0.5608 MB / 495.3 MB, free: 5.855 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.4025, allocations: 0.8451 MB / 496.1 MB, free: 4.898 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002208/0.4047, allocations: 1.467 MB / 497.6 MB, free: 3.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.4047, allocations: 4 kB / 497.6 MB, free: 3.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003502/0.4082, allocations: 1.946 MB / 499.6 MB, free: 1.355 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.4082, allocations: 8.281 kB / 499.6 MB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.4082, allocations: 12 kB / 499.6 MB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009841/0.4092, allocations: 408.3 kB / 500 MB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008232/0.41, allocations: 211.6 kB / 0.4885 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008022/0.4181, allocations: 6.335 MB / 0.4946 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.4191, allocations: 143.1 kB / 0.4948 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/0.4193, allocations: 48 kB / 0.4948 GB, free: 9.98 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.001605/0.4209, allocations: 0.8721 MB / 0.4957 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003709/0.4212, allocations: 147.1 kB / 0.4958 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003145/0.4244, allocations: 1.636 MB / 0.4974 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.4244, allocations: 11.94 kB / 0.4974 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/0.4244, allocations: 12 kB / 0.4974 GB, free: 7.281 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/0.4244, allocations: 11.91 kB / 0.4974 GB, free: 7.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007484/0.4319, allocations: 3.89 MB / 0.5012 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.4319, allocations: 4 kB / 0.5012 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005894/0.4325, allocations: 131.8 kB / 0.5014 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/0.4335, allocations: 397.6 kB / 0.5018 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-05/0.4336, allocations: 35.98 kB / 0.5018 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008296/0.4419, allocations: 6.303 MB / 0.5079 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.4419, allocations: 3.938 kB / 0.5079 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004401/0.4463, allocations: 2.482 MB / 0.5104 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000626/0.447, allocations: 178.9 kB / 0.5105 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003435/0.4473, allocations: 24 kB / 0.5106 GB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008887/0.4482, allocations: 91.84 kB / 0.5107 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002361/0.4484, allocations: 104.7 kB / 0.5108 GB, free: 9.289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.52e-05/0.4485, allocations: 35.98 kB / 0.5108 GB, free: 9.254 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001693/0.4502, allocations: 0.9795 MB / 0.5117 GB, free: 8.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4502, allocations: 0 / 0.5117 GB, free: 8.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002143/0.4524, allocations: 0.6891 MB / 0.5124 GB, free: 7.578 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.004749/0.4571, allocations: 3.076 MB / 0.5154 GB, free: 4.445 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003234/0.4603, allocations: 1.736 MB / 0.5171 GB, free: 2.676 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.4603, allocations: 4 kB / 0.5171 GB, free: 2.672 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001907/0.4623, allocations: 1.086 MB / 0.5182 GB, free: 1.562 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.4638, allocations: 304.5 kB / 0.5185 GB, free: 1.266 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02705/0.4909, allocations: 16.09 MB / 0.5342 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2032/0.6941, allocations: 2.185 MB / 0.5363 GB, free: 101 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001204/0.6953, allocations: 345.7 kB / 0.5366 GB, free: 100.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/0.6963, allocations: 0.8809 MB / 0.5375 GB, free: 100.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/0.6963, allocations: 0 / 0.5375 GB, free: 100.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08265/0.7789, allocations: 40.2 MB / 0.5768 GB, free: 70.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.16/14.94, allocations: 19.56 kB / 0.5768 GB, free: 70.06 MB / 446.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] 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: 18.055442943936214]