Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.FundamentalWave.Examples.BasicMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001281/0.001281, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008593/0.0008592, allocations: 86.23 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.532e-05/1.533e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09141/0.09143, allocations: 47.58 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3464/0.4379, allocations: 135.2 MB / 498.3 MB, free: 9.531 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.4382, allocations: 84.27 kB / 498.4 MB, free: 9.488 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4881/0.9263, allocations: 129.5 MB / 0.6132 GB, free: 72.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.9264, allocations: 0 / 0.6132 GB, free: 72.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005469/0.927, allocations: 147.5 kB / 0.6133 GB, free: 72.61 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.01604/0.943, allocations: 5.416 MB / 0.6186 GB, free: 67.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.9431, allocations: 8.031 kB / 0.6186 GB, free: 67.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006754/0.9498, allocations: 1.148 MB / 0.6197 GB, free: 65.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01511/0.965, allocations: 4.889 MB / 0.6245 GB, free: 61.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003612/0.9654, allocations: 192 kB / 0.6247 GB, free: 60.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002394/0.9678, allocations: 339.9 kB / 0.625 GB, free: 60.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01358/0.9814, allocations: 5.256 MB / 0.6301 GB, free: 55.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01875/1, allocations: 6.226 MB / 0.6362 GB, free: 48.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002792/1.001, allocations: 11.91 kB / 0.6362 GB, free: 48.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001448/1.002, allocations: 7.953 kB / 0.6362 GB, free: 48.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000211/1.002, allocations: 251.3 kB / 0.6365 GB, free: 48.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04239/1.045, allocations: 22.84 MB / 0.6588 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007265/1.052, allocations: 8.525 MB / 0.6671 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003226/1.055, allocations: 2.154 MB / 0.6692 GB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01246/1.068, allocations: 6.804 MB / 0.6759 GB, free: 6.812 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/1.068, allocations: 56.56 kB / 0.6759 GB, free: 6.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=241): time 5.149e-06/1.068, allocations: 0 / 0.6759 GB, free: 6.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=292): time 0.2544/1.322, allocations: 10.31 MB / 0.686 GB, free: 67.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/1.322, allocations: 81.3 kB / 0.6861 GB, free: 67.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004109/1.326, allocations: 2.392 MB / 0.6884 GB, free: 67.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003322/1.327, allocations: 26.7 kB / 0.6884 GB, free: 67.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001653/1.328, allocations: 2.683 MB / 0.691 GB, free: 66.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007179/1.329, allocations: 0.9534 MB / 0.692 GB, free: 65.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/1.329, allocations: 0 / 0.692 GB, free: 65.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002072/1.33, allocations: 455.2 kB / 0.6924 GB, free: 65.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002111/1.332, allocations: 1.413 MB / 0.6938 GB, free: 65.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002489/1.334, allocations: 2.567 MB / 0.6963 GB, free: 63.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003133/1.337, allocations: 2.033 MB / 0.6983 GB, free: 63.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.253e-05/1.337, allocations: 10.25 kB / 0.6983 GB, free: 63.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=478) (initialization): time 0.008817/1.346, allocations: 5.15 MB / 0.7033 GB, free: 63.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.766e-05/1.346, allocations: 24.53 kB / 0.7033 GB, free: 63.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.467e-05/1.346, allocations: 40.03 kB / 0.7034 GB, free: 63.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001974/1.348, allocations: 0.8477 MB / 0.7042 GB, free: 63.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00294/1.351, allocations: 0.8784 MB / 0.7051 GB, free: 63.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008688/1.36, allocations: 9.351 MB / 0.7142 GB, free: 59.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003577/1.364, allocations: 170.7 kB / 0.7143 GB, free: 59.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004827/1.364, allocations: 174.9 kB / 0.7145 GB, free: 59.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 171 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (425): * Single equations (assignments): 416 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * 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: 3 {(6,72.2%) 23,(2,100.0%) 13,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005649/1.365, allocations: 211.7 kB / 0.7147 GB, free: 59.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006533/1.365, allocations: 354.3 kB / 0.7151 GB, free: 58.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006889/1.372, allocations: 4.425 MB / 0.7194 GB, free: 58.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/1.372, allocations: 28.19 kB / 0.7194 GB, free: 58.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/1.372, allocations: 15.64 kB / 0.7194 GB, free: 58.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.337e-05/1.372, allocations: 21.88 kB / 0.7194 GB, free: 58.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01636/1.389, allocations: 9.178 MB / 0.7284 GB, free: 57.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005188/1.394, allocations: 3.808 MB / 0.7321 GB, free: 56.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001997/1.396, allocations: 0.5046 MB / 0.7326 GB, free: 56.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002213/1.398, allocations: 0.9637 MB / 0.7336 GB, free: 56.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002173/1.398, allocations: 28 kB / 0.7336 GB, free: 56.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01177/1.41, allocations: 14.21 MB / 0.7475 GB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.405e-06/1.41, allocations: 8.781 kB / 0.7475 GB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/1.42, allocations: 6.867 MB / 0.7542 GB, free: 42.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002732/1.423, allocations: 0.7411 MB / 0.7549 GB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000657/1.424, allocations: 17.89 kB / 0.7549 GB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001912/1.426, allocations: 149.7 kB / 0.7551 GB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005172/1.426, allocations: 219.2 kB / 0.7553 GB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001845/1.427, allocations: 86.06 kB / 0.7553 GB, free: 41.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002827/1.429, allocations: 1.752 MB / 0.7571 GB, free: 40.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.4e-07/1.429, allocations: 3.969 kB / 0.7571 GB, free: 40.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005499/1.435, allocations: 1.028 MB / 0.7581 GB, free: 40.79 MB / 410.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.strayReluctance.Phi.re,smeeM.stator.strayReluctance.Phi.im,smeeE.phiMechanical,smeeE.idq_sr[1],smeeE.idq_sr[2],smeeE.idq_rr[2],smeeE.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (229): * Single equations (assignments): 220 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(6,72.2%) 23,(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001032/1.436, allocations: 483.3 kB / 0.7585 GB, free: 40.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006599/1.443, allocations: 4.472 MB / 0.7629 GB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/1.443, allocations: 3.562 kB / 0.7629 GB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003856/1.446, allocations: 2.871 MB / 0.7657 GB, free: 37.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003604/1.45, allocations: 0.609 MB / 0.7663 GB, free: 36.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/1.464, allocations: 8.397 MB / 0.7745 GB, free: 30.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003123/1.468, allocations: 3.62 MB / 0.778 GB, free: 27.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003143/1.471, allocations: 0.8043 MB / 0.7788 GB, free: 27.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006235/1.471, allocations: 233.4 kB / 0.779 GB, free: 26.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/1.471, allocations: 4 kB / 0.779 GB, free: 26.95 MB / 410.7 MB Notification: Performance of Templates: time 0.06976/1.541, allocations: 44.22 MB / 0.8222 GB, free: 10.43 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_Generator/SMEE_Generator.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches