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.001688/0.001688, allocations: 108.8 kB / 21.18 MB, free: 0.7617 MB / 14.72 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.002016/0.002016, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 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 1.452/1.452, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001756/0.001756, allocations: 47.94 kB / 371.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2682, allocations: 52.18 MB / 423.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.02956/0.2978, allocations: 24.29 MB / 448.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01548/0.3132, allocations: 7.151 MB / 455.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00461/0.3179, allocations: 175 kB / 455.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00544/0.3233, allocations: 1.623 MB / 457.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009054/0.3324, allocations: 2.396 MB / 459.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005158/0.3375, allocations: 1.48 MB / 461 MB, free: 9.375 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01191/0.3494, allocations: 7.199 MB / 468.2 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007889/0.3573, allocations: 3.169 MB / 471.4 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006352/0.3637, allocations: 3.283 MB / 474.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007385/0.371, allocations: 3.892 MB / 478.6 MB, free: 7.699 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002877/0.3739, allocations: 0.8789 MB / 479.4 MB, free: 6.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004391/0.3783, allocations: 1.378 MB / 480.8 MB, free: 5.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004221/0.3825, allocations: 2.154 MB / 483 MB, free: 3.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007896/0.3904, allocations: 3.784 MB / 486.8 MB, free: 15.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0175/0.4079, allocations: 11.52 MB / 498.3 MB, free: 3.922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4079, allocations: 0 / 498.3 MB, free: 3.922 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4079, allocations: 3.938 kB / 498.3 MB, free: 3.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003588/0.4083, allocations: 0 / 498.3 MB, free: 3.918 MB / 398.1 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.02174/0.43, allocations: 7.508 MB / 0.4939 GB, free: 12.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.4301, allocations: 8.031 kB / 0.4939 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006712/0.4368, allocations: 1.254 MB / 0.4952 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01121/0.448, allocations: 4.061 MB / 0.4991 GB, free: 6.934 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005509/0.4486, allocations: 427.8 kB / 0.4995 GB, free: 6.516 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002081/0.4506, allocations: 0.5625 MB / 0.5001 GB, free: 5.953 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01936/0.47, allocations: 7.284 MB / 0.5072 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002429/0.4702, allocations: 11.89 kB / 0.5072 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001432/0.4717, allocations: 235.9 kB / 0.5074 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000363/0.472, allocations: 271.3 kB / 0.5077 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01618/0.4882, allocations: 6.115 MB / 0.5137 GB, free: 7.984 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05048/0.5387, allocations: 23.07 MB / 0.5362 GB, free: 280 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1964/0.7351, allocations: 3.878 MB / 0.54 GB, free: 100 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003533/0.7386, allocations: 2.177 MB / 0.5421 GB, free: 99.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01145/0.7501, allocations: 6.206 MB / 0.5482 GB, free: 96.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.7501, allocations: 66.36 kB / 0.5482 GB, free: 96.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.639e-06/0.7501, allocations: 0 / 0.5482 GB, free: 96.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=282): time 0.02861/0.7787, allocations: 13.07 MB / 0.561 GB, free: 90.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.7787, allocations: 85.59 kB / 0.5611 GB, free: 90.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004219/0.783, allocations: 3.423 MB / 0.5644 GB, free: 87.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003708/0.7833, allocations: 73.7 kB / 0.5645 GB, free: 87.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001205/0.7845, allocations: 2.749 MB / 0.5672 GB, free: 84.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006687/0.7852, allocations: 1.012 MB / 0.5682 GB, free: 83.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007957/0.786, allocations: 0.6413 MB / 0.5688 GB, free: 83.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.746e-05/0.7861, allocations: 305.1 kB / 0.5691 GB, free: 83.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002178/0.7882, allocations: 1.545 MB / 0.5706 GB, free: 81.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002489/0.7907, allocations: 2.76 MB / 0.5733 GB, free: 78.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004908/0.7956, allocations: 4.599 MB / 0.5778 GB, free: 73.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-05/0.7956, allocations: 12 kB / 0.5778 GB, free: 73 MB / 446.1 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.007994/0.8036, allocations: 5.327 MB / 0.583 GB, free: 67.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.8037, allocations: 20 kB / 0.583 GB, free: 67.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.79e-05/0.8037, allocations: 40.88 kB / 0.5831 GB, free: 67.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/0.8051, allocations: 0.6542 MB / 0.5837 GB, free: 66.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002887/0.8079, allocations: 0.8579 MB / 0.5845 GB, free: 66.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007588/0.8155, allocations: 9.924 MB / 0.5942 GB, free: 55.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00335/0.8189, allocations: 227 kB / 0.5944 GB, free: 55.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004441/0.8193, allocations: 164 kB / 0.5946 GB, free: 55.29 MB / 446.1 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.002558/0.8219, allocations: 1.627 MB / 0.5962 GB, free: 53.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008314/0.8227, allocations: 413.4 kB / 0.5966 GB, free: 53.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00678/0.8295, allocations: 4.249 MB / 0.6007 GB, free: 48.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-05/0.8295, allocations: 43.97 kB / 0.6008 GB, free: 48.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.8296, allocations: 8 kB / 0.6008 GB, free: 48.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.373e-05/0.8296, allocations: 11.95 kB / 0.6008 GB, free: 48.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01593/0.8455, allocations: 9.622 MB / 0.6102 GB, free: 39.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.163e-05/0.8455, allocations: 8 kB / 0.6102 GB, free: 39.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002116/0.8476, allocations: 0.4921 MB / 0.6107 GB, free: 38.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001743/0.8494, allocations: 0.7298 MB / 0.6114 GB, free: 37.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003075/0.8497, allocations: 67.97 kB / 0.6115 GB, free: 37.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01052/0.8602, allocations: 13.49 MB / 0.6246 GB, free: 23.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.8602, allocations: 8 kB / 0.6246 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/0.8705, allocations: 6.367 MB / 0.6309 GB, free: 17.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002334/0.8729, allocations: 0.7196 MB / 0.6316 GB, free: 16.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001149/0.874, allocations: 63.98 kB / 0.6316 GB, free: 16.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002644/0.8767, allocations: 163.8 kB / 0.6318 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005179/0.8772, allocations: 221.5 kB / 0.632 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001961/0.8774, allocations: 79.98 kB / 0.6321 GB, free: 15.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003553/0.8809, allocations: 2.31 MB / 0.6343 GB, free: 13.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.8809, allocations: 0 / 0.6343 GB, free: 13.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00462/0.8856, allocations: 1.094 MB / 0.6354 GB, free: 12.46 MB / 446.1 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.0008379/0.8864, allocations: 290.6 kB / 0.6357 GB, free: 12.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007005/0.8934, allocations: 4.362 MB / 0.6399 GB, free: 7.734 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.8934, allocations: 0 / 0.6399 GB, free: 7.734 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00432/0.8977, allocations: 2.711 MB / 0.6426 GB, free: 4.945 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005952/0.9037, allocations: 0.9009 MB / 0.6435 GB, free: 4.055 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02295/0.9266, allocations: 10.65 MB / 0.6539 GB, free: 9.277 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006159/0.9328, allocations: 3.428 MB / 0.6572 GB, free: 5.816 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001619/0.9344, allocations: 291.4 kB / 0.6575 GB, free: 5.531 MB / 462.1 MB Notification: Performance of SimCode: time 1.322e-06/0.9344, allocations: 0 / 0.6575 GB, free: 5.531 MB / 462.1 MB Notification: Performance of Templates: time 0.459/1.393, allocations: 240.3 MB / 0.8922 GB, free: 43.17 MB / 0.5294 GB " [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/jenkins1/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/jenkins1/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 21.19520333688706]