Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase,tolerance=1e-06,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.strayReluctance.port_p.Phi.im|smee3.stator.strayReluctance.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.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase,tolerance=1e-06,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.strayReluctance.port_p.Phi.im|smee3.stator.strayReluctance.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.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001365/0.001365, allocations: 181.3 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.4 MB / 223.6 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007515/0.0007513, allocations: 97.36 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003197, allocations: 15.98 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2471, allocations: 47.58 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1497/0.3968, allocations: 122.8 MB / 498.5 MB, free: 5.738 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.3971, allocations: 91.95 kB / 498.6 MB, free: 5.648 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8059/1.203, allocations: 192.6 MB / 0.675 GB, free: 28 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.307e-06/1.203, allocations: 0 / 0.675 GB, free: 28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008983/1.204, allocations: 198.6 kB / 0.6752 GB, free: 27.98 MB / 410.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.03057/1.235, allocations: 8.642 MB / 0.6836 GB, free: 24.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/1.235, allocations: 10.56 kB / 0.6836 GB, free: 24.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01258/1.247, allocations: 1.911 MB / 0.6855 GB, free: 24.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01841/1.266, allocations: 6.534 MB / 0.6919 GB, free: 23.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007065/1.266, allocations: 0.6447 MB / 0.6925 GB, free: 23.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003237/1.27, allocations: 0.8444 MB / 0.6933 GB, free: 23.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03359/1.303, allocations: 11.24 MB / 0.7043 GB, free: 22.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005051/1.304, allocations: 14.53 kB / 0.7043 GB, free: 22.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00302/1.307, allocations: 369 kB / 0.7047 GB, free: 22.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003842/1.307, allocations: 374.6 kB / 0.705 GB, free: 22.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02412/1.331, allocations: 9.102 MB / 0.7139 GB, free: 22.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07779/1.409, allocations: 35.99 MB / 0.7491 GB, free: 7.258 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01586/1.425, allocations: 17.03 MB / 0.7657 GB, free: 8.344 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007096/1.432, allocations: 3.525 MB / 0.7691 GB, free: 7.066 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02281/1.455, allocations: 9.655 MB / 0.7786 GB, free: 1.543 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.101e-05/1.455, allocations: 64.97 kB / 0.7786 GB, free: 1.469 MB / 426.7 MB Notification: Performance of pre-optimization done (n=308): time 9.558e-06/1.455, allocations: 0 / 0.7786 GB, free: 1.469 MB / 426.7 MB Notification: Performance of matching and sorting (n=360): time 0.04647/1.502, allocations: 16.06 MB / 0.7943 GB, free: 4.539 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/1.502, allocations: 86.22 kB / 0.7944 GB, free: 4.441 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009623/1.512, allocations: 4.371 MB / 0.7987 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007154/1.512, allocations: 85.7 kB / 0.7987 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004764/1.517, allocations: 4 MB / 0.8026 GB, free: 13.68 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001669/1.519, allocations: 1.225 MB / 0.8038 GB, free: 12.58 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000701/1.52, allocations: 92 kB / 0.8039 GB, free: 12.49 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004498/1.52, allocations: 489.8 kB / 0.8044 GB, free: 12.06 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004246/1.524, allocations: 1.911 MB / 0.8063 GB, free: 10.41 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005318/1.53, allocations: 3.375 MB / 0.8096 GB, free: 6.723 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009789/1.539, allocations: 5.647 MB / 0.8151 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.119e-05/1.54, allocations: 12 kB / 0.8151 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of matching and sorting (n=586) (initialization): time 0.2631/1.803, allocations: 7.002 MB / 0.8219 GB, free: 69.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.546e-05/1.803, allocations: 25.48 kB / 0.8219 GB, free: 69.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.38e-05/1.803, allocations: 48.84 kB / 0.822 GB, free: 69.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001835/1.805, allocations: 0.7258 MB / 0.8227 GB, free: 69.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004879/1.81, allocations: 1.08 MB / 0.8238 GB, free: 69.24 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009587/1.819, allocations: 10.07 MB / 0.8336 GB, free: 63.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004865/1.824, allocations: 259.5 kB / 0.8338 GB, free: 63.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009975/1.825, allocations: 207.8 kB / 0.834 GB, free: 63.96 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 209 * 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 (533): * Single equations (assignments): 525 * 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,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006583/1.832, allocations: 2.532 MB / 0.8365 GB, free: 63.85 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001793/1.834, allocations: 495 kB / 0.837 GB, free: 63.85 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/1.845, allocations: 5.478 MB / 0.8423 GB, free: 63.39 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.08e-05/1.845, allocations: 33.09 kB / 0.8424 GB, free: 63.39 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.512e-05/1.845, allocations: 10.22 kB / 0.8424 GB, free: 63.39 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-05/1.845, allocations: 18.27 kB / 0.8424 GB, free: 63.39 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02682/1.872, allocations: 12.91 MB / 0.855 GB, free: 62.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.848e-05/1.872, allocations: 11.16 kB / 0.855 GB, free: 62.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002623/1.875, allocations: 0.6264 MB / 0.8556 GB, free: 62.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002242/1.877, allocations: 0.91 MB / 0.8565 GB, free: 62.28 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004707/1.878, allocations: 90.67 kB / 0.8566 GB, free: 62.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01327/1.891, allocations: 14.01 MB / 0.8703 GB, free: 55.64 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.891, allocations: 7.094 kB / 0.8703 GB, free: 55.64 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01325/1.904, allocations: 8.042 MB / 0.8781 GB, free: 54.86 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003069/1.907, allocations: 0.9744 MB / 0.8791 GB, free: 54.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001541/1.909, allocations: 79.91 kB / 0.8792 GB, free: 54.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00323/1.912, allocations: 217.6 kB / 0.8794 GB, free: 54.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006794/1.913, allocations: 280.3 kB / 0.8796 GB, free: 54.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002508/1.913, allocations: 101.3 kB / 0.8797 GB, free: 54.59 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00551/1.919, allocations: 2.95 MB / 0.8826 GB, free: 54.36 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.21e-07/1.919, allocations: 0 / 0.8826 GB, free: 54.36 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007588/1.926, allocations: 1.538 MB / 0.8841 GB, free: 54.21 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.strayReluctance.Phi.re,smeeM.stator.strayReluctance.Phi.im,smee3.phiMechanical,smee3.stator.core.Phi.re,smee3.stator.core.Phi.im,smee3.stator.strayReluctance.Phi.re,smee3.stator.strayReluctance.Phi.im) * 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 (284): * Single equations (assignments): 277 * 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.001394/1.928, allocations: 0.5547 MB / 0.8847 GB, free: 54.05 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01032/1.938, allocations: 5.681 MB / 0.8902 GB, free: 51.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/1.938, allocations: 3.219 kB / 0.8902 GB, free: 51.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006452/1.944, allocations: 3.477 MB / 0.8936 GB, free: 49.91 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01236/1.957, allocations: 1.101 MB / 0.8947 GB, free: 49.59 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03847/1.995, allocations: 17.93 MB / 0.9122 GB, free: 39.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008199/2.004, allocations: 4.938 MB / 0.917 GB, free: 38.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00186/2.005, allocations: 365.8 kB / 0.9174 GB, free: 38.08 MB / 458.7 MB Notification: Performance of SimCode: time 1.082e-06/2.006, allocations: 0 / 0.9174 GB, free: 38.08 MB / 458.7 MB Notification: Performance of Templates: time 0.885/2.891, allocations: 340.2 MB / 1.25 GB, free: 98.49 MB / 0.4948 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_Generator_MultiPhase/SMEE_Generator_MultiPhase.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches