Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|Ptr|Pqs|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.strayReluctance.port_p.Phi.im|smee.stator.strayReluctance.port_p.Phi.re|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|Ptr|Pqs|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.strayReluctance.port_p.Phi.im|smee.stator.strayReluctance.port_p.Phi.re|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.318/1.318, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008649/0.0008649, allocations: 82.7 kB / 268 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.369e-05/2.371e-05, allocations: 0 / 322.5 MB, free: 17.33 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07769/0.07773, allocations: 47.58 MB / 370 MB, free: 1.688 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3531/0.4309, allocations: 167 MB / 0.5245 GB, free: 7.562 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.4311, allocations: 97.31 kB / 0.5246 GB, free: 7.512 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.378/1.809, allocations: 393.9 MB / 0.9093 GB, free: 45.42 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.004e-06/1.809, allocations: 0 / 0.9093 GB, free: 45.42 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0009058/1.81, allocations: 269.6 kB / 0.9095 GB, free: 45.39 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: 3112 * Number of variables: 3112 Notification: Performance of Generate backend data structure: time 0.03285/1.843, allocations: 10.28 MB / 0.9196 GB, free: 42.07 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/1.843, allocations: 6.312 kB / 0.9196 GB, free: 42.07 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02455/1.868, allocations: 4.389 MB / 0.9239 GB, free: 41.44 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02439/1.892, allocations: 8.852 MB / 0.9325 GB, free: 40.29 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001309/1.893, allocations: 0.8305 MB / 0.9333 GB, free: 40.27 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004754/1.898, allocations: 1.082 MB / 0.9344 GB, free: 40.26 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04765/1.946, allocations: 17.25 MB / 0.9512 GB, free: 38.89 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005109/1.946, allocations: 18.22 kB / 0.9512 GB, free: 38.88 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003737/1.95, allocations: 478.9 kB / 0.9517 GB, free: 38.88 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007072/1.951, allocations: 0.6958 MB / 0.9524 GB, free: 38.85 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02787/1.979, allocations: 14.97 MB / 0.967 GB, free: 33.95 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1022/2.081, allocations: 58.15 MB / 1.024 GB, free: 10.22 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3002/2.381, allocations: 17.05 MB / 1.04 GB, free: 49.79 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0164/2.398, allocations: 6.184 MB / 1.046 GB, free: 49.72 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04746/2.445, allocations: 18.92 MB / 1.065 GB, free: 48.55 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.583e-05/2.445, allocations: 93.34 kB / 1.065 GB, free: 48.51 MB / 474.7 MB Notification: Performance of pre-optimization done (n=626): time 9.207e-06/2.445, allocations: 0 / 1.065 GB, free: 48.51 MB / 474.7 MB Notification: Performance of matching and sorting (n=659): time 0.0432/2.489, allocations: 23.47 MB / 1.088 GB, free: 45.09 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003073/2.492, allocations: 2.936 MB / 1.091 GB, free: 43.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006565/2.498, allocations: 3.889 MB / 1.095 GB, free: 43.16 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009321/2.499, allocations: 117.8 kB / 1.095 GB, free: 43.13 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002414/2.502, allocations: 4.618 MB / 1.099 GB, free: 40.99 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002121/2.504, allocations: 2.2 MB / 1.101 GB, free: 39.58 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001197/2.505, allocations: 145.6 kB / 1.102 GB, free: 39.58 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007849/2.506, allocations: 0.6187 MB / 1.102 GB, free: 39.26 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006235/2.512, allocations: 4.364 MB / 1.106 GB, free: 38.65 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007435/2.52, allocations: 6.391 MB / 1.113 GB, free: 34.42 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007641/2.527, allocations: 5.504 MB / 1.118 GB, free: 32.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.952e-05/2.527, allocations: 23.89 kB / 1.118 GB, free: 32.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=997) (initialization): time 0.01943/2.547, allocations: 13.09 MB / 1.131 GB, free: 27.15 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.473e-05/2.547, allocations: 30.84 kB / 1.131 GB, free: 27.15 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.785e-05/2.547, allocations: 58.94 kB / 1.131 GB, free: 27.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004133/2.551, allocations: 2.389 MB / 1.133 GB, free: 26.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005676/2.557, allocations: 1.53 MB / 1.135 GB, free: 26.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008251/2.565, allocations: 10.41 MB / 1.145 GB, free: 19.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006328/2.571, allocations: 0.5276 MB / 1.145 GB, free: 18.92 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001159/2.573, allocations: 349.7 kB / 1.146 GB, free: 18.86 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (792): * Single equations (assignments): 723 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 8,(1,100.0%) 5} * Non-linear torn systems: 4 {6 9,6 9,6 9,6 43} Notification: Performance of prepare postOptimizeDAE: time 0.001751/2.574, allocations: 0.5085 MB / 1.146 GB, free: 18.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001406/2.576, allocations: 0.5476 MB / 1.147 GB, free: 18.23 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01761/2.593, allocations: 11.7 MB / 1.158 GB, free: 13.25 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01356/2.607, allocations: 10.37 MB / 1.168 GB, free: 8.898 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.391e-05/2.607, allocations: 5.406 kB / 1.168 GB, free: 8.898 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-05/2.607, allocations: 32.3 kB / 1.168 GB, free: 8.898 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0539/2.661, allocations: 30.62 MB / 1.198 GB, free: 1.547 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.137e-05/2.661, allocations: 5.5 kB / 1.198 GB, free: 1.543 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005236/2.666, allocations: 0.8816 MB / 1.199 GB, free: 0.875 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007708/2.674, allocations: 2.736 MB / 1.202 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00141/2.675, allocations: 150.6 kB / 1.202 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.287/2.963, allocations: 15.88 MB / 1.217 GB, free: 84.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003486/2.966, allocations: 2.819 MB / 1.22 GB, free: 82.87 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03046/2.997, allocations: 18.29 MB / 1.238 GB, free: 80.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005/3.002, allocations: 1.579 MB / 1.24 GB, free: 80.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001462/3.003, allocations: 103.6 kB / 1.24 GB, free: 80.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004019/3.007, allocations: 342.8 kB / 1.24 GB, free: 80.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001212/3.008, allocations: 0.5036 MB / 1.241 GB, free: 80.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004408/3.009, allocations: 182.6 kB / 1.241 GB, free: 80.88 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004777/3.014, allocations: 2.884 MB / 1.244 GB, free: 80.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.5e-07/3.014, allocations: 1.219 kB / 1.244 GB, free: 80.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008638/3.022, allocations: 2.098 MB / 1.246 GB, free: 80.68 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (smeeQS.gamma,smeeQS.excitation.electroMagneticConverter.port_p.reference.gamma,$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],smee.stator.zeroInductor.i0) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (461): * Single equations (assignments): 393 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(1,100.0%) 4,(1,100.0%) 8} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 43,5 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001465/3.024, allocations: 0.6881 MB / 1.246 GB, free: 80.58 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0157/3.039, allocations: 10.89 MB / 1.257 GB, free: 79.99 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/3.039, allocations: 2.969 kB / 1.257 GB, free: 79.99 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009459/3.049, allocations: 5.884 MB / 1.263 GB, free: 79.41 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006814/3.056, allocations: 1.076 MB / 1.264 GB, free: 79.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04407/3.1, allocations: 18.98 MB / 1.282 GB, free: 76.07 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01098/3.111, allocations: 7.012 MB / 1.289 GB, free: 75.14 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007348/3.118, allocations: 1.705 MB / 1.291 GB, free: 75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002093/3.12, allocations: 409.2 kB / 1.291 GB, free: 74.99 MB / 0.4948 GB Notification: Performance of SimCode: time 1.292e-06/3.12, allocations: 1.969 kB / 1.291 GB, free: 74.99 MB / 0.4948 GB Notification: Performance of Templates: time 0.416/3.536, allocations: 106.7 MB / 1.395 GB, free: 84.42 MB / 0.4948 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches