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.001509/0.001509, allocations: 181.4 kB / 17.01 MB, free: 5.121 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.677/1.677, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0007793/0.000779, allocations: 82.73 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002522/0.0002522, allocations: 4 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2172, allocations: 47.58 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.3448, allocations: 122.4 MB / 498.3 MB, free: 6.133 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.3451, allocations: 91.89 kB / 498.4 MB, free: 6.043 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7544/1.1, allocations: 193 MB / 0.6752 GB, free: 27.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/1.1, allocations: 0 / 0.6752 GB, free: 27.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006261/1.1, allocations: 208.3 kB / 0.6754 GB, free: 27.93 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.02537/1.126, allocations: 8.729 MB / 0.6839 GB, free: 24.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/1.126, allocations: 13.72 kB / 0.6839 GB, free: 24.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01204/1.138, allocations: 1.914 MB / 0.6858 GB, free: 24.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01705/1.155, allocations: 7.09 MB / 0.6927 GB, free: 23.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005064/1.155, allocations: 0.6401 MB / 0.6933 GB, free: 23.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002493/1.158, allocations: 0.8452 MB / 0.6942 GB, free: 23.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02425/1.182, allocations: 11.17 MB / 0.7051 GB, free: 22.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002477/1.182, allocations: 13.28 kB / 0.7051 GB, free: 22.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001419/1.184, allocations: 370.2 kB / 0.7054 GB, free: 22.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002636/1.184, allocations: 365.4 kB / 0.7058 GB, free: 22.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01794/1.202, allocations: 9.1 MB / 0.7147 GB, free: 22.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05999/1.262, allocations: 35.96 MB / 0.7498 GB, free: 7.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01436/1.276, allocations: 17.03 MB / 0.7664 GB, free: 8.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01764/1.294, allocations: 9.431 MB / 0.7756 GB, free: 2.883 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.087e-05/1.294, allocations: 71.11 kB / 0.7757 GB, free: 2.816 MB / 426.7 MB Notification: Performance of pre-optimization done (n=330): time 5.009e-06/1.294, allocations: 4 kB / 0.7757 GB, free: 2.812 MB / 426.7 MB Notification: Performance of matching and sorting (n=384): time 0.0384/1.333, allocations: 16.7 MB / 0.792 GB, free: 5.395 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/1.333, allocations: 97.03 kB / 0.7921 GB, free: 5.289 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007034/1.34, allocations: 3.856 MB / 0.7959 GB, free: 2.008 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007241/1.341, allocations: 89.7 kB / 0.796 GB, free: 1.914 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002818/1.343, allocations: 3.831 MB / 0.7997 GB, free: 14.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001498/1.345, allocations: 1.303 MB / 0.801 GB, free: 13.33 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/1.345, allocations: 96 kB / 0.8011 GB, free: 13.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002766/1.345, allocations: 488.2 kB / 0.8015 GB, free: 12.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003357/1.349, allocations: 1.989 MB / 0.8035 GB, free: 11.09 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004105/1.353, allocations: 3.401 MB / 0.8068 GB, free: 7.406 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004039/1.357, allocations: 2.578 MB / 0.8093 GB, free: 5.059 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.69e-05/1.357, allocations: 15.56 kB / 0.8093 GB, free: 5.047 MB / 458.7 MB Notification: Performance of matching and sorting (n=600) (initialization): time 0.2422/1.599, allocations: 6.719 MB / 0.8159 GB, free: 67.76 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.025e-05/1.599, allocations: 23.62 kB / 0.8159 GB, free: 67.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-05/1.599, allocations: 48.12 kB / 0.8159 GB, free: 67.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001784/1.601, allocations: 0.7604 MB / 0.8167 GB, free: 67.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004424/1.606, allocations: 1.109 MB / 0.8178 GB, free: 67.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008721/1.614, allocations: 10.53 MB / 0.8281 GB, free: 62.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004218/1.619, allocations: 257.2 kB / 0.8283 GB, free: 62.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004708/1.619, allocations: 211 kB / 0.8285 GB, free: 62.43 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 201 * 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 (544): * Single equations (assignments): 536 * 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%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004522/1.624, allocations: 2.539 MB / 0.831 GB, free: 62.31 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001023/1.625, allocations: 492.8 kB / 0.8314 GB, free: 62.31 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008607/1.633, allocations: 5.759 MB / 0.8371 GB, free: 61.86 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.489e-05/1.633, allocations: 38.47 kB / 0.8371 GB, free: 61.86 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.607e-05/1.633, allocations: 16.75 kB / 0.8371 GB, free: 61.86 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.864e-05/1.633, allocations: 14.95 kB / 0.8371 GB, free: 61.86 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02257/1.656, allocations: 13.89 MB / 0.8507 GB, free: 60.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.708e-05/1.656, allocations: 6 kB / 0.8507 GB, free: 60.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002723/1.659, allocations: 0.6744 MB / 0.8514 GB, free: 60.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002101/1.661, allocations: 0.9001 MB / 0.8522 GB, free: 60.68 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003516/1.661, allocations: 95.34 kB / 0.8523 GB, free: 60.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0121/1.673, allocations: 14.3 MB / 0.8663 GB, free: 54.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.673, allocations: 16.61 kB / 0.8663 GB, free: 54.04 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01172/1.685, allocations: 9.182 MB / 0.8753 GB, free: 52.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002652/1.688, allocations: 0.9944 MB / 0.8763 GB, free: 52.07 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006723/1.689, allocations: 84.36 kB / 0.8763 GB, free: 52.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002246/1.691, allocations: 214.9 kB / 0.8765 GB, free: 52.07 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005316/1.691, allocations: 299.9 kB / 0.8768 GB, free: 52.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002152/1.692, allocations: 106.8 kB / 0.8769 GB, free: 52.06 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003824/1.695, allocations: 2.93 MB / 0.8798 GB, free: 51.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.3e-07/1.695, allocations: 0 / 0.8798 GB, free: 51.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004751/1.7, allocations: 1.555 MB / 0.8813 GB, free: 51.37 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (306): * Single equations (assignments): 299 * 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.0009317/1.701, allocations: 0.5645 MB / 0.8819 GB, free: 51.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007662/1.709, allocations: 5.893 MB / 0.8876 GB, free: 48.69 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.385e-06/1.709, allocations: 7 kB / 0.8876 GB, free: 48.69 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004545/1.713, allocations: 3.614 MB / 0.8911 GB, free: 46.92 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005458/1.719, allocations: 1.056 MB / 0.8922 GB, free: 46.63 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02578/1.745, allocations: 18.11 MB / 0.9099 GB, free: 36.75 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004221/1.749, allocations: 5.23 MB / 0.915 GB, free: 35 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004092/1.753, allocations: 1.079 MB / 0.916 GB, free: 34.86 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008509/1.754, allocations: 323.2 kB / 0.9163 GB, free: 34.85 MB / 458.7 MB Notification: Performance of SimCode: time 8.52e-07/1.754, allocations: 0 / 0.9163 GB, free: 34.85 MB / 458.7 MB Notification: Performance of Templates: time 0.1061/1.86, allocations: 68.72 MB / 0.9834 GB, free: 11.2 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