Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001503/0.001503, allocations: 199.1 kB / 18.06 MB, free: 3.652 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 226.5 MB / 245.3 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000799/0.0007994, allocations: 96.27 kB / 297.4 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002376/0.0002376, allocations: 4 kB / 357.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.204, allocations: 51.29 MB / 408.7 MB, free: 27.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3058/0.5099, allocations: 126.8 MB / 0.523 GB, free: 90.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/0.5102, allocations: 100.3 kB / 0.5231 GB, free: 90.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6515/1.162, allocations: 199.5 MB / 0.7179 GB, free: 36.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.417e-06/1.162, allocations: 0 / 0.7179 GB, free: 36.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0009783/1.163, allocations: 207.7 kB / 0.7181 GB, free: 36.28 MB / 442.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.03009/1.193, allocations: 8.72 MB / 0.7266 GB, free: 33.11 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/1.193, allocations: 11.09 kB / 0.7266 GB, free: 33.11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.013/1.206, allocations: 2.007 MB / 0.7285 GB, free: 32.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01833/1.224, allocations: 6.591 MB / 0.735 GB, free: 31.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006715/1.225, allocations: 0.6391 MB / 0.7356 GB, free: 31.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003124/1.228, allocations: 0.8498 MB / 0.7364 GB, free: 31.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03302/1.261, allocations: 11.23 MB / 0.7474 GB, free: 30.53 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005379/1.262, allocations: 16.56 kB / 0.7474 GB, free: 30.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003345/1.265, allocations: 366.3 kB / 0.7478 GB, free: 30.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004138/1.266, allocations: 374.1 kB / 0.7481 GB, free: 30.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02555/1.291, allocations: 9.113 MB / 0.757 GB, free: 29.56 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07631/1.368, allocations: 36.13 MB / 0.7923 GB, free: 10.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0171/1.385, allocations: 18.22 MB / 0.8101 GB, free: 10.04 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01018/1.395, allocations: 4.818 MB / 0.8148 GB, free: 7.145 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02658/1.422, allocations: 11.62 MB / 0.8261 GB, free: 12.98 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.212e-05/1.422, allocations: 64.98 kB / 0.8262 GB, free: 12.91 MB / 474.7 MB Notification: Performance of pre-optimization done (n=310): time 6.833e-06/1.422, allocations: 0 / 0.8262 GB, free: 12.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=362): time 0.04779/1.47, allocations: 16.61 MB / 0.8424 GB, free: 14.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/1.47, allocations: 86.23 kB / 0.8425 GB, free: 14.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01033/1.48, allocations: 4.393 MB / 0.8468 GB, free: 11.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008588/1.481, allocations: 89.7 kB / 0.8469 GB, free: 10.97 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003344/1.484, allocations: 3.883 MB / 0.8507 GB, free: 7.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001884/1.486, allocations: 1.237 MB / 0.8519 GB, free: 6.406 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007545/1.487, allocations: 88 kB / 0.852 GB, free: 6.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004572/1.487, allocations: 489.5 kB / 0.8524 GB, free: 5.887 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004304/1.492, allocations: 1.977 MB / 0.8544 GB, free: 4.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005326/1.497, allocations: 3.429 MB / 0.8577 GB, free: 440 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3531/1.85, allocations: 5.764 MB / 0.8633 GB, free: 77.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.359e-05/1.85, allocations: 12.91 kB / 0.8634 GB, free: 77.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=586) (initialization): time 0.01275/1.863, allocations: 6.854 MB / 0.8701 GB, free: 77.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.545e-05/1.863, allocations: 23.66 kB / 0.8701 GB, free: 77.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.64e-05/1.863, allocations: 52.84 kB / 0.8701 GB, free: 77.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002264/1.866, allocations: 0.8958 MB / 0.871 GB, free: 76.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003978/1.87, allocations: 1.06 MB / 0.872 GB, free: 76.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/1.881, allocations: 11.41 MB / 0.8832 GB, free: 71.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004901/1.886, allocations: 253.3 kB / 0.8834 GB, free: 71.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009303/1.887, allocations: 213.5 kB / 0.8836 GB, free: 71.65 MB / 490.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (528): * Single equations (assignments): 520 * 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%) 8,(2,100.0%) 13,(3,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006122/1.894, allocations: 2.536 MB / 0.8861 GB, free: 71.54 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001367/1.895, allocations: 496.9 kB / 0.8866 GB, free: 71.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/1.906, allocations: 5.811 MB / 0.8922 GB, free: 71.08 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.761e-05/1.906, allocations: 36.33 kB / 0.8923 GB, free: 71.08 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.099e-05/1.906, allocations: 13.88 kB / 0.8923 GB, free: 71.08 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-05/1.906, allocations: 16.22 kB / 0.8923 GB, free: 71.08 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02474/1.93, allocations: 13.42 MB / 0.9054 GB, free: 70.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.471e-05/1.931, allocations: 10.44 kB / 0.9054 GB, free: 70.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002503/1.933, allocations: 0.6142 MB / 0.906 GB, free: 70.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002609/1.936, allocations: 1.08 MB / 0.9071 GB, free: 69.97 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003065/1.936, allocations: 87.5 kB / 0.9072 GB, free: 69.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0152/1.951, allocations: 15.28 MB / 0.9221 GB, free: 61.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.951, allocations: 3.5 kB / 0.9221 GB, free: 61.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01313/1.964, allocations: 8.457 MB / 0.9304 GB, free: 58 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002588/1.967, allocations: 0.9841 MB / 0.9313 GB, free: 57.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000949/1.968, allocations: 78.59 kB / 0.9314 GB, free: 57.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002432/1.97, allocations: 214.9 kB / 0.9316 GB, free: 57.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006641/1.971, allocations: 270 kB / 0.9319 GB, free: 57.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002333/1.971, allocations: 102.8 kB / 0.9319 GB, free: 57.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004654/1.976, allocations: 2.966 MB / 0.9348 GB, free: 56.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.976, allocations: 0 / 0.9348 GB, free: 56.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00607/1.982, allocations: 1.567 MB / 0.9364 GB, free: 55.99 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (281): * Single equations (assignments): 274 * 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%) 8,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001119/1.983, allocations: 0.5908 MB / 0.937 GB, free: 55.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00931/1.992, allocations: 5.886 MB / 0.9427 GB, free: 53.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/1.993, allocations: 10.38 kB / 0.9427 GB, free: 53.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005823/1.998, allocations: 3.544 MB / 0.9462 GB, free: 51.37 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008731/2.007, allocations: 1.117 MB / 0.9473 GB, free: 51.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02987/2.037, allocations: 18.03 MB / 0.9649 GB, free: 41.01 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00519/2.042, allocations: 4.957 MB / 0.9697 GB, free: 39.31 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001648/2.044, allocations: 362 kB / 0.9701 GB, free: 39.29 MB / 490.7 MB Notification: Performance of SimCode: time 1.092e-06/2.044, allocations: 3.719 kB / 0.9701 GB, free: 39.29 MB / 490.7 MB Notification: Performance of Templates: time 0.8398/2.884, allocations: 341.8 MB / 1.304 GB, free: 108.6 MB / 0.5261 GB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase_res.mat","/var/lib/jenkins1/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_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches