Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002301/0.002301, allocations: 178.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 84.7 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.18e-05/2.178e-05, allocations: 4 kB / 314.8 MB, free: 9.16 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3426, allocations: 47.57 MB / 362.3 MB, free: 45.82 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2237/0.5664, allocations: 135 MB / 497.4 MB, free: 15.2 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/0.5668, allocations: 84.95 kB / 497.4 MB, free: 15.11 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7622/1.329, allocations: 129.5 MB / 0.6122 GB, free: 31.85 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.114e-06/1.329, allocations: 4 kB / 0.6122 GB, free: 31.85 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0006014/1.33, allocations: 139.8 kB / 0.6124 GB, free: 31.71 MB / 395.1 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.02211/1.352, allocations: 5.424 MB / 0.6177 GB, free: 26.21 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/1.352, allocations: 8.031 kB / 0.6177 GB, free: 26.21 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009192/1.361, allocations: 1.156 MB / 0.6188 GB, free: 25.04 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01909/1.38, allocations: 4.887 MB / 0.6236 GB, free: 20.08 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003995/1.381, allocations: 184 kB / 0.6237 GB, free: 19.9 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002265/1.383, allocations: 343.9 kB / 0.6241 GB, free: 19.56 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01743/1.4, allocations: 5.244 MB / 0.6292 GB, free: 14.32 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02356/1.424, allocations: 6.231 MB / 0.6353 GB, free: 7.91 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003726/1.425, allocations: 15.84 kB / 0.6353 GB, free: 7.895 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001993/1.427, allocations: 8 kB / 0.6353 GB, free: 7.887 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003605/1.427, allocations: 251.2 kB / 0.6355 GB, free: 7.641 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06701/1.494, allocations: 22.83 MB / 0.6578 GB, free: 180 kB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3274/1.821, allocations: 8.532 MB / 0.6662 GB, free: 49.93 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005641/1.827, allocations: 2.152 MB / 0.6683 GB, free: 49.9 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02293/1.85, allocations: 6.791 MB / 0.6749 GB, free: 48.71 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.775e-05/1.85, allocations: 56.31 kB / 0.6749 GB, free: 48.67 MB / 411.1 MB Notification: Performance of pre-optimization done (n=241): time 6.122e-06/1.85, allocations: 1.375 kB / 0.675 GB, free: 48.67 MB / 411.1 MB Notification: Performance of matching and sorting (n=292): time 0.03805/1.888, allocations: 10.3 MB / 0.685 GB, free: 47.37 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/1.888, allocations: 83.83 kB / 0.6851 GB, free: 47.3 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006963/1.895, allocations: 2.39 MB / 0.6874 GB, free: 47.06 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000693/1.896, allocations: 31.08 kB / 0.6875 GB, free: 47.03 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002489/1.899, allocations: 2.532 MB / 0.6899 GB, free: 45.99 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001558/1.9, allocations: 0.9594 MB / 0.6909 GB, free: 45.36 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003763/1.901, allocations: 0 / 0.6909 GB, free: 45.36 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0003164/1.901, allocations: 453.5 kB / 0.6913 GB, free: 45.04 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004259/1.905, allocations: 1.412 MB / 0.6927 GB, free: 45.03 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005552/1.911, allocations: 2.571 MB / 0.6952 GB, free: 43.65 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006595/1.918, allocations: 2.03 MB / 0.6972 GB, free: 43.61 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.466e-05/1.918, allocations: 10.5 kB / 0.6972 GB, free: 43.61 MB / 411.1 MB Notification: Performance of matching and sorting (n=478) (initialization): time 0.01669/1.934, allocations: 4.95 MB / 0.702 GB, free: 43.26 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.171e-05/1.935, allocations: 28.86 kB / 0.702 GB, free: 43.25 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000116/1.935, allocations: 40.09 kB / 0.7021 GB, free: 43.25 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003874/1.939, allocations: 0.8592 MB / 0.7029 GB, free: 43.2 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007004/1.946, allocations: 0.8718 MB / 0.7038 GB, free: 43.2 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0167/1.962, allocations: 9.355 MB / 0.7129 GB, free: 39.27 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00531/1.968, allocations: 168.5 kB / 0.7131 GB, free: 39.26 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009311/1.969, allocations: 168.4 kB / 0.7132 GB, free: 39.26 MB / 411.1 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.0008734/1.97, allocations: 213.2 kB / 0.7134 GB, free: 39.13 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001203/1.971, allocations: 353.8 kB / 0.7138 GB, free: 38.95 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/1.984, allocations: 4.429 MB / 0.7181 GB, free: 38.51 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.477e-05/1.984, allocations: 29.25 kB / 0.7181 GB, free: 38.51 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.433e-05/1.984, allocations: 7.344 kB / 0.7181 GB, free: 38.51 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.482e-05/1.984, allocations: 17.3 kB / 0.7181 GB, free: 38.51 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0276/2.012, allocations: 9.19 MB / 0.7271 GB, free: 34.89 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01049/2.022, allocations: 3.816 MB / 0.7308 GB, free: 33.29 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004475/2.027, allocations: 0.5135 MB / 0.7313 GB, free: 33.27 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004322/2.031, allocations: 0.9567 MB / 0.7323 GB, free: 33 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006085/2.032, allocations: 34.28 kB / 0.7323 GB, free: 32.99 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02021/2.052, allocations: 14.21 MB / 0.7462 GB, free: 22.41 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.148e-05/2.052, allocations: 10.81 kB / 0.7462 GB, free: 22.41 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01703/2.069, allocations: 6.874 MB / 0.7529 GB, free: 18.9 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003111/2.072, allocations: 0.7363 MB / 0.7536 GB, free: 18.43 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001353/2.074, allocations: 19.88 kB / 0.7536 GB, free: 18.43 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004483/2.078, allocations: 155.3 kB / 0.7538 GB, free: 18.42 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001131/2.079, allocations: 215.9 kB / 0.754 GB, free: 18.39 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003462/2.08, allocations: 83.09 kB / 0.7541 GB, free: 18.37 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.004759/2.084, allocations: 1.76 MB / 0.7558 GB, free: 17.65 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.002e-06/2.084, allocations: 0 / 0.7558 GB, free: 17.65 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.007078/2.092, allocations: 1.024 MB / 0.7568 GB, free: 17.63 MB / 411.1 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.001559/2.093, allocations: 485.5 kB / 0.7573 GB, free: 17.49 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.01085/2.104, allocations: 4.475 MB / 0.7616 GB, free: 14.82 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/2.104, allocations: 0 / 0.7616 GB, free: 14.82 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007367/2.112, allocations: 2.873 MB / 0.7644 GB, free: 12.18 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006004/2.118, allocations: 0.6009 MB / 0.765 GB, free: 11.72 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02347/2.141, allocations: 8.412 MB / 0.7732 GB, free: 4.137 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006455/2.148, allocations: 3.54 MB / 0.7767 GB, free: 1.492 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001966/2.15, allocations: 260.3 kB / 0.7769 GB, free: 1.25 MB / 411.1 MB Notification: Performance of SimCode: time 1.353e-06/2.15, allocations: 0 / 0.7769 GB, free: 1.25 MB / 411.1 MB Notification: Performance of Templates: time 0.6753/2.825, allocations: 209.1 MB / 0.9812 GB, free: 12.77 MB / 475.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches