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.001612/0.001612, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 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.001828/0.001828, allocations: 213.7 kB / 24.5 MB, free: 4.148 MB / 14.72 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 1.493/1.493, allocations: 230.5 MB / 258.1 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002458/0.002458, allocations: 68.09 kB / 379.1 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3196, allocations: 53.4 MB / 432.5 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.05927/0.3788, allocations: 24.92 MB / 457.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02971/0.4085, allocations: 7.44 MB / 464.8 MB, free: 6.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0077/0.4162, allocations: 179 kB / 465 MB, free: 6.074 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01006/0.4263, allocations: 1.649 MB / 466.7 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01579/0.4421, allocations: 2.369 MB / 469 MB, free: 2.031 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008698/0.4508, allocations: 1.519 MB / 470.5 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01923/0.47, allocations: 7.275 MB / 477.8 MB, free: 9.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01173/0.4817, allocations: 3.169 MB / 481 MB, free: 5.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007591/0.4893, allocations: 3.29 MB / 484.3 MB, free: 2.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008221/0.4975, allocations: 4.036 MB / 488.3 MB, free: 14.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003302/0.5009, allocations: 0.875 MB / 489.2 MB, free: 13.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005145/0.506, allocations: 1.37 MB / 490.6 MB, free: 12.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004192/0.5102, allocations: 2.15 MB / 492.7 MB, free: 10.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008612/0.5188, allocations: 3.788 MB / 496.5 MB, free: 6.402 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01979/0.5386, allocations: 11.55 MB / 0.4961 GB, free: 10.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.5386, allocations: 0 / 0.4961 GB, free: 10.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5386, allocations: 0 / 0.4961 GB, free: 10.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004269/0.539, allocations: 0 / 0.4961 GB, free: 10.81 MB / 414.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.02489/0.5639, allocations: 7.555 MB / 0.5035 GB, free: 3.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.564, allocations: 8.031 kB / 0.5035 GB, free: 3.172 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007794/0.5718, allocations: 1.265 MB / 0.5048 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01132/0.5831, allocations: 4.1 MB / 0.5088 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005609/0.5836, allocations: 431.8 kB / 0.5092 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001882/0.5855, allocations: 0.5587 MB / 0.5097 GB, free: 12.74 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01848/0.604, allocations: 7.288 MB / 0.5168 GB, free: 5.398 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002353/0.6042, allocations: 7.953 kB / 0.5169 GB, free: 5.391 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001185/0.6054, allocations: 236 kB / 0.5171 GB, free: 5.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003584/0.6058, allocations: 259.3 kB / 0.5173 GB, free: 4.906 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01503/0.6208, allocations: 6.138 MB / 0.5233 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2863/0.9071, allocations: 23.09 MB / 0.5459 GB, free: 83.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007509/0.9146, allocations: 3.938 MB / 0.5497 GB, free: 82.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003902/0.9185, allocations: 2.279 MB / 0.5519 GB, free: 82.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01318/0.9317, allocations: 6.293 MB / 0.5581 GB, free: 79.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.467e-05/0.9318, allocations: 67.41 kB / 0.5582 GB, free: 79.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 5.761e-06/0.9318, allocations: 0 / 0.5582 GB, free: 79.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=282): time 0.03033/0.9621, allocations: 13.23 MB / 0.5711 GB, free: 72.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.9622, allocations: 76.56 kB / 0.5711 GB, free: 72.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004673/0.9668, allocations: 3.451 MB / 0.5745 GB, free: 69.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004869/0.9673, allocations: 73.7 kB / 0.5746 GB, free: 69.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001409/0.9687, allocations: 2.768 MB / 0.5773 GB, free: 67.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008972/0.9696, allocations: 1.015 MB / 0.5783 GB, free: 66.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009171/0.9705, allocations: 0.6488 MB / 0.5789 GB, free: 65.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.573e-05/0.9706, allocations: 301.1 kB / 0.5792 GB, free: 65.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002236/0.9728, allocations: 1.545 MB / 0.5807 GB, free: 63.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002607/0.9754, allocations: 2.759 MB / 0.5834 GB, free: 60.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005183/0.9806, allocations: 4.606 MB / 0.5879 GB, free: 55.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-05/0.9806, allocations: 11.94 kB / 0.5879 GB, free: 55.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.008628/0.9893, allocations: 5.349 MB / 0.5931 GB, free: 50.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.432e-05/0.9893, allocations: 24 kB / 0.5932 GB, free: 50.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.131e-05/0.9894, allocations: 36 kB / 0.5932 GB, free: 49.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/0.9908, allocations: 0.6807 MB / 0.5939 GB, free: 49.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003125/0.9939, allocations: 0.8541 MB / 0.5947 GB, free: 48.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008028/1.002, allocations: 10.08 MB / 0.6045 GB, free: 37.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003452/1.005, allocations: 219.8 kB / 0.6047 GB, free: 37.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006544/1.006, allocations: 172 kB / 0.6049 GB, free: 37.54 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 (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.00309/1.009, allocations: 1.632 MB / 0.6065 GB, free: 35.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001066/1.01, allocations: 405.4 kB / 0.6069 GB, free: 35.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007052/1.017, allocations: 4.277 MB / 0.6111 GB, free: 31.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.252e-05/1.017, allocations: 28 kB / 0.6111 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.798e-05/1.017, allocations: 11.94 kB / 0.6111 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.658e-05/1.017, allocations: 15.89 kB / 0.6111 GB, free: 31.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01618/1.034, allocations: 9.668 MB / 0.6206 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/1.034, allocations: 8.125 kB / 0.6206 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0021/1.036, allocations: 0.4957 MB / 0.6211 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001679/1.037, allocations: 0.7494 MB / 0.6218 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00033/1.038, allocations: 75.88 kB / 0.6219 GB, free: 19.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01019/1.048, allocations: 13.64 MB / 0.6352 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.048, allocations: 20 kB / 0.6352 GB, free: 5.652 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01026/1.058, allocations: 6.383 MB / 0.6414 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002633/1.061, allocations: 0.7198 MB / 0.6421 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001052/1.062, allocations: 71.92 kB / 0.6422 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002505/1.064, allocations: 163.8 kB / 0.6424 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005336/1.065, allocations: 213.6 kB / 0.6426 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002109/1.065, allocations: 83.97 kB / 0.6426 GB, free: 13.83 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004514/1.07, allocations: 2.327 MB / 0.6449 GB, free: 11.52 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.6e-07/1.07, allocations: 7.938 kB / 0.6449 GB, free: 11.52 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005407/1.075, allocations: 1.098 MB / 0.646 GB, free: 10.42 MB / 462.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 (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.001077/1.076, allocations: 286.4 kB / 0.6463 GB, free: 10.13 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00925/1.085, allocations: 4.394 MB / 0.6506 GB, free: 5.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/1.085, allocations: 0 / 0.6506 GB, free: 5.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005697/1.091, allocations: 2.712 MB / 0.6532 GB, free: 2.867 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00522/1.096, allocations: 0.9239 MB / 0.6541 GB, free: 1.965 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02307/1.119, allocations: 10.67 MB / 0.6645 GB, free: 7.18 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005182/1.124, allocations: 3.429 MB / 0.6679 GB, free: 3.719 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001466/1.126, allocations: 295.4 kB / 0.6682 GB, free: 3.43 MB / 478.1 MB Notification: Performance of SimCode: time 1.342e-06/1.126, allocations: 4 kB / 0.6682 GB, free: 3.426 MB / 478.1 MB Notification: Performance of Templates: time 0.4689/1.595, allocations: 241.7 MB / 0.9042 GB, free: 49.89 MB / 0.545 GB " [Timeout remaining time 658] 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/jenkins1/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/jenkins1/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: 22.246628504944965]