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.001598/0.001598, allocations: 197.7 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.623/1.623, allocations: 225.6 MB / 234.8 MB, free: 3.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008119/0.000812, allocations: 97.27 kB / 286.7 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.107e-05/2.109e-05, allocations: 4 kB / 343.7 MB, free: 8.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1371, allocations: 51.48 MB / 395.2 MB, free: 4.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4262/0.5634, allocations: 126 MB / 0.509 GB, free: 0 / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/0.5638, allocations: 95.72 kB / 0.509 GB, free: 15.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6377/1.201, allocations: 197.8 MB / 0.7022 GB, free: 38.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.665e-06/1.202, allocations: 3.938 kB / 0.7022 GB, free: 38.4 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001101/1.203, allocations: 203.8 kB / 0.7024 GB, free: 38.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.02708/1.23, allocations: 7.967 MB / 0.7102 GB, free: 30.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/1.23, allocations: 8.031 kB / 0.7102 GB, free: 30.15 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01277/1.243, allocations: 1.995 MB / 0.7121 GB, free: 28.14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0201/1.263, allocations: 7.095 MB / 0.719 GB, free: 21.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005833/1.263, allocations: 284 kB / 0.7193 GB, free: 20.81 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003141/1.267, allocations: 0.5076 MB / 0.7198 GB, free: 20.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02048/1.287, allocations: 8.232 MB / 0.7279 GB, free: 12.06 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02844/1.316, allocations: 9.645 MB / 0.7373 GB, free: 2.172 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004092/1.316, allocations: 15.86 kB / 0.7373 GB, free: 2.156 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002491/1.319, allocations: 4 kB / 0.7373 GB, free: 2.152 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003012/1.319, allocations: 377.5 kB / 0.7377 GB, free: 1.781 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5748/1.894, allocations: 34.54 MB / 0.7714 GB, free: 35.8 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0127/1.906, allocations: 17.81 MB / 0.7888 GB, free: 22.14 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008363/1.915, allocations: 4.509 MB / 0.7932 GB, free: 22.08 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01731/1.932, allocations: 11.28 MB / 0.8042 GB, free: 18.93 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.19e-05/1.932, allocations: 68.81 kB / 0.8043 GB, free: 18.89 MB / 442.8 MB Notification: Performance of pre-optimization done (n=300): time 5.37e-06/1.932, allocations: 0 / 0.8043 GB, free: 18.89 MB / 442.8 MB Notification: Performance of matching and sorting (n=352): time 0.03063/1.963, allocations: 13.29 MB / 0.8172 GB, free: 16.5 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/1.963, allocations: 95.19 kB / 0.8173 GB, free: 16.43 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004683/1.968, allocations: 3.161 MB / 0.8204 GB, free: 15.19 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002361/1.968, allocations: 25.7 kB / 0.8204 GB, free: 15.16 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002138/1.97, allocations: 3.916 MB / 0.8243 GB, free: 12.38 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007765/1.971, allocations: 1.147 MB / 0.8254 GB, free: 11.47 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/1.971, allocations: 0 / 0.8254 GB, free: 11.47 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0002167/1.971, allocations: 491.8 kB / 0.8259 GB, free: 11.08 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002141/1.973, allocations: 1.707 MB / 0.8275 GB, free: 10.34 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002591/1.976, allocations: 3.105 MB / 0.8306 GB, free: 7.805 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005085/1.981, allocations: 2.795 MB / 0.8333 GB, free: 6.805 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.061e-05/1.981, allocations: 13.06 kB / 0.8333 GB, free: 6.805 MB / 442.8 MB Notification: Performance of matching and sorting (n=576) (initialization): time 0.01086/1.992, allocations: 6.456 MB / 0.8396 GB, free: 4.496 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.279e-05/1.992, allocations: 25.19 kB / 0.8396 GB, free: 4.496 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.946e-05/1.992, allocations: 56.73 kB / 0.8397 GB, free: 4.492 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00203/1.994, allocations: 0.882 MB / 0.8405 GB, free: 4.207 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00352/1.998, allocations: 1.042 MB / 0.8416 GB, free: 4.168 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/2.008, allocations: 10.92 MB / 0.8522 GB, free: 12.17 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003866/2.012, allocations: 172.4 kB / 0.8524 GB, free: 12.15 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004041/2.012, allocations: 199.4 kB / 0.8526 GB, free: 12.11 MB / 458.8 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (518): * Single equations (assignments): 510 * 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,(2,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006747/2.013, allocations: 233.7 kB / 0.8528 GB, free: 11.97 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007134/2.014, allocations: 442.2 kB / 0.8532 GB, free: 11.74 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01041/2.024, allocations: 5.54 MB / 0.8586 GB, free: 9.477 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.413e-05/2.024, allocations: 32.53 kB / 0.8587 GB, free: 9.477 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/2.024, allocations: 14.09 kB / 0.8587 GB, free: 9.477 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.057e-05/2.024, allocations: 16.45 kB / 0.8587 GB, free: 9.477 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0223/2.047, allocations: 11.94 MB / 0.8703 GB, free: 4.34 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.336e-05/2.047, allocations: 6.25 kB / 0.8704 GB, free: 4.34 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002452/2.049, allocations: 0.6051 MB / 0.8709 GB, free: 4.316 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002458/2.052, allocations: 1.038 MB / 0.872 GB, free: 3.992 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002172/2.052, allocations: 35.98 kB / 0.872 GB, free: 3.98 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01543/2.067, allocations: 14.73 MB / 0.8864 GB, free: 7.621 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/2.067, allocations: 8 kB / 0.8864 GB, free: 7.613 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01557/2.083, allocations: 8.558 MB / 0.8947 GB, free: 15.9 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002666/2.086, allocations: 0.9069 MB / 0.8956 GB, free: 15.07 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001519/2.087, allocations: 24.16 kB / 0.8956 GB, free: 15.05 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003068/2.09, allocations: 159.7 kB / 0.8958 GB, free: 14.94 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000657/2.091, allocations: 270 kB / 0.8961 GB, free: 14.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000346/2.091, allocations: 101.6 kB / 0.8962 GB, free: 14.68 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.005164/2.096, allocations: 2.333 MB / 0.8984 GB, free: 12.59 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.4e-07/2.096, allocations: 0 / 0.8984 GB, free: 12.59 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.006767/2.103, allocations: 1.358 MB / 0.8998 GB, free: 11.25 MB / 490.8 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 263 * 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.001128/2.104, allocations: 0.5482 MB / 0.9003 GB, free: 10.8 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.008274/2.113, allocations: 5.199 MB / 0.9054 GB, free: 5.859 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/2.113, allocations: 0 / 0.9054 GB, free: 5.859 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004771/2.118, allocations: 3.19 MB / 0.9085 GB, free: 2.867 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005139/2.123, allocations: 0.7783 MB / 0.9092 GB, free: 2.25 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03111/2.154, allocations: 11.95 MB / 0.9209 GB, free: 7.465 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007937/2.162, allocations: 5.227 MB / 0.926 GB, free: 3.609 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.004614/2.166, allocations: 0.9901 MB / 0.927 GB, free: 2.934 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/2.168, allocations: 292.7 kB / 0.9273 GB, free: 2.66 MB / 0.4949 GB Notification: Performance of SimCode: time 8.11e-07/2.168, allocations: 0 / 0.9273 GB, free: 2.66 MB / 0.4949 GB Notification: Performance of Templates: time 0.3778/2.545, allocations: 54.95 MB / 0.9809 GB, free: 88.98 MB / 0.4949 GB 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/jenkins/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