Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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.001307/0.001307, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.001462/0.001462, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.377/1.377, allocations: 230.6 MB / 258.3 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 39.94 kB / 379.1 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.242, allocations: 53.37 MB / 432.4 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.02728/0.2693, allocations: 24.92 MB / 457.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01422/0.2835, allocations: 7.436 MB / 464.8 MB, free: 6.418 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003925/0.2874, allocations: 179 kB / 465 MB, free: 6.242 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004779/0.2922, allocations: 1.642 MB / 466.6 MB, free: 4.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007577/0.2998, allocations: 2.384 MB / 469 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004617/0.3044, allocations: 1.516 MB / 470.5 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0115/0.3159, allocations: 7.263 MB / 477.8 MB, free: 9.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007275/0.3232, allocations: 3.169 MB / 480.9 MB, free: 6.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006015/0.3292, allocations: 3.294 MB / 484.2 MB, free: 2.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007726/0.3369, allocations: 4.036 MB / 488.3 MB, free: 14.78 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002856/0.3398, allocations: 0.875 MB / 489.1 MB, free: 13.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004348/0.3441, allocations: 1.362 MB / 490.5 MB, free: 12.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003504/0.3476, allocations: 2.158 MB / 492.7 MB, free: 10.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007057/0.3547, allocations: 3.788 MB / 496.4 MB, free: 6.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01724/0.3719, allocations: 11.55 MB / 0.4961 GB, free: 10.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3719, allocations: 0 / 0.4961 GB, free: 10.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3719, allocations: 0 / 0.4961 GB, free: 10.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003236/0.3722, allocations: 0 / 0.4961 GB, free: 10.97 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.02068/0.3929, allocations: 7.551 MB / 0.5035 GB, free: 3.348 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.393, allocations: 8.031 kB / 0.5035 GB, free: 3.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006524/0.3995, allocations: 1.265 MB / 0.5047 GB, free: 2.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009981/0.4095, allocations: 4.104 MB / 0.5087 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004654/0.4099, allocations: 427.8 kB / 0.5091 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001798/0.4117, allocations: 0.5625 MB / 0.5097 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01752/0.4293, allocations: 7.28 MB / 0.5168 GB, free: 5.574 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002372/0.4295, allocations: 11.95 kB / 0.5168 GB, free: 5.562 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001556/0.431, allocations: 232 kB / 0.517 GB, free: 5.336 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003644/0.4314, allocations: 263.2 kB / 0.5173 GB, free: 5.078 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01377/0.4452, allocations: 6.131 MB / 0.5233 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.249/0.6941, allocations: 23.11 MB / 0.5458 GB, free: 83.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006584/0.7007, allocations: 3.939 MB / 0.5497 GB, free: 83.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003649/0.7044, allocations: 2.279 MB / 0.5519 GB, free: 82.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01146/0.7158, allocations: 6.295 MB / 0.558 GB, free: 79.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.7159, allocations: 67.78 kB / 0.5581 GB, free: 79.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.889e-06/0.7159, allocations: 0 / 0.5581 GB, free: 79.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=282): time 0.0293/0.7452, allocations: 13.22 MB / 0.571 GB, free: 73.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.7452, allocations: 81.03 kB / 0.5711 GB, free: 73.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004216/0.7494, allocations: 3.456 MB / 0.5745 GB, free: 70.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004112/0.7498, allocations: 73.7 kB / 0.5745 GB, free: 70.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001303/0.7511, allocations: 2.767 MB / 0.5772 GB, free: 67.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000612/0.7518, allocations: 1.018 MB / 0.5782 GB, free: 66.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007372/0.7525, allocations: 0.6413 MB / 0.5789 GB, free: 66.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.39e-05/0.7525, allocations: 309.1 kB / 0.5792 GB, free: 65.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002031/0.7546, allocations: 1.541 MB / 0.5807 GB, free: 64.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002345/0.7569, allocations: 2.76 MB / 0.5834 GB, free: 60.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004493/0.7614, allocations: 4.599 MB / 0.5878 GB, free: 55.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.74e-05/0.7614, allocations: 12 kB / 0.5879 GB, free: 55.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.00759/0.769, allocations: 5.357 MB / 0.5931 GB, free: 50.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.7691, allocations: 26.81 kB / 0.5931 GB, free: 50.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.527e-05/0.7691, allocations: 36 kB / 0.5932 GB, free: 50.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001329/0.7704, allocations: 0.683 MB / 0.5938 GB, free: 49.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002708/0.7731, allocations: 0.854 MB / 0.5947 GB, free: 48.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007388/0.7805, allocations: 10.08 MB / 0.6045 GB, free: 38.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00315/0.7837, allocations: 223.8 kB / 0.6047 GB, free: 38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002749/0.7839, allocations: 168 kB / 0.6049 GB, free: 37.84 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.002331/0.7863, allocations: 1.62 MB / 0.6064 GB, free: 36.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007212/0.787, allocations: 413.4 kB / 0.6068 GB, free: 35.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006043/0.793, allocations: 4.281 MB / 0.611 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.167e-05/0.7931, allocations: 32 kB / 0.6111 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.7931, allocations: 15.88 kB / 0.6111 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.186e-05/0.7931, allocations: 15.94 kB / 0.6111 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01234/0.8054, allocations: 9.66 MB / 0.6205 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.8055, allocations: 8 kB / 0.6205 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001872/0.8073, allocations: 0.4919 MB / 0.621 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001551/0.8089, allocations: 0.7453 MB / 0.6217 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00017/0.8091, allocations: 75.8 kB / 0.6218 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009554/0.8186, allocations: 13.66 MB / 0.6351 GB, free: 5.961 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.8186, allocations: 11.94 kB / 0.6352 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009011/0.8276, allocations: 6.379 MB / 0.6414 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002264/0.8299, allocations: 0.7198 MB / 0.6421 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006488/0.8305, allocations: 63.98 kB / 0.6421 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001891/0.8324, allocations: 167.9 kB / 0.6423 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004662/0.8329, allocations: 229.5 kB / 0.6425 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001922/0.8331, allocations: 91.72 kB / 0.6426 GB, free: 14.12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003789/0.8369, allocations: 2.323 MB / 0.6449 GB, free: 11.81 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8369, allocations: 3.938 kB / 0.6449 GB, free: 11.81 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00403/0.8409, allocations: 1.098 MB / 0.646 GB, free: 10.71 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.0006878/0.8416, allocations: 278 kB / 0.6462 GB, free: 10.43 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008007/0.8496, allocations: 4.389 MB / 0.6505 GB, free: 5.965 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.8496, allocations: 2 kB / 0.6505 GB, free: 5.965 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004853/0.8545, allocations: 2.714 MB / 0.6532 GB, free: 3.168 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004287/0.8587, allocations: 0.924 MB / 0.6541 GB, free: 2.266 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01978/0.8785, allocations: 10.67 MB / 0.6645 GB, free: 7.477 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003707/0.8822, allocations: 3.429 MB / 0.6678 GB, free: 4.016 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001351/0.8836, allocations: 299.4 kB / 0.6681 GB, free: 3.723 MB / 478.1 MB Notification: Performance of SimCode: time 1.292e-06/0.8836, allocations: 0 / 0.6681 GB, free: 3.723 MB / 478.1 MB Notification: Performance of Templates: time 0.4166/1.3, allocations: 241.7 MB / 0.9042 GB, free: 50.26 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.207270520972088]