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.001845/0.001845, allocations: 117 kB / 18.41 MB, free: 4.664 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.002108/0.002108, allocations: 186.9 kB / 21.34 MB, free: 1.738 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.442/1.442, allocations: 222.9 MB / 247.1 MB, free: 4.328 MB / 190.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.001492/0.001492, allocations: 51.92 kB / 358.7 MB, free: 8.41 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0929/0.09441, allocations: 49.43 MB / 408.1 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.2339/0.3284, allocations: 24.12 MB / 432.3 MB, free: 6.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01368/0.3421, allocations: 7.11 MB / 439.4 MB, free: 6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005256/0.3474, allocations: 144.6 kB / 439.5 MB, free: 6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005814/0.3532, allocations: 1.572 MB / 441.1 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009247/0.3626, allocations: 2.292 MB / 443.4 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004842/0.3674, allocations: 1.446 MB / 444.8 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01148/0.3789, allocations: 7.187 MB / 452 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.011/0.39, allocations: 5.562 MB / 457.6 MB, free: 328 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007494/0.3975, allocations: 3.193 MB / 460.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008727/0.4063, allocations: 3.829 MB / 464.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003579/0.4099, allocations: 0.8724 MB / 465.5 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00618/0.4161, allocations: 1.305 MB / 466.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00441/0.4206, allocations: 2.133 MB / 468.9 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00899/0.4296, allocations: 3.778 MB / 472.7 MB, free: 7.812 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0186/0.4482, allocations: 11.51 MB / 484.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4483, allocations: 0 / 484.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4483, allocations: 0 / 484.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003986/0.4487, allocations: 4 kB / 484.2 MB, free: 12.52 MB / 382.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.02432/0.473, allocations: 7.584 MB / 491.8 MB, free: 4.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.4731, allocations: 8.031 kB / 491.8 MB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007402/0.4805, allocations: 1.255 MB / 493 MB, free: 3.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/0.491, allocations: 4.154 MB / 497.2 MB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005383/0.4916, allocations: 428.8 kB / 497.6 MB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002107/0.4937, allocations: 0.5573 MB / 498.2 MB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01962/0.5134, allocations: 7.29 MB / 0.4936 GB, free: 7.137 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002634/0.5137, allocations: 7.953 kB / 0.4936 GB, free: 7.129 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001461/0.5152, allocations: 231 kB / 0.4938 GB, free: 6.906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003578/0.5155, allocations: 263.3 kB / 0.4941 GB, free: 6.648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01493/0.5305, allocations: 6.127 MB / 0.5001 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04703/0.5775, allocations: 23.47 MB / 0.523 GB, free: 8.605 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009849/0.5874, allocations: 8.714 MB / 0.5315 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00452/0.592, allocations: 2.358 MB / 0.5338 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01701/0.609, allocations: 6.946 MB / 0.5406 GB, free: 5.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.872e-05/0.6092, allocations: 56.56 kB / 0.5406 GB, free: 5.434 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 7.183e-06/0.6092, allocations: 0 / 0.5406 GB, free: 5.434 MB / 446.1 MB Notification: Performance of matching and sorting (n=282): time 0.0359/0.6451, allocations: 13.79 MB / 0.5541 GB, free: 7.457 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.6452, allocations: 85.52 kB / 0.5542 GB, free: 7.359 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006264/0.6515, allocations: 3.42 MB / 0.5575 GB, free: 3.953 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002819/0.6518, allocations: 69.7 kB / 0.5576 GB, free: 3.879 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002215/0.654, allocations: 2.757 MB / 0.5603 GB, free: 1.109 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001015/0.655, allocations: 1.01 MB / 0.5613 GB, free: 116 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001276/0.6563, allocations: 0.6463 MB / 0.5619 GB, free: 15.46 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.6564, allocations: 301.1 kB / 0.5622 GB, free: 15.17 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002933/0.6594, allocations: 1.545 MB / 0.5637 GB, free: 13.62 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003825/0.6632, allocations: 2.752 MB / 0.5664 GB, free: 10.34 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007171/0.6704, allocations: 4.602 MB / 0.5709 GB, free: 5.16 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.484e-05/0.6705, allocations: 8 kB / 0.5709 GB, free: 5.152 MB / 478.1 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.0107/0.6812, allocations: 5.483 MB / 0.5762 GB, free: 15.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.414e-05/0.6813, allocations: 30.17 kB / 0.5763 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-05/0.6813, allocations: 36 kB / 0.5763 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001732/0.6831, allocations: 0.6631 MB / 0.577 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003402/0.6865, allocations: 0.858 MB / 0.5778 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/0.6984, allocations: 10.34 MB / 0.5879 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003623/0.7021, allocations: 226.7 kB / 0.5881 GB, free: 2.875 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006436/0.7028, allocations: 172 kB / 0.5883 GB, free: 2.707 MB / 494.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.003773/0.7066, allocations: 1.624 MB / 0.5898 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001339/0.7079, allocations: 401.5 kB / 0.5902 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009266/0.7172, allocations: 4.504 MB / 0.5946 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.903e-05/0.7173, allocations: 28 kB / 0.5947 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.064e-05/0.7173, allocations: 8 kB / 0.5947 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.522e-05/0.7174, allocations: 23.88 kB / 0.5947 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02085/0.7382, allocations: 9.904 MB / 0.6044 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.057e-05/0.7383, allocations: 4 kB / 0.6044 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002324/0.7406, allocations: 0.4958 MB / 0.6048 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002033/0.7427, allocations: 0.7229 MB / 0.6056 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003361/0.743, allocations: 71.97 kB / 0.6056 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2239/0.9669, allocations: 14.11 MB / 0.6194 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.967, allocations: 8.297 kB / 0.6194 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/0.9784, allocations: 6.611 MB / 0.6259 GB, free: 143.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002054/0.9805, allocations: 0.7878 MB / 0.6266 GB, free: 143 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008072/0.9813, allocations: 65.73 kB / 0.6267 GB, free: 143 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002012/0.9834, allocations: 164.2 kB / 0.6269 GB, free: 142.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005412/0.9839, allocations: 210.6 kB / 0.6271 GB, free: 142.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001916/0.9841, allocations: 85.39 kB / 0.6271 GB, free: 142.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003899/0.988, allocations: 2.305 MB / 0.6294 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.988, allocations: 1 kB / 0.6294 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004761/0.9928, allocations: 1.096 MB / 0.6305 GB, free: 141.9 MB / 0.4981 GB 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.0008433/0.9937, allocations: 290 kB / 0.6307 GB, free: 141.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007874/1.002, allocations: 4.701 MB / 0.6353 GB, free: 139.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/1.002, allocations: 5.391 kB / 0.6353 GB, free: 139.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004352/1.006, allocations: 2.837 MB / 0.6381 GB, free: 138.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004356/1.01, allocations: 0.9093 MB / 0.639 GB, free: 137.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/1.026, allocations: 10.62 MB / 0.6494 GB, free: 132.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002467/1.028, allocations: 3.416 MB / 0.6527 GB, free: 131.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/1.029, allocations: 293.3 kB / 0.653 GB, free: 131.5 MB / 0.4981 GB Notification: Performance of SimCode: time 8.31e-07/1.029, allocations: 0 / 0.653 GB, free: 131.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.4084/1.438, allocations: 239.8 MB / 0.8872 GB, free: 97.59 MB / 0.5137 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_2/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_2/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: 21.041904442943633]