Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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.0008427/0.0008427, allocations: 84.34 kB / 21.44 MB, free: 3.117 MB / 18.57 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.003605/0.003605, allocations: 153.5 kB / 24.69 MB, free: 9.438 MB / 18.57 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 0.8796/0.8796, allocations: 177 MB / 204.9 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 325.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.58e-05, allocations: 7.062 kB / 325.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.01546/0.01549, allocations: 21.36 MB / 347.2 MB, free: 9.773 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01193/0.02742, allocations: 7.109 MB / 354.3 MB, free: 2.641 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002964/0.03038, allocations: 182.9 kB / 354.5 MB, free: 2.461 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002661/0.03304, allocations: 1.591 MB / 356.1 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004174/0.03722, allocations: 2.441 MB / 358.5 MB, free: 14.4 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002292/0.03951, allocations: 1.476 MB / 360 MB, free: 12.92 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00577/0.04528, allocations: 7.582 MB / 367.6 MB, free: 5.305 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002945/0.04823, allocations: 3.033 MB / 370.6 MB, free: 2.191 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005168/0.05339, allocations: 4.838 MB / 375.4 MB, free: 13.34 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003014/0.05641, allocations: 3.226 MB / 378.7 MB, free: 10.11 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008095/0.05722, allocations: 0.8711 MB / 379.5 MB, free: 9.238 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001952/0.05917, allocations: 1.28 MB / 380.8 MB, free: 7.957 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001247/0.06042, allocations: 2.197 MB / 383 MB, free: 5.754 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00267/0.06309, allocations: 2.592 MB / 385.6 MB, free: 3.156 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009842/0.07293, allocations: 11.65 MB / 397.2 MB, free: 7.477 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.07294, allocations: 0 / 397.2 MB, free: 7.477 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.576e-06/0.07294, allocations: 0 / 397.2 MB, free: 7.477 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002195/0.07316, allocations: 0 / 397.2 MB, free: 7.477 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.01194/0.0851, allocations: 7.477 MB / 404.7 MB, free: 15.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.08515, allocations: 19.98 kB / 404.7 MB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003056/0.08821, allocations: 1.258 MB / 406 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005231/0.09344, allocations: 4.088 MB / 410.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002006/0.09364, allocations: 427.8 kB / 410.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005317/0.09417, allocations: 0.5549 MB / 411.1 MB, free: 9.504 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008362/0.1025, allocations: 7.568 MB / 418.6 MB, free: 1.812 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.991e-05/0.1026, allocations: 15.83 kB / 418.6 MB, free: 1.797 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003561/0.103, allocations: 232 kB / 418.9 MB, free: 1.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001662/0.1031, allocations: 275.2 kB / 419.1 MB, free: 1.301 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006956/0.1101, allocations: 6.111 MB / 425.2 MB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02248/0.1326, allocations: 20.32 MB / 445.6 MB, free: 6.254 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003929/0.1365, allocations: 3.915 MB / 449.5 MB, free: 2.535 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002293/0.1388, allocations: 2.281 MB / 451.8 MB, free: 252 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1808/0.3196, allocations: 5.647 MB / 457.4 MB, free: 108 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.3196, allocations: 57.47 kB / 457.5 MB, free: 108 MB / 410.7 MB Notification: Performance of pre-optimization done (n=238): time 5.5e-06/0.3197, allocations: 2.25 kB / 457.5 MB, free: 108 MB / 410.7 MB Notification: Performance of matching and sorting (n=282): time 0.01685/0.3365, allocations: 13.18 MB / 470.6 MB, free: 101.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.3365, allocations: 77.59 kB / 470.7 MB, free: 101.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00257/0.3391, allocations: 3.069 MB / 473.8 MB, free: 98.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.3392, allocations: 77.7 kB / 473.9 MB, free: 98.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007989/0.34, allocations: 2.786 MB / 476.6 MB, free: 96.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003515/0.3404, allocations: 0.9901 MB / 477.6 MB, free: 95.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005446/0.3409, allocations: 0.6448 MB / 478.3 MB, free: 94.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.177e-05/0.341, allocations: 308.8 kB / 478.6 MB, free: 94.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.3423, allocations: 1.553 MB / 480.1 MB, free: 92.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001677/0.344, allocations: 2.777 MB / 482.9 MB, free: 89.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003266/0.3473, allocations: 4.6 MB / 487.5 MB, free: 84.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/0.3473, allocations: 12 kB / 487.5 MB, free: 84.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.00511/0.3524, allocations: 5.304 MB / 492.8 MB, free: 78.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/0.3524, allocations: 24 kB / 492.9 MB, free: 78.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.884e-05/0.3524, allocations: 36 kB / 492.9 MB, free: 78.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000879/0.3533, allocations: 0.6886 MB / 493.6 MB, free: 78.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/0.3548, allocations: 0.8541 MB / 494.4 MB, free: 77.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005237/0.36, allocations: 9.87 MB / 0.4925 GB, free: 66.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/0.362, allocations: 227.8 kB / 0.4927 GB, free: 66.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/0.3621, allocations: 164 kB / 0.4929 GB, free: 66.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * 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 (427): * Single equations (assignments): 417 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,12,100.0%), (1,6,100.0%), (2,13,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00233/0.3645, allocations: 1.633 MB / 0.4944 GB, free: 64.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004627/0.3649, allocations: 381.5 kB / 0.4948 GB, free: 64.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004093/0.369, allocations: 4.241 MB / 0.499 GB, free: 60.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.411e-05/0.3691, allocations: 31.98 kB / 0.499 GB, free: 60.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.3691, allocations: 8 kB / 0.499 GB, free: 60.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/0.3691, allocations: 11.95 kB / 0.499 GB, free: 60.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008498/0.3776, allocations: 8.361 MB / 0.5072 GB, free: 51.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.3776, allocations: 4 kB / 0.5072 GB, free: 51.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.3786, allocations: 0.4955 MB / 0.5077 GB, free: 51.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009614/0.3796, allocations: 0.7454 MB / 0.5084 GB, free: 50.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.3797, allocations: 71.97 kB / 0.5085 GB, free: 50.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006103/0.3858, allocations: 13.39 MB / 0.5215 GB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3858, allocations: 4 kB / 0.5215 GB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006089/0.3919, allocations: 6.343 MB / 0.5277 GB, free: 29.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001336/0.3932, allocations: 0.6733 MB / 0.5284 GB, free: 29.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002424/0.3935, allocations: 63.88 kB / 0.5284 GB, free: 29.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009368/0.3944, allocations: 171.6 kB / 0.5286 GB, free: 29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003053/0.3947, allocations: 217.5 kB / 0.5288 GB, free: 28.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.3948, allocations: 83.97 kB / 0.5289 GB, free: 28.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001832/0.3966, allocations: 2.004 MB / 0.5309 GB, free: 26.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3966, allocations: 3.828 kB / 0.5309 GB, free: 26.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002562/0.3992, allocations: 1.097 MB / 0.5319 GB, free: 25.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.stray.Phi.re,smeeM.stator.stray.Phi.im,smeeE.phiMechanical,smeeE.idq_sr[1],smeeE.idq_sr[2],smeeE.idq_rr[2],smeeE.idq_dr[1]) * 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 (235): * Single equations (assignments): 225 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,13,100.0%), (1,5,100.0%), (1,8,100.0%), (3,12,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000473/0.3997, allocations: 290.5 kB / 0.5322 GB, free: 25.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003975/0.4036, allocations: 4.379 MB / 0.5365 GB, free: 20.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4036, allocations: 4 kB / 0.5365 GB, free: 20.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002134/0.4058, allocations: 2.709 MB / 0.5391 GB, free: 18.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.4076, allocations: 0.7454 MB / 0.5399 GB, free: 17.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/0.4194, allocations: 10.34 MB / 0.55 GB, free: 6.887 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001886/0.4212, allocations: 2.934 MB / 0.5528 GB, free: 3.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008887/0.4221, allocations: 284.4 kB / 0.5531 GB, free: 3.629 MB / 410.7 MB Notification: Performance of SimCode: time 1.533e-06/0.4221, allocations: 4 kB / 0.5531 GB, free: 3.625 MB / 410.7 MB Notification: Performance of Templates: time 0.2626/0.6848, allocations: 240.7 MB / 0.7881 GB, free: 0.7383 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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: 12.61259021051228]