Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 109.2 kB / 21.93 MB, free: 5.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00225/0.00225, allocations: 214 kB / 25.23 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 65.73 kB / 348.5 MB, free: 9.344 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3361, allocations: 49.15 MB / 397.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator): time 0.02553/0.3617, allocations: 20.71 MB / 418.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01913/0.3808, allocations: 6.837 MB / 425.2 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006125/0.3869, allocations: 162.4 kB / 425.3 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00607/0.393, allocations: 1.563 MB / 426.9 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01131/0.4043, allocations: 2.315 MB / 429.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005708/0.41, allocations: 1.471 MB / 430.7 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01428/0.4243, allocations: 7.203 MB / 437.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008895/0.4332, allocations: 2.973 MB / 440.9 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007605/0.4408, allocations: 3.275 MB / 444.1 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007953/0.4488, allocations: 3.603 MB / 447.7 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00346/0.4522, allocations: 0.8711 MB / 448.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005044/0.4573, allocations: 1.269 MB / 449.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004382/0.4616, allocations: 2.146 MB / 452 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008411/0.4701, allocations: 3.019 MB / 455 MB, free: 9.504 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01953/0.4896, allocations: 11.54 MB / 466.6 MB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.4896, allocations: 0 / 466.6 MB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4896, allocations: 0 / 466.6 MB, free: 13.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004233/0.49, allocations: 0 / 466.6 MB, free: 13.93 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.02566/0.5157, allocations: 7.496 MB / 474.1 MB, free: 6.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.5157, allocations: 11.98 kB / 474.1 MB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007762/0.5235, allocations: 1.254 MB / 475.3 MB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01167/0.5352, allocations: 3.846 MB / 479.2 MB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006094/0.5358, allocations: 427.8 kB / 479.6 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002512/0.5383, allocations: 0.5547 MB / 480.2 MB, free: 196 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02265/0.5609, allocations: 7.556 MB / 487.7 MB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003258/0.5613, allocations: 15.89 kB / 487.7 MB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001797/0.5631, allocations: 232 kB / 488 MB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003823/0.5634, allocations: 263.3 kB / 488.2 MB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0169/0.5803, allocations: 6.092 MB / 494.3 MB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04924/0.6296, allocations: 20.27 MB / 0.5025 GB, free: 13.03 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007999/0.6376, allocations: 3.883 MB / 0.5063 GB, free: 9.332 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004604/0.6422, allocations: 2.168 MB / 0.5084 GB, free: 7.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01569/0.6579, allocations: 5.561 MB / 0.5139 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.018e-05/0.6579, allocations: 64.55 kB / 0.5139 GB, free: 1.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=238): time 6.682e-06/0.6579, allocations: 0 / 0.5139 GB, free: 1.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=282): time 0.0369/0.6948, allocations: 13.06 MB / 0.5267 GB, free: 4.375 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.568e-05/0.6949, allocations: 81.59 kB / 0.5268 GB, free: 4.281 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00636/0.7013, allocations: 3.048 MB / 0.5297 GB, free: 1.227 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005223/0.7018, allocations: 73.7 kB / 0.5298 GB, free: 1.148 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002423/0.7042, allocations: 2.766 MB / 0.5325 GB, free: 14.36 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001377/0.7056, allocations: 1.015 MB / 0.5335 GB, free: 13.33 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001668/0.7073, allocations: 0.6453 MB / 0.5341 GB, free: 12.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.7074, allocations: 305.1 kB / 0.5344 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003079/0.7105, allocations: 1.541 MB / 0.5359 GB, free: 10.84 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004082/0.7145, allocations: 2.789 MB / 0.5387 GB, free: 7.504 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007398/0.7219, allocations: 4.599 MB / 0.5431 GB, free: 2.332 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-05/0.722, allocations: 16 kB / 0.5432 GB, free: 2.316 MB / 462.1 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.01103/0.733, allocations: 5.279 MB / 0.5483 GB, free: 12.97 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.659e-05/0.7331, allocations: 24 kB / 0.5483 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.191e-05/0.7332, allocations: 36 kB / 0.5484 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001718/0.7349, allocations: 0.673 MB / 0.549 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00334/0.7382, allocations: 0.8619 MB / 0.5499 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/0.7496, allocations: 9.754 MB / 0.5594 GB, free: 1.199 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003755/0.7534, allocations: 227.6 kB / 0.5596 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000697/0.7541, allocations: 171.9 kB / 0.5598 GB, free: 0.8086 MB / 478.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.2241/0.9782, allocations: 1.617 MB / 0.5614 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001339/0.9795, allocations: 365.5 kB / 0.5617 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008332/0.9879, allocations: 4.228 MB / 0.5658 GB, free: 139 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-05/0.9879, allocations: 34.69 kB / 0.5659 GB, free: 139 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-05/0.988, allocations: 7.688 kB / 0.5659 GB, free: 139 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.074e-05/0.988, allocations: 15.52 kB / 0.5659 GB, free: 139 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01809/1.006, allocations: 8.329 MB / 0.574 GB, free: 135.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-05/1.006, allocations: 5 kB / 0.574 GB, free: 135.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002288/1.008, allocations: 0.4972 MB / 0.5745 GB, free: 135.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00201/1.01, allocations: 0.7287 MB / 0.5752 GB, free: 135.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002762/1.011, allocations: 74.56 kB / 0.5753 GB, free: 135.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01232/1.023, allocations: 13.25 MB / 0.5882 GB, free: 124.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/1.023, allocations: 15.66 kB / 0.5882 GB, free: 124.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01193/1.035, allocations: 6.322 MB / 0.5944 GB, free: 122.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002695/1.038, allocations: 0.6608 MB / 0.5951 GB, free: 122 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001349/1.039, allocations: 65.48 kB / 0.5951 GB, free: 122 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00295/1.042, allocations: 164.9 kB / 0.5953 GB, free: 121.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000642/1.043, allocations: 218.3 kB / 0.5955 GB, free: 121.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003332/1.043, allocations: 85.62 kB / 0.5956 GB, free: 121.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00455/1.047, allocations: 1.982 MB / 0.5975 GB, free: 121.1 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/1.047, allocations: 0 / 0.5975 GB, free: 121.1 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005769/1.053, allocations: 1.095 MB / 0.5986 GB, free: 120.8 MB / 478.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.strayReluctance.Phi.re,smeeM.stator.strayReluctance.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.001085/1.054, allocations: 273.7 kB / 0.5988 GB, free: 120.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008159/1.062, allocations: 4.361 MB / 0.6031 GB, free: 116.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/1.062, allocations: 0 / 0.6031 GB, free: 116.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004691/1.067, allocations: 2.697 MB / 0.6057 GB, free: 113.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005856/1.073, allocations: 0.7213 MB / 0.6064 GB, free: 113.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02187/1.095, allocations: 10.6 MB / 0.6168 GB, free: 102.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004782/1.1, allocations: 2.917 MB / 0.6196 GB, free: 99.52 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001588/1.101, allocations: 275.4 kB / 0.6199 GB, free: 99.25 MB / 478.1 MB Notification: Performance of SimCode: time 1.523e-06/1.101, allocations: 0 / 0.6199 GB, free: 99.25 MB / 478.1 MB Notification: Performance of Templates: time 0.4899/1.591, allocations: 239.2 MB / 0.8535 GB, free: 108.7 MB / 0.5137 GB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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: 20.793696915265173]