Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 180.8 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000885/0.0008851, allocations: 100.1 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002675/0.0002675, allocations: 7.938 kB / 351.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2278, allocations: 50.41 MB / 401.5 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3986/0.6265, allocations: 125.6 MB / 0.5148 GB, free: 52.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003474/0.6269, allocations: 103.8 kB / 0.5149 GB, free: 52.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6563/1.283, allocations: 194 MB / 0.7043 GB, free: 55.16 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.076e-06/1.283, allocations: 0 / 0.7043 GB, free: 55.16 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0009942/1.284, allocations: 202.6 kB / 0.7045 GB, free: 55.14 MB / 458.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.02907/1.313, allocations: 8.759 MB / 0.7131 GB, free: 52.06 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/1.313, allocations: 11.31 kB / 0.7131 GB, free: 52.06 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01146/1.325, allocations: 1.915 MB / 0.7149 GB, free: 51.55 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01986/1.345, allocations: 7.09 MB / 0.7219 GB, free: 50.54 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007152/1.346, allocations: 0.6403 MB / 0.7225 GB, free: 50.52 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003511/1.349, allocations: 0.8411 MB / 0.7233 GB, free: 50.52 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03233/1.381, allocations: 11.16 MB / 0.7342 GB, free: 49.61 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006646/1.382, allocations: 3.906 kB / 0.7342 GB, free: 49.61 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003447/1.386, allocations: 363.2 kB / 0.7346 GB, free: 49.61 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003694/1.386, allocations: 372.5 kB / 0.7349 GB, free: 49.59 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02265/1.409, allocations: 9.117 MB / 0.7438 GB, free: 49.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06463/1.473, allocations: 35.92 MB / 0.7789 GB, free: 32.19 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02291/1.496, allocations: 17.04 MB / 0.7955 GB, free: 17.27 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02875/1.525, allocations: 9.431 MB / 0.8048 GB, free: 11.7 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.362e-05/1.525, allocations: 74.73 kB / 0.8048 GB, free: 11.61 MB / 458.7 MB Notification: Performance of pre-optimization done (n=330): time 5.41e-06/1.525, allocations: 3.938 kB / 0.8048 GB, free: 11.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=384): time 0.04228/1.567, allocations: 16.59 MB / 0.821 GB, free: 12.76 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/1.568, allocations: 94.34 kB / 0.8211 GB, free: 12.66 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008732/1.576, allocations: 3.857 MB / 0.8249 GB, free: 9.371 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007729/1.577, allocations: 85.7 kB / 0.825 GB, free: 9.281 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003398/1.581, allocations: 3.83 MB / 0.8287 GB, free: 5.871 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001843/1.582, allocations: 1.308 MB / 0.83 GB, free: 4.699 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007151/1.583, allocations: 88 kB / 0.8301 GB, free: 4.613 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004392/1.584, allocations: 491.3 kB / 0.8305 GB, free: 4.18 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004233/1.588, allocations: 1.991 MB / 0.8325 GB, free: 2.461 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.26/1.848, allocations: 3.385 MB / 0.8358 GB, free: 65.19 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005072/1.853, allocations: 2.581 MB / 0.8383 GB, free: 65.15 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.104e-05/1.853, allocations: 14.62 kB / 0.8383 GB, free: 65.15 MB / 474.7 MB Notification: Performance of matching and sorting (n=600) (initialization): time 0.01096/1.864, allocations: 6.718 MB / 0.8449 GB, free: 64.88 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.569e-05/1.864, allocations: 26.5 kB / 0.8449 GB, free: 64.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.774e-05/1.864, allocations: 48.78 kB / 0.845 GB, free: 64.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001822/1.866, allocations: 0.7627 MB / 0.8457 GB, free: 64.83 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004033/1.87, allocations: 1.092 MB / 0.8468 GB, free: 64.83 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009149/1.879, allocations: 10.53 MB / 0.8571 GB, free: 59.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004949/1.884, allocations: 261.5 kB / 0.8573 GB, free: 59.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006306/1.885, allocations: 208.2 kB / 0.8575 GB, free: 59.54 MB / 474.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.00617/1.891, allocations: 2.543 MB / 0.86 GB, free: 59.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00136/1.892, allocations: 493.3 kB / 0.8605 GB, free: 59.43 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009069/1.902, allocations: 5.754 MB / 0.8661 GB, free: 58.98 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/1.902, allocations: 37 kB / 0.8661 GB, free: 58.98 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.725e-05/1.902, allocations: 23.22 kB / 0.8661 GB, free: 58.97 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.209e-05/1.902, allocations: 15 kB / 0.8661 GB, free: 58.97 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02358/1.925, allocations: 13.87 MB / 0.8797 GB, free: 57.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.591e-05/1.925, allocations: 13.58 kB / 0.8797 GB, free: 57.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002618/1.928, allocations: 0.6608 MB / 0.8804 GB, free: 57.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002066/1.93, allocations: 0.8955 MB / 0.8812 GB, free: 57.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002397/1.93, allocations: 95.5 kB / 0.8813 GB, free: 57.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01263/1.943, allocations: 14.32 MB / 0.8953 GB, free: 51.16 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.943, allocations: 9.438 kB / 0.8953 GB, free: 51.16 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/1.955, allocations: 9.182 MB / 0.9043 GB, free: 47.35 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002597/1.958, allocations: 0.9925 MB / 0.9052 GB, free: 46.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006747/1.958, allocations: 87.78 kB / 0.9053 GB, free: 46.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002275/1.961, allocations: 212.7 kB / 0.9055 GB, free: 46.59 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005397/1.961, allocations: 295.3 kB / 0.9058 GB, free: 46.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002109/1.961, allocations: 112.2 kB / 0.9059 GB, free: 46.52 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003966/1.965, allocations: 2.921 MB / 0.9088 GB, free: 45.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.41e-07/1.965, allocations: 0 / 0.9088 GB, free: 45.43 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005248/1.971, allocations: 1.562 MB / 0.9103 GB, free: 45.27 MB / 474.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.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 (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.0009825/1.972, allocations: 0.5748 MB / 0.9109 GB, free: 45.09 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008329/1.98, allocations: 5.876 MB / 0.9166 GB, free: 42.59 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.98, allocations: 0 / 0.9166 GB, free: 42.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004885/1.985, allocations: 3.607 MB / 0.9201 GB, free: 40.81 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004958/1.99, allocations: 1.054 MB / 0.9211 GB, free: 40.52 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02646/2.016, allocations: 18.08 MB / 0.9388 GB, free: 30.49 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00453/2.021, allocations: 5.235 MB / 0.9439 GB, free: 28.74 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004257/2.025, allocations: 1.081 MB / 0.945 GB, free: 28.61 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008874/2.026, allocations: 322.9 kB / 0.9453 GB, free: 28.59 MB / 474.7 MB Notification: Performance of SimCode: time 1.172e-06/2.026, allocations: 4 kB / 0.9453 GB, free: 28.58 MB / 474.7 MB Notification: Performance of Templates: time 0.404/2.43, allocations: 68.84 MB / 1.013 GB, free: 76.93 MB / 490.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches