Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|constantSpeedQS.phi|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.stray.port_p.Phi.im|smee.stator.stray.port_p.Phi.re|smee.stator.zeroInductor.i0|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|constantSpeedQS.phi|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.stray.port_p.Phi.im|smee.stator.stray.port_p.Phi.re|smee.stator.zeroInductor.i0|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008579/0.0008579, allocations: 103.2 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.745e-05/1.734e-05, allocations: 4 kB / 343.7 MB, free: 8.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1029, allocations: 51.48 MB / 395.2 MB, free: 4.715 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4578/0.5608, allocations: 167.9 MB / 0.5499 GB, free: 6.629 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.5611, allocations: 103.8 kB / 0.55 GB, free: 6.574 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.674/2.235, allocations: 404.3 MB / 0.9448 GB, free: 42.64 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.395e-06/2.235, allocations: 2.688 kB / 0.9448 GB, free: 42.64 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001194/2.236, allocations: 257.4 kB / 0.945 GB, free: 42.61 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3043 * Number of variables: 3043 Notification: Performance of Generate backend data structure: time 0.03924/2.276, allocations: 10.19 MB / 0.955 GB, free: 39.37 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/2.276, allocations: 8.75 kB / 0.955 GB, free: 39.37 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02513/2.301, allocations: 3.761 MB / 0.9587 GB, free: 38.75 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02461/2.326, allocations: 8.906 MB / 0.9674 GB, free: 37.61 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008818/2.326, allocations: 359.8 kB / 0.9677 GB, free: 37.61 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005014/2.331, allocations: 0.631 MB / 0.9683 GB, free: 37.61 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0328/2.364, allocations: 12.19 MB / 0.9802 GB, free: 37.56 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04711/2.411, allocations: 14.53 MB / 0.9944 GB, free: 36.27 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005724/2.412, allocations: 23.03 kB / 0.9945 GB, free: 36.26 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004094/2.416, allocations: 7.281 kB / 0.9945 GB, free: 36.26 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008353/2.417, allocations: 0.7113 MB / 0.9952 GB, free: 36.23 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1/2.517, allocations: 55.59 MB / 1.049 GB, free: 10.75 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03632/2.553, allocations: 22.41 MB / 1.071 GB, free: 7.555 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008524/2.562, allocations: 3.481 MB / 1.075 GB, free: 6.309 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03284/2.595, allocations: 10.47 MB / 1.085 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.274e-05/2.595, allocations: 69.81 kB / 1.085 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=313): time 9.729e-06/2.595, allocations: 4.562 kB / 1.085 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=346): time 0.07524/2.67, allocations: 16.59 MB / 1.101 GB, free: 64 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.329/2.999, allocations: 117.2 kB / 1.101 GB, free: 72.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008576/3.008, allocations: 3.897 MB / 1.105 GB, free: 72.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001122/3.009, allocations: 30.23 kB / 1.105 GB, free: 72.24 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004013/3.013, allocations: 5.162 MB / 1.11 GB, free: 71.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001587/3.015, allocations: 1.17 MB / 1.111 GB, free: 70.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005285/3.015, allocations: 1.312 kB / 1.111 GB, free: 70.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003762/3.016, allocations: 0.5557 MB / 1.112 GB, free: 70.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004056/3.02, allocations: 2.616 MB / 1.114 GB, free: 70.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006114/3.026, allocations: 5.279 MB / 1.12 GB, free: 66.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01241/3.038, allocations: 4.941 MB / 1.124 GB, free: 66.74 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002339/3.039, allocations: 26.16 kB / 1.124 GB, free: 66.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02165/3.06, allocations: 9.757 MB / 1.134 GB, free: 66.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/3.061, allocations: 43.75 kB / 1.134 GB, free: 66.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001811/3.061, allocations: 91.44 kB / 1.134 GB, free: 66.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002379/3.063, allocations: 0.9141 MB / 1.135 GB, free: 66.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006137/3.069, allocations: 1.493 MB / 1.136 GB, free: 66.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01/3.079, allocations: 9.353 MB / 1.146 GB, free: 62.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007469/3.087, allocations: 396.9 kB / 1.146 GB, free: 62.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001893/3.089, allocations: 336.1 kB / 1.146 GB, free: 62.27 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 416 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (754): * Single equations (assignments): 744 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(1,100.0%) 5,(8,67.2%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001375/3.09, allocations: 337.4 kB / 1.147 GB, free: 62.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001623/3.092, allocations: 481.8 kB / 1.147 GB, free: 61.85 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01461/3.106, allocations: 6.856 MB / 1.154 GB, free: 61.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01063/3.117, allocations: 5.887 MB / 1.16 GB, free: 61.02 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.17e-05/3.117, allocations: 11.02 kB / 1.16 GB, free: 61.01 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.695e-05/3.117, allocations: 17.11 kB / 1.16 GB, free: 61.01 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04064/3.158, allocations: 20.68 MB / 1.18 GB, free: 59.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/3.158, allocations: 7.156 kB / 1.18 GB, free: 59.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002768/3.161, allocations: 0.6162 MB / 1.18 GB, free: 59.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002959/3.164, allocations: 1.122 MB / 1.181 GB, free: 59.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003564/3.164, allocations: 39.94 kB / 1.181 GB, free: 59.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01402/3.178, allocations: 14.25 MB / 1.195 GB, free: 53.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00268/3.181, allocations: 2.73 MB / 1.198 GB, free: 51.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01661/3.197, allocations: 10.42 MB / 1.208 GB, free: 46 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002746/3.2, allocations: 1.025 MB / 1.209 GB, free: 45.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001056/3.201, allocations: 9.406 kB / 1.209 GB, free: 45.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002994/3.204, allocations: 226.9 kB / 1.209 GB, free: 45.37 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006165/3.205, allocations: 260.1 kB / 1.21 GB, free: 45.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002444/3.205, allocations: 110.9 kB / 1.21 GB, free: 45.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005085/3.21, allocations: 2.811 MB / 1.213 GB, free: 44.17 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.9e-07/3.21, allocations: 1.859 kB / 1.213 GB, free: 44.17 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01066/3.221, allocations: 1.747 MB / 1.214 GB, free: 44.14 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (smeeQS.gamma,smeeQS.excitation.electroMagneticConverter.port_p.reference.gamma,$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],smee.stator.zeroInductor.i0) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (291): * Single equations (assignments): 282 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,65.6%) 26,(2,100.0%) 8,(1,100.0%) 4,(1,100.0%) 8} * Non-linear torn systems: 1 {5 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001585/3.222, allocations: 0.5182 MB / 1.215 GB, free: 43.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01151/3.234, allocations: 6.763 MB / 1.221 GB, free: 41.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/3.234, allocations: 0 / 1.221 GB, free: 41.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005767/3.24, allocations: 3.524 MB / 1.225 GB, free: 39.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005775/3.246, allocations: 0.8759 MB / 1.226 GB, free: 39.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0319/3.278, allocations: 15.47 MB / 1.241 GB, free: 29.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009637/3.287, allocations: 6.779 MB / 1.247 GB, free: 24.45 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006115/3.293, allocations: 1.825 MB / 1.249 GB, free: 23.25 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/3.295, allocations: 361.9 kB / 1.25 GB, free: 22.93 MB / 0.4948 GB Notification: Performance of SimCode: time 9.52e-07/3.295, allocations: 0 / 1.25 GB, free: 22.93 MB / 0.4948 GB Notification: Performance of Templates: time 0.4566/3.751, allocations: 64.94 MB / 1.313 GB, free: 57.02 MB / 0.4948 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches