Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.is.1.|smee3.is.2.|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.stray.port_p.Phi.im|smee3.stator.stray.port_p.Phi.re|smeeM.is.1.|smeeM.is.2.|smeeM.is.3.|smeeM.is.4.|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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.is.1.|smee3.is.2.|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.stray.port_p.Phi.im|smee3.stator.stray.port_p.Phi.re|smeeM.is.1.|smeeM.is.2.|smeeM.is.3.|smeeM.is.4.|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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 174.9 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008636/0.0008637, allocations: 97.84 kB / 281.2 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.424e-05/1.427e-05, allocations: 4 kB / 337.1 MB, free: 9.996 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1022, allocations: 50.42 MB / 387.5 MB, free: 7.543 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3548/0.457, allocations: 124.9 MB / 0.5003 GB, free: 1.875 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.4573, allocations: 99.94 kB / 0.5004 GB, free: 1.777 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7108/1.168, allocations: 191.6 MB / 0.6876 GB, free: 17.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.168, allocations: 0 / 0.6876 GB, free: 17.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007142/1.169, allocations: 207.8 kB / 0.6878 GB, free: 17.66 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.024/1.193, allocations: 7.932 MB / 0.6955 GB, free: 9.641 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/1.193, allocations: 12.02 kB / 0.6955 GB, free: 9.629 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01277/1.206, allocations: 1.905 MB / 0.6974 GB, free: 7.711 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01926/1.225, allocations: 7.038 MB / 0.7043 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005105/1.226, allocations: 288 kB / 0.7046 GB, free: 328 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2869/1.512, allocations: 0.5015 MB / 0.705 GB, free: 32.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01902/1.532, allocations: 8.231 MB / 0.7131 GB, free: 32.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02593/1.557, allocations: 9.651 MB / 0.7225 GB, free: 31.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002332/1.558, allocations: 9.844 kB / 0.7225 GB, free: 31.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001072/1.559, allocations: 7.625 kB / 0.7225 GB, free: 31.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002522/1.559, allocations: 368.5 kB / 0.7229 GB, free: 31.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05357/1.613, allocations: 34.37 MB / 0.7564 GB, free: 25.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01228/1.625, allocations: 16.65 MB / 0.7727 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004805/1.63, allocations: 3.241 MB / 0.7759 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0145/1.644, allocations: 9.347 MB / 0.785 GB, free: 8.211 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/1.644, allocations: 70.59 kB / 0.7851 GB, free: 8.145 MB / 426.7 MB Notification: Performance of pre-optimization done (n=300): time 5.32e-06/1.644, allocations: 0 / 0.7851 GB, free: 8.145 MB / 426.7 MB Notification: Performance of matching and sorting (n=352): time 0.02515/1.67, allocations: 12.17 MB / 0.7969 GB, free: 3.129 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/1.67, allocations: 86.56 kB / 0.797 GB, free: 3.062 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004527/1.674, allocations: 3.14 MB / 0.8001 GB, free: 1.805 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005052/1.675, allocations: 29.2 kB / 0.8001 GB, free: 1.773 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002224/1.677, allocations: 3.894 MB / 0.8039 GB, free: 14.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001275/1.678, allocations: 1.161 MB / 0.8051 GB, free: 13.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/1.678, allocations: 0 / 0.8051 GB, free: 13.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002727/1.679, allocations: 482.3 kB / 0.8055 GB, free: 13.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002361/1.681, allocations: 1.65 MB / 0.8071 GB, free: 12.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00318/1.684, allocations: 3.052 MB / 0.8101 GB, free: 10.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004218/1.689, allocations: 2.549 MB / 0.8126 GB, free: 9.336 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.96e-05/1.689, allocations: 13.62 kB / 0.8126 GB, free: 9.336 MB / 442.7 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.01015/1.699, allocations: 5.966 MB / 0.8184 GB, free: 7.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.564e-05/1.699, allocations: 31.34 kB / 0.8185 GB, free: 7.176 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.554e-05/1.699, allocations: 43 kB / 0.8185 GB, free: 7.176 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001705/1.701, allocations: 0.6995 MB / 0.8192 GB, free: 6.938 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003734/1.704, allocations: 1.05 MB / 0.8202 GB, free: 6.895 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009952/1.714, allocations: 9.66 MB / 0.8296 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004592/1.719, allocations: 168.4 kB / 0.8298 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007347/1.72, allocations: 203.6 kB / 0.83 GB, free: 15.33 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (523): * Single equations (assignments): 515 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 13,(1,100.0%) 5,(2,100.0%) 13,(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008162/1.721, allocations: 234.7 kB / 0.8302 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001222/1.722, allocations: 437 kB / 0.8306 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009393/1.731, allocations: 5.071 MB / 0.8356 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.693e-05/1.731, allocations: 32.34 kB / 0.8356 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/1.731, allocations: 12.94 kB / 0.8356 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-05/1.731, allocations: 14.91 kB / 0.8357 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02444/1.756, allocations: 11.32 MB / 0.8467 GB, free: 4.559 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.273e-05/1.756, allocations: 10.81 kB / 0.8467 GB, free: 4.551 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002757/1.759, allocations: 0.6086 MB / 0.8473 GB, free: 4.074 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0023/1.761, allocations: 0.862 MB / 0.8482 GB, free: 3.355 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004927/1.761, allocations: 39.31 kB / 0.8482 GB, free: 3.324 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01488/1.776, allocations: 13.46 MB / 0.8613 GB, free: 6.332 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/1.776, allocations: 13.33 kB / 0.8613 GB, free: 6.324 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01734/1.794, allocations: 8.271 MB / 0.8694 GB, free: 15.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003132/1.797, allocations: 0.901 MB / 0.8703 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001149/1.798, allocations: 16 kB / 0.8703 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002878/1.801, allocations: 159.4 kB / 0.8705 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005806/1.802, allocations: 270.7 kB / 0.8707 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002517/1.802, allocations: 99.31 kB / 0.8708 GB, free: 14.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004513/1.806, allocations: 2.32 MB / 0.8731 GB, free: 12.62 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.806, allocations: 0 / 0.8731 GB, free: 12.62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007416/1.814, allocations: 1.334 MB / 0.8744 GB, free: 11.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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,smee3.phiMechanical,smee3.stator.core.Phi.re,smee3.stator.core.Phi.im,smee3.stator.stray.Phi.re,smee3.stator.stray.Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (273): * Single equations (assignments): 266 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 5 {(2,100.0%) 13,(4,93.8%) 33,(2,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001323/1.815, allocations: 0.519 MB / 0.8749 GB, free: 10.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008115/1.823, allocations: 5.012 MB / 0.8798 GB, free: 6.254 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/1.823, allocations: 8.031 kB / 0.8798 GB, free: 6.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00508/1.828, allocations: 3.108 MB / 0.8828 GB, free: 3.367 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004815/1.833, allocations: 0.7606 MB / 0.8836 GB, free: 2.766 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3066/2.14, allocations: 11.81 MB / 0.8951 GB, free: 82.84 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007668/2.148, allocations: 5.213 MB / 0.9002 GB, free: 81.96 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00451/2.152, allocations: 0.9989 MB / 0.9012 GB, free: 81.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001271/2.153, allocations: 287 kB / 0.9015 GB, free: 81.93 MB / 490.7 MB Notification: Performance of SimCode: time 8.72e-07/2.153, allocations: 0 / 0.9015 GB, free: 81.93 MB / 490.7 MB Notification: Performance of Templates: time 0.09506/2.248, allocations: 53.18 MB / 0.9534 GB, free: 79.51 MB / 490.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/ComparisonPolyphase/SMEE_Generator_Polyphase/SMEE_Generator_Polyphase.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches