Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001672/0.001672, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.411/1.411, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0007369/0.000737, allocations: 82.66 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.292e-05/2.294e-05, allocations: 4 kB / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08556/0.0856, allocations: 47.58 MB / 370 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3745/0.4601, allocations: 122.4 MB / 492.4 MB, free: 3.672 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.4604, allocations: 85.58 kB / 492.5 MB, free: 3.629 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6286/1.089, allocations: 193.1 MB / 0.6695 GB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.986e-06/1.089, allocations: 0 / 0.6695 GB, free: 11.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008189/1.09, allocations: 203.8 kB / 0.6697 GB, free: 11.67 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.02704/1.117, allocations: 7.921 MB / 0.6774 GB, free: 3.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/1.117, allocations: 8.031 kB / 0.6775 GB, free: 3.652 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0126/1.13, allocations: 1.897 MB / 0.6793 GB, free: 1.742 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02302/1.153, allocations: 7.046 MB / 0.6862 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00118/1.154, allocations: 0.646 MB / 0.6868 GB, free: 9.977 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004086/1.158, allocations: 0.8436 MB / 0.6876 GB, free: 9.133 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3204/1.479, allocations: 10.93 MB / 0.6983 GB, free: 35.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003292/1.479, allocations: 3.125 kB / 0.6983 GB, free: 35.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002093/1.481, allocations: 368.5 kB / 0.6987 GB, free: 35.97 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006048/1.482, allocations: 373.2 kB / 0.699 GB, free: 35.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02927/1.511, allocations: 8.747 MB / 0.7076 GB, free: 35.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06838/1.579, allocations: 36.07 MB / 0.7428 GB, free: 29.33 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01221/1.592, allocations: 16.78 MB / 0.7592 GB, free: 16.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005218/1.597, allocations: 3.382 MB / 0.7625 GB, free: 16.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01626/1.613, allocations: 9.532 MB / 0.7718 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.149e-05/1.613, allocations: 71.45 kB / 0.7719 GB, free: 12.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=296): time 6.593e-06/1.613, allocations: 0 / 0.7719 GB, free: 12.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=348): time 0.02054/1.634, allocations: 11.56 MB / 0.7831 GB, free: 7.363 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/1.634, allocations: 90.06 kB / 0.7832 GB, free: 7.297 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005672/1.64, allocations: 3.837 MB / 0.787 GB, free: 5.828 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004792/1.64, allocations: 83.98 kB / 0.7871 GB, free: 5.754 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002463/1.643, allocations: 3.887 MB / 0.7909 GB, free: 2.812 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001525/1.644, allocations: 1.189 MB / 0.792 GB, free: 1.891 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/1.644, allocations: 89.72 kB / 0.7921 GB, free: 1.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001947/1.645, allocations: 483.2 kB / 0.7926 GB, free: 1.438 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002335/1.647, allocations: 1.722 MB / 0.7942 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003116/1.65, allocations: 3.16 MB / 0.7973 GB, free: 14.19 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003122/1.653, allocations: 2.315 MB / 0.7996 GB, free: 13.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.197e-05/1.653, allocations: 13.78 kB / 0.7996 GB, free: 13.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=574) (initialization): time 0.009822/1.663, allocations: 6.134 MB / 0.8056 GB, free: 11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.339e-05/1.663, allocations: 23.97 kB / 0.8056 GB, free: 11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.905e-05/1.663, allocations: 50.25 kB / 0.8057 GB, free: 11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001864/1.665, allocations: 0.7384 MB / 0.8064 GB, free: 10.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00392/1.669, allocations: 1.057 MB / 0.8074 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/1.68, allocations: 10.06 MB / 0.8172 GB, free: 2.859 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004762/1.685, allocations: 261.4 kB / 0.8175 GB, free: 2.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007117/1.686, allocations: 202.9 kB / 0.8177 GB, free: 2.734 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (521): * Single equations (assignments): 513 * 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.0007858/1.686, allocations: 382 kB / 0.818 GB, free: 2.473 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001172/1.688, allocations: 484.7 kB / 0.8185 GB, free: 2.227 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008932/1.696, allocations: 5.089 MB / 0.8235 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/1.697, allocations: 35.25 kB / 0.8235 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.937e-05/1.697, allocations: 11.91 kB / 0.8235 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.117e-05/1.697, allocations: 14.72 kB / 0.8235 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02206/1.719, allocations: 12.46 MB / 0.8357 GB, free: 10.51 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.491e-05/1.719, allocations: 10.62 kB / 0.8357 GB, free: 10.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002451/1.721, allocations: 0.6022 MB / 0.8363 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002268/1.723, allocations: 0.8961 MB / 0.8372 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002812/1.724, allocations: 79.77 kB / 0.8373 GB, free: 10.15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0158/1.74, allocations: 13.97 MB / 0.8509 GB, free: 12.97 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.74, allocations: 6.812 kB / 0.8509 GB, free: 12.97 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01352/1.753, allocations: 8.103 MB / 0.8588 GB, free: 5.23 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003366/1.757, allocations: 0.9504 MB / 0.8598 GB, free: 4.355 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001456/1.758, allocations: 75.05 kB / 0.8598 GB, free: 4.285 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003588/1.762, allocations: 208 kB / 0.86 GB, free: 4.121 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007635/1.762, allocations: 274.5 kB / 0.8603 GB, free: 3.957 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002772/1.763, allocations: 99.22 kB / 0.8604 GB, free: 3.867 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00609/1.769, allocations: 2.898 MB / 0.8632 GB, free: 1.25 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.383e-06/1.769, allocations: 2.906 kB / 0.8632 GB, free: 1.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009895/1.779, allocations: 1.66 MB / 0.8648 GB, free: 0 / 474.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 265 * 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.2908/2.07, allocations: 0.6952 MB / 0.8655 GB, free: 80.18 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01419/2.084, allocations: 5.274 MB / 0.8707 GB, free: 79.37 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.826e-05/2.084, allocations: 2.312 kB / 0.8707 GB, free: 79.37 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009289/2.093, allocations: 3.27 MB / 0.8739 GB, free: 78.68 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008744/2.102, allocations: 1.063 MB / 0.8749 GB, free: 78.66 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03703/2.139, allocations: 12.05 MB / 0.8867 GB, free: 76.01 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008533/2.148, allocations: 5.215 MB / 0.8918 GB, free: 75.11 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00692/2.155, allocations: 1.052 MB / 0.8928 GB, free: 74.97 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001499/2.156, allocations: 314.3 kB / 0.8931 GB, free: 74.97 MB / 474.7 MB Notification: Performance of SimCode: time 2.254e-06/2.156, allocations: 0 / 0.8931 GB, free: 74.97 MB / 474.7 MB Notification: Performance of Templates: time 0.1276/2.284, allocations: 68.53 MB / 0.96 GB, free: 68.97 MB / 474.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase_res.mat","/var/lib/jenkins/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_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches