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.00137/0.00137, 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.00142/0.00142, 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 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.397/1.397, allocations: 230.4 MB / 255.4 MB, free: 15.16 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.001929/0.001929, allocations: 71.8 kB / 374.7 MB, free: 9.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1074, allocations: 53.3 MB / 428.1 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.204/0.3114, allocations: 7.897 MB / 436 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003656/0.3151, allocations: 2.489 MB / 438.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007684/0.3158, allocations: 59.22 kB / 438.5 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008361/0.3167, allocations: 466.4 kB / 439 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.3186, allocations: 0.8807 MB / 439.8 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007919/0.3194, allocations: 401.9 kB / 440.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003612/0.323, allocations: 3.239 MB / 443.5 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002695/0.3257, allocations: 2.133 MB / 445.6 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002152/0.3278, allocations: 1.425 MB / 447 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002387/0.3302, allocations: 1.724 MB / 448.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006736/0.3309, allocations: 359.7 kB / 449.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.3324, allocations: 489.1 kB / 449.6 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001027/0.3334, allocations: 0.908 MB / 450.5 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002825/0.3362, allocations: 1.615 MB / 452.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007583/0.3438, allocations: 4.722 MB / 456.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3438, allocations: 1.469 kB / 456.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3438, allocations: 0 / 456.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001658/0.344, allocations: 0 / 456.8 MB, free: 13.88 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.01003/0.354, allocations: 3.716 MB / 460.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3541, allocations: 9.594 kB / 460.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004221/0.3583, allocations: 0.7508 MB / 461.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004644/0.3629, allocations: 1.852 MB / 463.2 MB, free: 9.762 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002307/0.3632, allocations: 204.2 kB / 463.4 MB, free: 9.664 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001131/0.3643, allocations: 261.8 kB / 463.6 MB, free: 9.578 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007984/0.3723, allocations: 3.617 MB / 467.2 MB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-05/0.3723, allocations: 5.031 kB / 467.2 MB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002967/0.3726, allocations: 110.2 kB / 467.3 MB, free: 7.379 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001282/0.3728, allocations: 108.2 kB / 467.4 MB, free: 7.363 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005872/0.3786, allocations: 3.102 MB / 470.5 MB, free: 5.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01885/0.3975, allocations: 10.27 MB / 480.8 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005364/0.4029, allocations: 4.472 MB / 485.3 MB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/0.4044, allocations: 0.8679 MB / 486.2 MB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004287/0.4086, allocations: 2.656 MB / 488.8 MB, free: 2.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.4087, allocations: 51.31 kB / 488.9 MB, free: 2.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.236e-06/0.4087, allocations: 0 / 488.9 MB, free: 2.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.006428/0.4151, allocations: 2.642 MB / 491.5 MB, free: 15.9 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.4152, allocations: 93.98 kB / 491.6 MB, free: 15.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.4172, allocations: 1.396 MB / 493 MB, free: 14.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.76e-05/0.4173, allocations: 45.7 kB / 493 MB, free: 14.33 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008617/0.4181, allocations: 1.207 MB / 494.2 MB, free: 13.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003155/0.4185, allocations: 380.8 kB / 494.6 MB, free: 12.74 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003449/0.4188, allocations: 222.8 kB / 494.8 MB, free: 12.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.419, allocations: 357.9 kB / 495.2 MB, free: 12.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009367/0.4199, allocations: 0.5647 MB / 495.7 MB, free: 11.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.421, allocations: 0.8491 MB / 496.6 MB, free: 10.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/0.4232, allocations: 1.461 MB / 498.1 MB, free: 9.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.4232, allocations: 0 / 498.1 MB, free: 9.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003347/0.4265, allocations: 1.961 MB / 0.4883 GB, free: 7.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.4265, allocations: 10.34 kB / 0.4883 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.4266, allocations: 8 kB / 0.4883 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009998/0.4276, allocations: 397.2 kB / 0.4887 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008062/0.4284, allocations: 215.7 kB / 0.4889 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007845/0.4362, allocations: 6.527 MB / 0.4953 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.4374, allocations: 147 kB / 0.4954 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.4375, allocations: 61 kB / 0.4955 GB, free: 15.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.001646/0.4392, allocations: 0.8721 MB / 0.4963 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003283/0.4395, allocations: 143.1 kB / 0.4965 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003031/0.4425, allocations: 1.637 MB / 0.4981 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.4425, allocations: 8 kB / 0.4981 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.4425, allocations: 8 kB / 0.4981 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.4425, allocations: 7.969 kB / 0.4981 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006756/0.4493, allocations: 3.911 MB / 0.5019 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.4493, allocations: 0 / 0.5019 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000574/0.4499, allocations: 147.7 kB / 0.502 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001047/0.4509, allocations: 393.4 kB / 0.5024 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.498e-05/0.451, allocations: 31.98 kB / 0.5024 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008088/0.4591, allocations: 6.522 MB / 0.5088 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.4591, allocations: 8.016 kB / 0.5088 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004539/0.4637, allocations: 2.478 MB / 0.5112 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006902/0.4643, allocations: 252 kB / 0.5115 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.4645, allocations: 24 kB / 0.5115 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007892/0.4653, allocations: 87.91 kB / 0.5116 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002658/0.4656, allocations: 100.6 kB / 0.5117 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.892e-05/0.4656, allocations: 31.98 kB / 0.5117 GB, free: 14.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001457/0.4671, allocations: 0.9834 MB / 0.5127 GB, free: 13.39 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4671, allocations: 0 / 0.5127 GB, free: 13.39 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001962/0.4691, allocations: 0.6852 MB / 0.5133 GB, free: 12.7 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.0003144/0.4694, allocations: 156.8 kB / 0.5135 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003089/0.4725, allocations: 1.742 MB / 0.5152 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4725, allocations: 1.188 kB / 0.5152 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001833/0.4743, allocations: 1.086 MB / 0.5163 GB, free: 9.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.4759, allocations: 300 kB / 0.5165 GB, free: 9.371 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008247/0.4841, allocations: 4.626 MB / 0.5211 GB, free: 4.676 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001925/0.4861, allocations: 2.121 MB / 0.5231 GB, free: 2.523 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004828/0.4865, allocations: 103.4 kB / 0.5232 GB, free: 2.422 MB / 430.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4865, allocations: 0 / 0.5232 GB, free: 2.422 MB / 430.1 MB Notification: Performance of Templates: time 0.07463/0.5612, allocations: 53.7 MB / 0.5757 GB, free: 12.78 MB / 494.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_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_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: 10.432182766962796]