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.001001/0.001001, allocations: 183.8 kB / 18.04 MB, free: 3.781 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.274/1.274, allocations: 205.4 MB / 224.2 MB, free: 9.051 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.0007735/0.0007736, allocations: 97.41 kB / 272.5 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003154/0.0003154, allocations: 12 kB / 329.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2322, allocations: 47.57 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3088/0.5411, allocations: 136.2 MB / 0.5012 GB, free: 111.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.5414, allocations: 92.61 kB / 0.5013 GB, free: 111.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2861/0.8275, allocations: 130.8 MB / 0.629 GB, free: 4.574 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.456e-06/0.8276, allocations: 0 / 0.629 GB, free: 4.574 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006338/0.8282, allocations: 147.8 kB / 0.6292 GB, free: 4.43 MB / 394.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.01894/0.8472, allocations: 5.977 MB / 0.635 GB, free: 14.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.8472, allocations: 12.02 kB / 0.635 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006855/0.8541, allocations: 1.156 MB / 0.6361 GB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0119/0.866, allocations: 4.371 MB / 0.6404 GB, free: 8.746 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005337/0.8666, allocations: 427.8 kB / 0.6408 GB, free: 8.328 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002172/0.8688, allocations: 0.5627 MB / 0.6414 GB, free: 7.766 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01994/0.8887, allocations: 7.26 MB / 0.6484 GB, free: 332 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003175/0.8891, allocations: 15.78 kB / 0.6485 GB, free: 316 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001674/0.8908, allocations: 236 kB / 0.6487 GB, free: 80 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.202/1.093, allocations: 247.9 kB / 0.6489 GB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01311/1.106, allocations: 5.848 MB / 0.6546 GB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03742/1.143, allocations: 23.9 MB / 0.678 GB, free: 38.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007001/1.15, allocations: 8.784 MB / 0.6865 GB, free: 32.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003367/1.154, allocations: 2.348 MB / 0.6888 GB, free: 32.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01204/1.166, allocations: 7.023 MB / 0.6957 GB, free: 31.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/1.166, allocations: 58.56 kB / 0.6958 GB, free: 31.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=243): time 4.688e-06/1.166, allocations: 3.812 kB / 0.6958 GB, free: 31.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=294): time 0.03704/1.203, allocations: 15.89 MB / 0.7113 GB, free: 28.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/1.203, allocations: 82.75 kB / 0.7114 GB, free: 27.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00455/1.208, allocations: 3.359 MB / 0.7146 GB, free: 26.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003832/1.208, allocations: 72.83 kB / 0.7147 GB, free: 26.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001314/1.209, allocations: 2.671 MB / 0.7173 GB, free: 24.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007315/1.21, allocations: 1.003 MB / 0.7183 GB, free: 23.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/1.21, allocations: 75.19 kB / 0.7184 GB, free: 23.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/1.211, allocations: 452.3 kB / 0.7188 GB, free: 23.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002422/1.213, allocations: 1.62 MB / 0.7204 GB, free: 22.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002675/1.216, allocations: 2.813 MB / 0.7231 GB, free: 20.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005556/1.221, allocations: 4.741 MB / 0.7278 GB, free: 18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.055e-05/1.221, allocations: 11.53 kB / 0.7278 GB, free: 18 MB / 410.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.008816/1.23, allocations: 5.695 MB / 0.7333 GB, free: 15.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/1.23, allocations: 23.28 kB / 0.7333 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-05/1.23, allocations: 41.3 kB / 0.7334 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001847/1.232, allocations: 0.8735 MB / 0.7342 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002969/1.235, allocations: 0.8745 MB / 0.7351 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009162/1.244, allocations: 9.804 MB / 0.7447 GB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003558/1.248, allocations: 244.9 kB / 0.7449 GB, free: 8.871 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004162/1.248, allocations: 170 kB / 0.7451 GB, free: 8.844 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (427): * Single equations (assignments): 418 * 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.003346/1.252, allocations: 1.63 MB / 0.7467 GB, free: 8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009388/1.253, allocations: 390.1 kB / 0.747 GB, free: 7.805 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008293/1.261, allocations: 4.842 MB / 0.7518 GB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/1.261, allocations: 29.78 kB / 0.7518 GB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-05/1.261, allocations: 6.5 kB / 0.7518 GB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.393e-05/1.261, allocations: 14.95 kB / 0.7518 GB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01706/1.278, allocations: 10.33 MB / 0.7619 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00856/1.287, allocations: 4.306 MB / 0.7661 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002079/1.289, allocations: 0.509 MB / 0.7666 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002421/1.291, allocations: 0.9803 MB / 0.7676 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002227/1.291, allocations: 71.08 kB / 0.7676 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01478/1.306, allocations: 14.84 MB / 0.7821 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.306, allocations: 5.406 kB / 0.7821 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/1.318, allocations: 7.084 MB / 0.789 GB, free: 7.473 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002209/1.32, allocations: 0.7912 MB / 0.7898 GB, free: 6.746 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001095/1.321, allocations: 63.66 kB / 0.7899 GB, free: 6.688 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00308/1.324, allocations: 193.8 kB / 0.7901 GB, free: 6.543 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007339/1.325, allocations: 217.7 kB / 0.7903 GB, free: 6.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003277/1.326, allocations: 86.89 kB / 0.7903 GB, free: 6.332 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00513/1.331, allocations: 2.256 MB / 0.7925 GB, free: 4.453 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.1e-07/1.331, allocations: 4 kB / 0.7926 GB, free: 4.449 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005557/1.336, allocations: 1.203 MB / 0.7937 GB, free: 3.262 MB / 442.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (233): * Single equations (assignments): 224 * 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,75.0%) 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.001109/1.337, allocations: 0.5104 MB / 0.7942 GB, free: 2.863 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00857/1.346, allocations: 4.983 MB / 0.7991 GB, free: 14.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.346, allocations: 5 kB / 0.7991 GB, free: 14.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005019/1.351, allocations: 3.146 MB / 0.8022 GB, free: 11.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007162/1.358, allocations: 0.8604 MB / 0.803 GB, free: 10.71 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2276/1.586, allocations: 12.62 MB / 0.8153 GB, free: 79.37 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00334/1.589, allocations: 3.523 MB / 0.8188 GB, free: 78.55 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003393/1.593, allocations: 0.8464 MB / 0.8196 GB, free: 78.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007085/1.593, allocations: 259.5 kB / 0.8198 GB, free: 78.52 MB / 458.7 MB Notification: Performance of SimCode: time 1.052e-06/1.593, allocations: 0 / 0.8198 GB, free: 78.52 MB / 458.7 MB Notification: Performance of Templates: time 0.09376/1.687, allocations: 56.63 MB / 0.8752 GB, free: 75.99 MB / 458.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/jenkins1/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