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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001387/0.001387, allocations: 108.3 kB / 20.37 MB, free: 2.098 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001535/0.001535, allocations: 213.9 kB / 23.54 MB, free: 5.395 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 230.2 MB / 256.8 MB, free: 8.629 MB / 206.1 MB [Timeout remaining time 88] 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.002062/0.002062, allocations: 71.88 kB / 376.9 MB, free: 3.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2778, allocations: 53.32 MB / 430.2 MB, free: 7.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.02924/0.307, allocations: 24.85 MB / 455.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01697/0.324, allocations: 7.412 MB / 462.5 MB, free: 7.102 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005265/0.3293, allocations: 143.5 kB / 462.6 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00598/0.3353, allocations: 1.646 MB / 464.3 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008916/0.3442, allocations: 2.365 MB / 466.6 MB, free: 2.926 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005306/0.3495, allocations: 1.512 MB / 468.2 MB, free: 1.414 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01231/0.3618, allocations: 7.261 MB / 475.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008882/0.3707, allocations: 3.86 MB / 479.3 MB, free: 6.184 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007117/0.3778, allocations: 3.232 MB / 482.5 MB, free: 2.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01061/0.3884, allocations: 4.028 MB / 486.5 MB, free: 14.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004094/0.3925, allocations: 0.875 MB / 487.4 MB, free: 14.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006064/0.3986, allocations: 1.316 MB / 488.7 MB, free: 12.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005456/0.404, allocations: 2.146 MB / 490.9 MB, free: 10.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.012/0.416, allocations: 3.792 MB / 494.7 MB, free: 6.746 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03064/0.4467, allocations: 11.55 MB / 0.4944 GB, free: 11.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.4467, allocations: 7.938 kB / 0.4944 GB, free: 11.15 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4467, allocations: 0 / 0.4944 GB, free: 11.15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004013/0.4471, allocations: 0 / 0.4944 GB, free: 11.15 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.03831/0.4854, allocations: 7.622 MB / 0.5018 GB, free: 3.438 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.532e-05/0.4854, allocations: 12.03 kB / 0.5018 GB, free: 3.426 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01361/0.4991, allocations: 1.262 MB / 0.503 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01871/0.5178, allocations: 4.204 MB / 0.5072 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009561/0.5187, allocations: 435.7 kB / 0.5076 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003457/0.5222, allocations: 0.5538 MB / 0.5081 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03101/0.5532, allocations: 7.284 MB / 0.5152 GB, free: 5.566 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002943/0.5535, allocations: 15.89 kB / 0.5152 GB, free: 5.551 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001592/0.5551, allocations: 232 kB / 0.5155 GB, free: 5.324 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003704/0.5554, allocations: 263.3 kB / 0.5157 GB, free: 5.066 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01596/0.5714, allocations: 6.134 MB / 0.5217 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2849/0.8563, allocations: 23.57 MB / 0.5447 GB, free: 84.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007723/0.864, allocations: 8.741 MB / 0.5533 GB, free: 77.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003788/0.8678, allocations: 2.299 MB / 0.5555 GB, free: 76.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01184/0.8797, allocations: 7.55 MB / 0.5629 GB, free: 72.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.8797, allocations: 56.19 kB / 0.5629 GB, free: 72.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 6.663e-06/0.8797, allocations: 0 / 0.5629 GB, free: 72.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=282): time 0.02993/0.9096, allocations: 13.9 MB / 0.5765 GB, free: 65.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.9097, allocations: 81.97 kB / 0.5766 GB, free: 64.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004448/0.9141, allocations: 3.457 MB / 0.58 GB, free: 61.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003276/0.9145, allocations: 73.7 kB / 0.58 GB, free: 61.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001287/0.9157, allocations: 2.772 MB / 0.5827 GB, free: 59.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006939/0.9164, allocations: 1.013 MB / 0.5837 GB, free: 58.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008016/0.9172, allocations: 0.6452 MB / 0.5843 GB, free: 57.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.625e-05/0.9173, allocations: 304.7 kB / 0.5846 GB, free: 57.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/0.9193, allocations: 1.545 MB / 0.5861 GB, free: 55.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002438/0.9218, allocations: 2.755 MB / 0.5888 GB, free: 52.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004737/0.9265, allocations: 4.599 MB / 0.5933 GB, free: 47.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.909e-05/0.9265, allocations: 12 kB / 0.5933 GB, free: 47.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.007866/0.9344, allocations: 5.497 MB / 0.5987 GB, free: 41.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.9344, allocations: 28.03 kB / 0.5987 GB, free: 41.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-05/0.9345, allocations: 40 kB / 0.5988 GB, free: 41.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/0.9359, allocations: 0.6763 MB / 0.5994 GB, free: 41.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002753/0.9386, allocations: 0.8541 MB / 0.6003 GB, free: 40.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00775/0.9464, allocations: 10.5 MB / 0.6105 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003453/0.9498, allocations: 231.7 kB / 0.6107 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003805/0.9502, allocations: 172 kB / 0.6109 GB, free: 28.77 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.002631/0.9528, allocations: 1.625 MB / 0.6125 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009017/0.9537, allocations: 409.4 kB / 0.6129 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006525/0.9603, allocations: 4.51 MB / 0.6173 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.774e-05/0.9603, allocations: 32 kB / 0.6173 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.9603, allocations: 12 kB / 0.6173 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.309e-05/0.9603, allocations: 15.94 kB / 0.6173 GB, free: 22.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01408/0.9744, allocations: 9.908 MB / 0.627 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.9744, allocations: 15.88 kB / 0.627 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00188/0.9763, allocations: 499.3 kB / 0.6275 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001597/0.9779, allocations: 0.7539 MB / 0.6283 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/0.9781, allocations: 75.95 kB / 0.6283 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01112/0.9892, allocations: 14.27 MB / 0.6423 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.9892, allocations: 4 kB / 0.6423 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/1.001, allocations: 6.62 MB / 0.6487 GB, free: 4.637 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002092/1.003, allocations: 0.7873 MB / 0.6495 GB, free: 3.828 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006304/1.003, allocations: 63.98 kB / 0.6496 GB, free: 3.766 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001968/1.005, allocations: 159.8 kB / 0.6497 GB, free: 3.609 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004599/1.006, allocations: 205.8 kB / 0.6499 GB, free: 3.406 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001869/1.006, allocations: 91.91 kB / 0.65 GB, free: 3.316 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003798/1.01, allocations: 2.327 MB / 0.6523 GB, free: 1.008 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/1.01, allocations: 0 / 0.6523 GB, free: 1.008 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004355/1.014, allocations: 1.102 MB / 0.6533 GB, free: 15.91 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.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.0007399/1.015, allocations: 295.8 kB / 0.6536 GB, free: 15.62 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008082/1.023, allocations: 4.545 MB / 0.6581 GB, free: 10.96 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.023, allocations: 0 / 0.6581 GB, free: 10.96 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004879/1.028, allocations: 2.722 MB / 0.6607 GB, free: 8.152 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004425/1.032, allocations: 0.9154 MB / 0.6616 GB, free: 7.254 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/1.052, allocations: 10.65 MB / 0.672 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003625/1.055, allocations: 3.444 MB / 0.6754 GB, free: 9.004 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001277/1.056, allocations: 295.4 kB / 0.6757 GB, free: 8.715 MB / 494.1 MB Notification: Performance of SimCode: time 1.413e-06/1.056, allocations: 0 / 0.6757 GB, free: 8.715 MB / 494.1 MB Notification: Performance of Templates: time 0.4373/1.494, allocations: 241.7 MB / 0.9117 GB, free: 37.07 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