Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_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.001553/0.001553, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 226.5 MB / 245.4 MB, free: 8.074 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007676/0.0007676, allocations: 105 kB / 297.5 MB, free: 6.871 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000229/0.000229, allocations: 8 kB / 358.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1964, allocations: 51.3 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.295/0.4915, allocations: 126.8 MB / 0.5237 GB, free: 90.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.4919, allocations: 104.5 kB / 0.5238 GB, free: 90.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6133/1.105, allocations: 199.4 MB / 0.7186 GB, free: 36.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.755e-06/1.105, allocations: 0 / 0.7186 GB, free: 36.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0008257/1.106, allocations: 207.7 kB / 0.7188 GB, free: 36.2 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.02577/1.132, allocations: 8.717 MB / 0.7273 GB, free: 33.04 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/1.132, allocations: 10.41 kB / 0.7273 GB, free: 33.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01111/1.143, allocations: 2.01 MB / 0.7292 GB, free: 32.53 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01545/1.159, allocations: 6.596 MB / 0.7357 GB, free: 31.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007081/1.159, allocations: 0.642 MB / 0.7363 GB, free: 31.37 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003358/1.163, allocations: 0.8467 MB / 0.7371 GB, free: 31.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.029/1.192, allocations: 11.22 MB / 0.7481 GB, free: 30.46 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005111/1.192, allocations: 17.16 kB / 0.7481 GB, free: 30.45 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003498/1.196, allocations: 364.8 kB / 0.7485 GB, free: 30.45 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003918/1.196, allocations: 367.5 kB / 0.7488 GB, free: 30.43 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02049/1.217, allocations: 9.117 MB / 0.7577 GB, free: 29.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0651/1.282, allocations: 36.14 MB / 0.793 GB, free: 10.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01535/1.297, allocations: 18.21 MB / 0.8108 GB, free: 9.992 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00873/1.306, allocations: 4.809 MB / 0.8155 GB, free: 7.102 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02166/1.328, allocations: 11.66 MB / 0.8269 GB, free: 12.98 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.28e-05/1.328, allocations: 64.98 kB / 0.8269 GB, free: 12.91 MB / 474.7 MB Notification: Performance of pre-optimization done (n=310): time 6.653e-06/1.328, allocations: 0 / 0.8269 GB, free: 12.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=362): time 0.03939/1.367, allocations: 16.6 MB / 0.8431 GB, free: 14.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/1.367, allocations: 93.31 kB / 0.8432 GB, free: 14.76 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008991/1.376, allocations: 4.392 MB / 0.8475 GB, free: 11.06 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006777/1.377, allocations: 89.7 kB / 0.8476 GB, free: 10.97 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003102/1.38, allocations: 3.882 MB / 0.8514 GB, free: 7.516 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001659/1.382, allocations: 1.235 MB / 0.8526 GB, free: 6.402 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006714/1.383, allocations: 88 kB / 0.8527 GB, free: 6.316 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004117/1.383, allocations: 488 kB / 0.8532 GB, free: 5.887 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003907/1.387, allocations: 1.978 MB / 0.8551 GB, free: 4.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004655/1.392, allocations: 3.429 MB / 0.8584 GB, free: 440 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2526/1.644, allocations: 5.766 MB / 0.8641 GB, free: 77.22 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.267e-05/1.644, allocations: 14.53 kB / 0.8641 GB, free: 77.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=586) (initialization): time 0.01179/1.656, allocations: 6.853 MB / 0.8708 GB, free: 76.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/1.656, allocations: 27.06 kB / 0.8708 GB, free: 76.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.372e-05/1.656, allocations: 50.09 kB / 0.8708 GB, free: 76.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002009/1.658, allocations: 0.8941 MB / 0.8717 GB, free: 76.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003881/1.662, allocations: 1.06 MB / 0.8728 GB, free: 76.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/1.673, allocations: 11.4 MB / 0.8839 GB, free: 71.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004566/1.678, allocations: 263.5 kB / 0.8841 GB, free: 71.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007301/1.679, allocations: 206.3 kB / 0.8843 GB, free: 71.57 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.005119/1.684, allocations: 2.538 MB / 0.8868 GB, free: 71.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001086/1.685, allocations: 498.5 kB / 0.8873 GB, free: 71.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008762/1.694, allocations: 5.805 MB / 0.893 GB, free: 71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/1.694, allocations: 36.41 kB / 0.893 GB, free: 71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.678e-05/1.694, allocations: 16.09 kB / 0.893 GB, free: 71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.861e-05/1.694, allocations: 16.88 kB / 0.893 GB, free: 71 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02078/1.714, allocations: 13.42 MB / 0.9061 GB, free: 69.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.259e-05/1.714, allocations: 5.875 kB / 0.9061 GB, free: 69.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002432/1.717, allocations: 0.6184 MB / 0.9067 GB, free: 69.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002324/1.719, allocations: 1.072 MB / 0.9078 GB, free: 69.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000256/1.72, allocations: 93.7 kB / 0.9079 GB, free: 69.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01355/1.733, allocations: 15.28 MB / 0.9228 GB, free: 61.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/1.733, allocations: 6.375 kB / 0.9228 GB, free: 61.55 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0119/1.745, allocations: 8.461 MB / 0.9311 GB, free: 57.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002482/1.748, allocations: 0.9851 MB / 0.932 GB, free: 57.35 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007398/1.748, allocations: 76.95 kB / 0.9321 GB, free: 57.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002127/1.75, allocations: 210.4 kB / 0.9323 GB, free: 57.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005649/1.751, allocations: 282.5 kB / 0.9326 GB, free: 57.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002041/1.751, allocations: 102.5 kB / 0.9327 GB, free: 57.19 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004121/1.755, allocations: 2.96 MB / 0.9356 GB, free: 56.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/1.755, allocations: 0 / 0.9356 GB, free: 56.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004946/1.76, allocations: 1.57 MB / 0.9371 GB, free: 55.93 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.0008994/1.761, allocations: 0.5833 MB / 0.9377 GB, free: 55.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008341/1.77, allocations: 5.895 MB / 0.9434 GB, free: 53.13 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/1.77, allocations: 2.688 kB / 0.9434 GB, free: 53.13 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004947/1.775, allocations: 3.546 MB / 0.9469 GB, free: 51.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008149/1.783, allocations: 1.109 MB / 0.948 GB, free: 50.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02798/1.811, allocations: 18.06 MB / 0.9656 GB, free: 40.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005032/1.816, allocations: 5.079 MB / 0.9706 GB, free: 39.19 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004246/1.82, allocations: 1.056 MB / 0.9716 GB, free: 39.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009117/1.821, allocations: 319.4 kB / 0.9719 GB, free: 39.03 MB / 490.7 MB Notification: Performance of SimCode: time 7.41e-07/1.821, allocations: 7.969 kB / 0.9719 GB, free: 39.03 MB / 490.7 MB Notification: Performance of Templates: time 0.3802/2.201, allocations: 70.66 MB / 1.041 GB, free: 73.74 MB / 490.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches