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.001572/0.001572, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.001665/0.001665, allocations: 214.6 kB / 22.13 MB, free: 0.9414 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.462/1.462, allocations: 230.2 MB / 255.1 MB, free: 15.27 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.001845/0.001845, allocations: 71.88 kB / 374.6 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09793/0.09978, allocations: 53.32 MB / 427.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.215/0.3148, allocations: 24.85 MB / 452.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01654/0.3313, allocations: 7.408 MB / 460.1 MB, free: 6.816 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00509/0.3364, allocations: 146.4 kB / 460.3 MB, free: 6.785 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00533/0.3417, allocations: 1.646 MB / 461.9 MB, free: 5.906 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008872/0.3506, allocations: 2.356 MB / 464.3 MB, free: 4.344 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004598/0.3552, allocations: 1.492 MB / 465.8 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01139/0.3666, allocations: 7.266 MB / 473 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006119/0.3727, allocations: 3.868 MB / 476.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005828/0.3785, allocations: 3.225 MB / 480.1 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007725/0.3863, allocations: 4.027 MB / 484.2 MB, free: 8.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002182/0.3885, allocations: 0.872 MB / 485 MB, free: 7.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00394/0.3924, allocations: 1.32 MB / 486.3 MB, free: 6.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002345/0.3947, allocations: 2.146 MB / 488.5 MB, free: 4.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005923/0.4007, allocations: 3.788 MB / 492.3 MB, free: 408 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0145/0.4152, allocations: 11.55 MB / 0.492 GB, free: 4.809 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4152, allocations: 0 / 0.492 GB, free: 4.809 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.4152, allocations: 3.984 kB / 0.492 GB, free: 4.805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002175/0.4154, allocations: 3.938 kB / 0.492 GB, free: 4.801 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.01873/0.4341, allocations: 7.622 MB / 0.4995 GB, free: 13.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.4342, allocations: 8.031 kB / 0.4995 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006538/0.4407, allocations: 1.267 MB / 0.5007 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00954/0.4502, allocations: 4.199 MB / 0.5048 GB, free: 7.539 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004555/0.4507, allocations: 427.8 kB / 0.5052 GB, free: 7.121 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001744/0.4524, allocations: 0.555 MB / 0.5058 GB, free: 6.566 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01619/0.4686, allocations: 7.292 MB / 0.5129 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001489/0.4688, allocations: 11.95 kB / 0.5129 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006981/0.4695, allocations: 232 kB / 0.5131 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003192/0.4698, allocations: 263.3 kB / 0.5134 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01321/0.483, allocations: 6.132 MB / 0.5194 GB, free: 8.586 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04301/0.526, allocations: 23.57 MB / 0.5424 GB, free: 412 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009942/0.536, allocations: 8.748 MB / 0.5509 GB, free: 6.664 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004519/0.5405, allocations: 2.308 MB / 0.5532 GB, free: 4.348 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01339/0.5539, allocations: 7.547 MB / 0.5606 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/0.5539, allocations: 60.56 kB / 0.5606 GB, free: 12.37 MB / 478.1 MB Notification: Performance of pre-optimization done (n=238): time 5.691e-06/0.5539, allocations: 0 / 0.5606 GB, free: 12.37 MB / 478.1 MB Notification: Performance of matching and sorting (n=282): time 0.03649/0.5904, allocations: 13.9 MB / 0.5742 GB, free: 14.26 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.066e-05/0.5905, allocations: 81.59 kB / 0.5743 GB, free: 14.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005772/0.5963, allocations: 3.454 MB / 0.5776 GB, free: 10.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004613/0.5967, allocations: 73.7 kB / 0.5777 GB, free: 10.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002248/0.599, allocations: 2.772 MB / 0.5804 GB, free: 7.852 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001146/0.6001, allocations: 1.011 MB / 0.5814 GB, free: 6.832 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001101/0.6012, allocations: 0.6414 MB / 0.582 GB, free: 6.184 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.6013, allocations: 301.1 kB / 0.5823 GB, free: 5.887 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002985/0.6043, allocations: 1.553 MB / 0.5838 GB, free: 4.332 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004014/0.6083, allocations: 2.752 MB / 0.5865 GB, free: 1.047 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00725/0.6156, allocations: 4.602 MB / 0.591 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-05/0.6156, allocations: 8 kB / 0.591 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.01063/0.6262, allocations: 5.497 MB / 0.5964 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/0.6263, allocations: 24 kB / 0.5964 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.246e-05/0.6264, allocations: 40.06 kB / 0.5964 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001772/0.6281, allocations: 0.6897 MB / 0.5971 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003404/0.6315, allocations: 0.8541 MB / 0.598 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/0.6436, allocations: 10.49 MB / 0.6082 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003479/0.6471, allocations: 231.8 kB / 0.6084 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004512/0.6475, allocations: 168 kB / 0.6086 GB, free: 9.211 MB / 0.5137 GB 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.003106/0.6506, allocations: 1.621 MB / 0.6102 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009387/0.6516, allocations: 413.4 kB / 0.6106 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008804/0.6604, allocations: 4.499 MB / 0.615 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.012e-05/0.6604, allocations: 32 kB / 0.615 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/0.6604, allocations: 8 kB / 0.615 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-05/0.6605, allocations: 23.92 kB / 0.615 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2167/0.8772, allocations: 9.92 MB / 0.6247 GB, free: 157.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.8772, allocations: 4.438 kB / 0.6247 GB, free: 157.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002291/0.8795, allocations: 0.4904 MB / 0.6252 GB, free: 157.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002038/0.8815, allocations: 0.7506 MB / 0.6259 GB, free: 157.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002261/0.8817, allocations: 75.19 kB / 0.626 GB, free: 157.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01212/0.8938, allocations: 14.26 MB / 0.6399 GB, free: 146.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/0.8938, allocations: 10.03 kB / 0.6399 GB, free: 146.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01143/0.9053, allocations: 6.615 MB / 0.6464 GB, free: 143.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002114/0.9074, allocations: 0.7927 MB / 0.6472 GB, free: 143.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008715/0.9083, allocations: 75.36 kB / 0.6472 GB, free: 143 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002171/0.9104, allocations: 161.1 kB / 0.6474 GB, free: 143 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005812/0.911, allocations: 207.1 kB / 0.6476 GB, free: 142.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000203/0.9112, allocations: 82.75 kB / 0.6477 GB, free: 142.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003813/0.915, allocations: 2.327 MB / 0.6499 GB, free: 142.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.915, allocations: 0.9844 kB / 0.6499 GB, free: 142.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00493/0.92, allocations: 1.101 MB / 0.651 GB, free: 142 MB / 0.5137 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 (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.000814/0.9208, allocations: 281.7 kB / 0.6513 GB, free: 141.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007593/0.9284, allocations: 4.539 MB / 0.6557 GB, free: 139.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/0.9284, allocations: 0 / 0.6557 GB, free: 139.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004511/0.9329, allocations: 2.723 MB / 0.6584 GB, free: 138.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004079/0.937, allocations: 0.9116 MB / 0.6593 GB, free: 138.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01589/0.9529, allocations: 10.63 MB / 0.6696 GB, free: 132.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002564/0.9554, allocations: 3.432 MB / 0.673 GB, free: 130.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/0.9566, allocations: 300.7 kB / 0.6733 GB, free: 130 MB / 0.5137 GB Notification: Performance of SimCode: time 1.633e-06/0.9566, allocations: 0 / 0.6733 GB, free: 130 MB / 0.5137 GB Notification: Performance of Templates: time 0.3726/1.329, allocations: 241.7 MB / 0.9094 GB, free: 101.2 MB / 0.5294 GB " [Timeout remaining time 659] 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_2/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_2/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 20.901093497872353]