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.001489/0.00149, allocations: 183.8 kB / 18.04 MB, free: 3.781 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.325/1.325, allocations: 205.4 MB / 224.2 MB, free: 9.016 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.0007401/0.0007404, allocations: 97.55 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002871/0.0002871, allocations: 8 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2189, allocations: 47.58 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.3492, allocations: 122.8 MB / 499.8 MB, free: 5.645 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/0.3495, allocations: 91.94 kB / 499.9 MB, free: 5.555 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8144/1.164, allocations: 192.5 MB / 0.6762 GB, free: 27.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.755e-06/1.164, allocations: 0 / 0.6762 GB, free: 27.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001051/1.165, allocations: 207.8 kB / 0.6764 GB, free: 27.96 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.02899/1.194, allocations: 8.634 MB / 0.6849 GB, free: 24.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/1.194, allocations: 7.188 kB / 0.6849 GB, free: 24.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01283/1.207, allocations: 1.917 MB / 0.6868 GB, free: 24.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01786/1.225, allocations: 6.544 MB / 0.6931 GB, free: 23.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007381/1.226, allocations: 0.6414 MB / 0.6938 GB, free: 23.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003475/1.229, allocations: 0.8496 MB / 0.6946 GB, free: 23.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03105/1.26, allocations: 11.24 MB / 0.7056 GB, free: 22.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004887/1.261, allocations: 18.53 kB / 0.7056 GB, free: 22.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002575/1.263, allocations: 363.9 kB / 0.7059 GB, free: 22.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003466/1.264, allocations: 373.5 kB / 0.7063 GB, free: 22.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02168/1.285, allocations: 9.105 MB / 0.7152 GB, free: 22.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06648/1.352, allocations: 35.99 MB / 0.7503 GB, free: 7.109 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01462/1.367, allocations: 17.02 MB / 0.767 GB, free: 8.207 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006111/1.373, allocations: 3.54 MB / 0.7704 GB, free: 6.922 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01729/1.39, allocations: 9.654 MB / 0.7798 GB, free: 1.391 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/1.39, allocations: 68.97 kB / 0.7799 GB, free: 1.312 MB / 426.7 MB Notification: Performance of pre-optimization done (n=308): time 5.34e-06/1.39, allocations: 0 / 0.7799 GB, free: 1.312 MB / 426.7 MB Notification: Performance of matching and sorting (n=360): time 0.03337/1.424, allocations: 15.64 MB / 0.7952 GB, free: 3.371 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/1.424, allocations: 92.42 kB / 0.7953 GB, free: 3.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00885/1.433, allocations: 4.474 MB / 0.7996 GB, free: 15.82 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005204/1.433, allocations: 85.7 kB / 0.7997 GB, free: 15.73 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002466/1.436, allocations: 3.881 MB / 0.8035 GB, free: 12.27 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001262/1.437, allocations: 1.22 MB / 0.8047 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/1.437, allocations: 92.66 kB / 0.8048 GB, free: 11.09 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002317/1.437, allocations: 488.2 kB / 0.8053 GB, free: 10.66 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003399/1.441, allocations: 1.911 MB / 0.8071 GB, free: 9.012 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003927/1.445, allocations: 3.374 MB / 0.8104 GB, free: 5.324 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.24/1.685, allocations: 5.674 MB / 0.816 GB, free: 68.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.718e-05/1.685, allocations: 12.58 kB / 0.816 GB, free: 68.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=586) (initialization): time 0.01349/1.698, allocations: 6.543 MB / 0.8224 GB, free: 68.01 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.946e-05/1.698, allocations: 32.97 kB / 0.8224 GB, free: 68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001023/1.699, allocations: 44.12 kB / 0.8224 GB, free: 68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001889/1.7, allocations: 0.7289 MB / 0.8231 GB, free: 67.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003875/1.704, allocations: 1.072 MB / 0.8242 GB, free: 67.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009039/1.713, allocations: 10.07 MB / 0.834 GB, free: 62.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004438/1.718, allocations: 260.4 kB / 0.8343 GB, free: 62.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007259/1.719, allocations: 207.1 kB / 0.8345 GB, free: 62.68 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.00607/1.725, allocations: 2.535 MB / 0.837 GB, free: 62.56 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001574/1.726, allocations: 485.7 kB / 0.8374 GB, free: 62.56 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/1.738, allocations: 5.477 MB / 0.8428 GB, free: 62.11 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.944e-05/1.738, allocations: 36.81 kB / 0.8428 GB, free: 62.11 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.076e-05/1.738, allocations: 10.97 kB / 0.8428 GB, free: 62.11 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.531e-05/1.738, allocations: 19.08 kB / 0.8428 GB, free: 62.11 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02446/1.762, allocations: 12.92 MB / 0.8554 GB, free: 61.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.576e-05/1.762, allocations: 7 kB / 0.8555 GB, free: 61.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002676/1.765, allocations: 0.6256 MB / 0.8561 GB, free: 61.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002131/1.767, allocations: 0.9097 MB / 0.857 GB, free: 61 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004796/1.768, allocations: 82.61 kB / 0.857 GB, free: 61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01284/1.78, allocations: 14.01 MB / 0.8707 GB, free: 54.36 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.781, allocations: 15.39 kB / 0.8707 GB, free: 54.36 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/1.794, allocations: 8.033 MB / 0.8786 GB, free: 53.57 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003004/1.797, allocations: 0.9698 MB / 0.8795 GB, free: 53.17 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001529/1.799, allocations: 80.89 kB / 0.8796 GB, free: 53.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003048/1.802, allocations: 216.1 kB / 0.8798 GB, free: 53.07 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000704/1.803, allocations: 277.4 kB / 0.8801 GB, free: 53.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002489/1.803, allocations: 113.1 kB / 0.8802 GB, free: 53 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005588/1.809, allocations: 2.943 MB / 0.8831 GB, free: 51.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.42e-07/1.809, allocations: 0 / 0.8831 GB, free: 51.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007834/1.816, allocations: 1.539 MB / 0.8846 GB, free: 51.75 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.001422/1.818, allocations: 0.553 MB / 0.8851 GB, free: 51.59 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009165/1.827, allocations: 5.68 MB / 0.8906 GB, free: 49.16 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/1.827, allocations: 3.5 kB / 0.8906 GB, free: 49.16 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005733/1.833, allocations: 3.483 MB / 0.894 GB, free: 47.44 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01039/1.843, allocations: 1.1 MB / 0.8951 GB, free: 47.12 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02999/1.873, allocations: 17.92 MB / 0.9126 GB, free: 37.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005611/1.879, allocations: 5.073 MB / 0.9176 GB, free: 35.56 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004587/1.884, allocations: 1.064 MB / 0.9186 GB, free: 35.42 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009502/1.885, allocations: 319.9 kB / 0.9189 GB, free: 35.41 MB / 458.7 MB Notification: Performance of SimCode: time 6.42e-07/1.885, allocations: 0 / 0.9189 GB, free: 35.41 MB / 458.7 MB Notification: Performance of Templates: time 0.1085/1.993, allocations: 68.79 MB / 0.9861 GB, free: 9.648 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/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_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches