Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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.0008181/0.0008181, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003243/0.003243, allocations: 143.5 kB / 24.68 MB, free: 8.891 MB / 18.57 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.8336/0.8336, allocations: 173.4 MB / 201.2 MB, free: 9.426 MB / 186.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.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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 3.938 kB / 319.7 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.464e-05, allocations: 2.281 kB / 319.7 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.015/0.01503, allocations: 20.8 MB / 340.5 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0107/0.02573, allocations: 6.84 MB / 347.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00283/0.02856, allocations: 175 kB / 347.5 MB, free: 9.879 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002572/0.03113, allocations: 1.58 MB / 349.1 MB, free: 8.285 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004587/0.03571, allocations: 2.437 MB / 351.6 MB, free: 5.832 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002143/0.03786, allocations: 1.447 MB / 353 MB, free: 4.391 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006053/0.04391, allocations: 7.492 MB / 360.5 MB, free: 12.87 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003053/0.04696, allocations: 3.029 MB / 363.5 MB, free: 9.754 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005431/0.05239, allocations: 4.811 MB / 368.3 MB, free: 4.934 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003496/0.05589, allocations: 3.218 MB / 371.6 MB, free: 1.707 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000911/0.0568, allocations: 0.8711 MB / 372.4 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/0.05833, allocations: 1.269 MB / 373.7 MB, free: 15.57 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.05946, allocations: 2.197 MB / 375.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001964/0.06143, allocations: 2.58 MB / 378.5 MB, free: 10.78 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008558/0.06999, allocations: 11.61 MB / 390.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.06999, allocations: 0 / 390.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.06999, allocations: 0 / 390.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001699/0.07016, allocations: 3.938 kB / 390.1 MB, free: 15.13 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.01024/0.0804, allocations: 7.434 MB / 397.5 MB, free: 7.625 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.08044, allocations: 8.922 kB / 397.5 MB, free: 7.617 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002828/0.08327, allocations: 1.254 MB / 398.8 MB, free: 6.359 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004864/0.08813, allocations: 4.048 MB / 402.8 MB, free: 2.234 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/0.08833, allocations: 439.7 kB / 403.3 MB, free: 1.805 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005166/0.08884, allocations: 0.555 MB / 403.8 MB, free: 1.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008029/0.09687, allocations: 7.564 MB / 411.4 MB, free: 9.562 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.1e-05/0.09696, allocations: 19.83 kB / 411.4 MB, free: 9.543 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003547/0.09732, allocations: 236 kB / 411.6 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001582/0.09748, allocations: 259.3 kB / 411.9 MB, free: 9.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006821/0.1043, allocations: 6.107 MB / 418 MB, free: 2.945 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02092/0.1252, allocations: 20.27 MB / 438.3 MB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003895/0.1291, allocations: 3.867 MB / 442.1 MB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002304/0.1314, allocations: 2.172 MB / 444.3 MB, free: 8.199 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006734/0.1382, allocations: 5.565 MB / 449.9 MB, free: 2.594 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.1382, allocations: 64.56 kB / 449.9 MB, free: 2.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=238): time 4.058e-06/0.1382, allocations: 0 / 449.9 MB, free: 2.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=282): time 0.1661/0.3043, allocations: 13.03 MB / 463 MB, free: 112.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.3043, allocations: 79.34 kB / 463 MB, free: 112.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002383/0.3067, allocations: 3.038 MB / 466.1 MB, free: 111.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.3068, allocations: 76.19 kB / 466.1 MB, free: 111.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007215/0.3075, allocations: 2.754 MB / 468.9 MB, free: 109.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003186/0.3079, allocations: 1.006 MB / 469.9 MB, free: 108.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005302/0.3084, allocations: 0.6343 MB / 470.5 MB, free: 108.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.406e-05/0.3084, allocations: 305.1 kB / 470.8 MB, free: 107.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.3097, allocations: 1.544 MB / 472.4 MB, free: 106.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.3113, allocations: 2.781 MB / 475.2 MB, free: 103.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003097/0.3144, allocations: 4.603 MB / 479.8 MB, free: 98.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/0.3145, allocations: 12 kB / 479.8 MB, free: 98.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.00449/0.3189, allocations: 5.278 MB / 485.1 MB, free: 92.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.319, allocations: 23.98 kB / 485.1 MB, free: 92.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.319, allocations: 40 kB / 485.1 MB, free: 92.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007732/0.3198, allocations: 0.662 MB / 485.8 MB, free: 91.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.3212, allocations: 0.8541 MB / 486.6 MB, free: 91.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004493/0.3257, allocations: 9.734 MB / 496.4 MB, free: 80.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.3269, allocations: 227.9 kB / 496.6 MB, free: 80.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/0.3271, allocations: 172 kB / 496.8 MB, free: 80.61 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 (430): * Single equations (assignments): 420 * 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,3,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.001622/0.3287, allocations: 1.625 MB / 498.4 MB, free: 78.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/0.329, allocations: 365.7 kB / 498.7 MB, free: 78.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003715/0.3327, allocations: 4.228 MB / 0.4912 GB, free: 74.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/0.3327, allocations: 28 kB / 0.4912 GB, free: 74.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.3327, allocations: 11.98 kB / 0.4912 GB, free: 74.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.3327, allocations: 11.95 kB / 0.4912 GB, free: 74.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007191/0.3399, allocations: 8.309 MB / 0.4993 GB, free: 65.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.3399, allocations: 4 kB / 0.4993 GB, free: 65.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009694/0.3409, allocations: 0.496 MB / 0.4998 GB, free: 65.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008592/0.3418, allocations: 0.7283 MB / 0.5005 GB, free: 64.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.3419, allocations: 71.91 kB / 0.5006 GB, free: 64.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005557/0.3474, allocations: 13.24 MB / 0.5135 GB, free: 50.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3474, allocations: 8 kB / 0.5135 GB, free: 50.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005078/0.3525, allocations: 6.307 MB / 0.5197 GB, free: 44.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008213/0.3533, allocations: 0.6693 MB / 0.5204 GB, free: 43.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000228/0.3535, allocations: 60 kB / 0.5204 GB, free: 43.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008394/0.3544, allocations: 167.9 kB / 0.5206 GB, free: 43.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002568/0.3546, allocations: 217.6 kB / 0.5208 GB, free: 43.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.995e-05/0.3547, allocations: 91.97 kB / 0.5209 GB, free: 43.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001548/0.3563, allocations: 1.979 MB / 0.5228 GB, free: 41.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3563, allocations: 0 / 0.5228 GB, free: 41.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002217/0.3585, allocations: 1.09 MB / 0.5239 GB, free: 39.97 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 (238): * Single equations (assignments): 228 * 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,3,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.0003882/0.3589, allocations: 282.8 kB / 0.5241 GB, free: 39.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003669/0.3626, allocations: 4.365 MB / 0.5284 GB, free: 35.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.3626, allocations: 4 kB / 0.5284 GB, free: 35.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002126/0.3647, allocations: 2.707 MB / 0.5311 GB, free: 32.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.3663, allocations: 0.731 MB / 0.5318 GB, free: 31.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008821/0.3751, allocations: 10.35 MB / 0.5419 GB, free: 21.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001603/0.3767, allocations: 2.921 MB / 0.5447 GB, free: 18.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005611/0.3773, allocations: 272.4 kB / 0.545 GB, free: 18.04 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.3773, allocations: 0 / 0.545 GB, free: 18.04 MB / 410.7 MB Notification: Performance of Templates: time 0.2635/0.6408, allocations: 239.2 MB / 0.7786 GB, free: 5.863 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.327056238427758]